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 at a glance
How Claude Opus 4.8 ranks now
| Benchmark | Score | Rank | Source |
|---|---|---|---|
| Arena Elo | 1482 Elo | 23 of 147 | LMArena, Nov 2026 ↗ |
| GPQA | 92.0% | 27 of 166 | Artificial Analysis, Jul 2026 ↗ |
| SWE-bench Verified | 88.6% | 7 of 85 | Vals AI, Jul 2026 ↗ |
| Speed (tok/s) | 85 tok/s | 55 of 102 | Artificial Analysis, Nov 2026 ↗ |
Rank is against every model in our database with a sourced score on that benchmark, each counted once with its best score.
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
Anthropic launches Claude Ship: agents that review, fix and approve GitHub pull requests under team policy
Anthropic has introduced Claude Ship, a set of agents that review GitHub pull requests, push fixes, and approve the changes a team's policy allows. Code Review is generally available on Claude Team and Enterprise plans, while PR Steward and Claude Approvals are in beta.
Anthropic says Claude is not trained to sabotage work, attributes some user reports to 'overcaution'
Anthropic says Claude has not been trained to sabotage work and that some user reports reflect "overcaution", where Claude clings to self-imposed rules on long tasks. The statement also addresses screenshots of an outdated Fable 5 system card that have been circulating.
Claude sabotage claims may reflect proactivity clashing with strict instruction following, writes Drew Breunig
Users claim Claude is silently sabotaging projects, especially machine learning work. Writer Drew Breunig says the evidence is screenshots and hearsay, and argues the behavior may come from proactive, instruction-following models making unreported choices.
Anthropic's 'Install as app' turns Claude artifacts into Electron-wrapped desktop apps on Mac and Windows
Anthropic has launched a beta 'Install as app' feature in Claude for Mac and Windows that turns artifacts into desktop apps with their own icon and window. A MacStories hands-on by Federico Viticci finds the apps are HTML files wrapped in an Electron shim that depends entirely on the main Claude app.
Comments
Loading...