Anthropic: Claude Sonnet 4.5
Chatanthropic/claude-sonnet-4.5Anthropic's balanced model with state-of-the-art performance on SWE-bench Verified. Ideal for coding, analysis, and general-purpose tasks with excellent cost-performance ratio.
1M context window
64K max output tokens
Released: 2025-09-29
Supported Protocols:openaianthropic
Available Providers:Bedrock
Capabilities:VisionFunction CallingReasoningPrompt CachingPDF Input
Pricing
| Type | Price |
|---|---|
| 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 |
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.5",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
Related Models
Frequently Asked Questions
Anthropic: Claude Sonnet 4.5 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.5 supports a context window of 1M tokens with max output of 64K 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.5 supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, PDF Input. Access all features through the Ofox.ai unified API.