Anthropic: Claude Sonnet 4.6
Chatanthropic/claude-sonnet-4.6Sonnet 4.6 is Anthropic's most capable Sonnet-class model yet, with frontier performance across coding, agents, and professional work. It excels at iterative development, complex codebase navigation, end-to-end project management with memory, polished document creation, and confident computer use for web QA and workflow automation.
1M context window
128K max output tokens
Released: 2026-02-17
Supported Protocols:openaianthropic
Available Providers:Bedrock
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF Input
Providers
Bedrock
Input Tokens
$3/M
Output Tokens
$15/M
Cache Read
$0.3/M
Cache Write (5 min)
$3.75/M
Cache Write (1 hour)
$6/M
Web Search
$0.015/R
Protocols
openai
/v1/chat/completions/v1/responsesanthropic
Code Examples
import anthropicclient = anthropic.Anthropic(base_url="https://api.ofox.ai/anthropic",api_key="YOUR_OFOX_API_KEY",)message = client.messages.create(model="anthropic/claude-sonnet-4.6",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
Related Models
Frequently Asked Questions
Anthropic: Claude Sonnet 4.6 on Ofox.ai costs $3/M per million input tokens and $15/M per million output tokens. Pay-as-you-go, no monthly fees.
Anthropic: Claude Sonnet 4.6 supports a context window of 1M tokens with max output of 128K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Anthropic: Claude Sonnet 4.6 supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, PDF Input. Access all features through the Ofox.ai unified API.