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
Anthropic adds sandboxed in-app browser to Claude Code desktop app
Anthropic has added an in-app browser to Claude Code's desktop application. The sandboxed browser allows Claude to read, click through, and interact with documentation, designs, and local development servers, with configurable session persistence.
OpenAI Python SDK v2.45.0 Adds GPT-5.6-SOL Support
OpenAI released version 2.45.0 of its Python SDK on July 9, 2026, adding support for GPT-5.6-SOL model updates. The release also restores beta resource accessors that were previously removed.
Anthropic launches Claude apps gateway for AWS, enabling centralized control of Claude Code and Claude Desktop deploymen
Anthropic has released Claude apps gateway for AWS, a self-hosted control plane that gives enterprises centralized management of Claude Code and Claude Desktop deployments. The gateway runs as a stateless container on AWS infrastructure and handles identity through OIDC, policy enforcement, telemetry, request routing to Amazon Bedrock or Claude Platform on AWS, and per-user spend caps.
Anthropic offers K-12 teachers free year of Claude Pro with educational tools through June 2027
Anthropic launched Claude for Teachers, offering K-12 educators in the United States free access to premium Claude features for one year. The program includes Claude Cowork, Claude Code, and education-focused skills developed with Learning Commons, with applications open until June 30, 2027.
Comments
Loading...