Anthropic Python SDK v0.105.0 Adds Claude Opus 4-8 Support and Mid-Conversation System Blocks
Anthropic released version 0.105.0 of its Python SDK on May 28, 2026, adding support for the Claude Opus 4-8 model. The update includes mid-conversation system blocks and detailed output token usage tracking.
Claude Opus 4.8 — Quick Specs
Anthropic Python SDK v0.105.0 Adds Claude Opus 4-8 Support and Mid-Conversation System Blocks
Anthropic released version 0.105.0 of its Python SDK on May 28, 2026, adding support for the Claude Opus 4-8 model alongside two notable API enhancements.
Key Changes
The SDK now supports Claude Opus 4-8, though Anthropic has not yet disclosed specifications or pricing for this model variant. The "4-8" designation suggests a possible April 2024 snapshot or version identifier, following Anthropic's recent naming conventions.
The update introduces mid-conversation system blocks, allowing developers to inject system-level instructions at any point during a conversation rather than only at the start. This capability enables dynamic context adjustments without restarting conversations.
The API now returns usage.output_tokens_details, providing granular breakdowns of token consumption in responses. This data helps developers track costs more precisely when using models with variable pricing for different output types.
Additional Features
The SDK added support for custom file size caps, giving developers control over upload limits when processing documents or images through Claude's multimodal capabilities.
Anthropic also renamed "private-sandbox-worker" to "self-hosted-sandbox-worker" in managed agents examples, clarifying the deployment model for code execution environments.
What This Means
The Claude Opus 4-8 reference represents either a new model variant or a specific snapshot not previously available through the SDK. Anthropic's consistent release pattern suggests Opus 4 is receiving iterative updates, though the company has not confirmed whether 4-8 offers performance improvements over earlier Opus 4 versions.
Mid-conversation system blocks address a significant limitation in conversational AI development. Developers can now modify model behavior mid-session for use cases like progressive assistance or context-sensitive guardrails without conversation history loss.
The enhanced token usage details arrive as pricing transparency becomes critical for production deployments, particularly with models that charge different rates for cached versus generated tokens.
Related Articles
Vercel AI SDK Deprecates searchParameters for xAI, Adds Image Search Support
Vercel released AI SDK version 4.0.0-canary.69 with breaking changes to xAI integration. The update deprecates the searchParameters option for xAI live search, replacing it with dedicated web_search and x_search agent tools, and adds image search capability through a new enableImageSearch parameter.
Cline v3.86.0 Adds Claude Opus 4.8 and Moonshot Kimi K2.6 Support
Cline v3.86.0 adds provider support for Claude Opus 4.8, including 1M-context variants where available, and Moonshot Kimi K2.6 models. The update also fixes prompt-cache support display for Qwen 3.7 Max.
Anthropic releases Claude Opus 4.8 with 69.2% agentic coding score, 2.5x faster performance
Anthropic released Claude Opus 4.8 on May 28, 2026, six weeks after version 4.7. The model achieves 69.2% on agentic coding benchmarks (up from 64.3%), runs 2.5 times faster in fast mode at one-third the cost, while maintaining the same pricing as version 4.7.
Anthropic Python SDK v0.104.0 adds thinking token count estimates for streaming responses
Anthropic released version 0.104.0 of its Python SDK on May 21, 2026. The update adds support for a thinking-token-count beta feature that provides estimated token counts in thinking block deltas when streaming responses from reasoning models.
Comments
Loading...