
Claude Sonnet 5.5 API
claude-sonnet-5-5Claude Sonnet 5.5 is Anthropic's September 2026 Sonnet: over 30% faster output than Sonnet 5 and 70.6% on Terminal-Bench 4.0, per Anthropic, with 1M context and 128K output. Opus 5.5 stays stronger on long open-ended work, and forced tool use returns an error. Call claude-sonnet-5-5 at $1.20 / $6 per 1M tokens.
API Documentation
View complete API reference with all parameters and examples.
Advanced Features
Streaming
Enable real-time streaming responses with Server-Sent Events.
{
"model": "claude-sonnet-5-5",
"stream": true,
"max_tokens": 1024,
"messages": [...]
}Function Calling (Tools)
Enable Claude to use tools and call functions.
{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"tools": [{
"name": "get_weather",
"description": "Get current weather for a location",
"input_schema": {
"type": "object",
"properties": {
"location": {"type": "string", "description": "City name"}
},
"required": ["location"]
}
}],
"tool_choice": {"type": "auto"},
"messages": [{"role": "user", "content": "What's the weather in Tokyo?"}]
}PDF Support
Analyze PDF documents by sending them as base64 encoded content.
{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"messages": [{
"role": "user",
"content": [{
"type": "document",
"source": {
"type": "base64",
"media_type": "application/pdf",
"data": "<base64_encoded_pdf>"
}
}, {
"type": "text",
"text": "Summarize this document."
}]
}]
}Structured Output (JSON Schema)
Get structured JSON responses that match your schema.
{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"output_format": {
"type": "json_schema",
"schema": {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer"}
},
"required": ["name", "age"]
}
},
"messages": [{"role": "user", "content": "Extract info: John is 30 years old"}]
}Web Search
Enable Claude to search the web for up-to-date information.
{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"tools": [{
"type": "web_search_20250305",
"name": "web_search",
"max_uses": 5
}],
"messages": [{"role": "user", "content": "What's the latest news about AI?"}]
}API Parameters Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g., claude-sonnet-5-5) |
| messages | array | Yes | Array of message objects with role and content |
| max_tokens | integer | Yes | Maximum tokens in the response (1 - 128000) |
| system | string | No | System prompt to set context |
| stream | boolean | No | Enable streaming responses (SSE) |
| temperature | number | No | Sampling temperature (0.0 - 1.0) |
| top_p | number | No | Nucleus sampling threshold (0.0 - 1.0) |
| top_k | integer | No | Top-k sampling (0 - infinity) |
| stop_sequences | array | No | Sequences that stop generation |
| tools | array | No | Function calling tools definition |
| tool_choice | object | No | Tool selection strategy (auto/any/tool) |
| thinking | object | No | Enable extended thinking mode |
| output_format | object | No | Structured output with JSON schema |
Full API Documentation
View complete API reference with streaming, thinking, and more.
Pricing
Billing: Cost = (input_tokens * input_price + output_tokens * output_price) / 1,000,000
40% Below Official
$1.20 / $6.00 per 1M tokens against Anthropic's $2 / $10 list; cache reads $0.12, writes $1.50
30%+ Faster Than Sonnet 5
Anthropic: its fastest Sonnet yet, and up to 30% less per task through fewer tokens and tool calls
Agentic Coding Leap
Anthropic: Terminal-Bench 4.0 70.6% (Sonnet 5: 10.3%), CursorBench 4.0 55.5% (Sonnet 5: 34.1%)
Near-Opus Knowledge Work
GDPval-AA 1844 against Opus 5.5 at 1846; OSWorld 2.1 computer use 80.1% (Sonnet 5: 57.0%)
1M Context, 128K Output
Text and image input; knowledge cutoff June 2026; same tokenizer as Sonnet 5
Adaptive Thinking, Default High
Lowest setting is between_tools (disabled now errors); forced tool use returns an error
About Claude Sonnet 5.5
Claude Sonnet 5.5 is a Large Language Model API provided by Anthropic. Claude Sonnet 5.5 is the second model in Anthropic's Claude 5.5 family, released on 28 September 2026, and on APIMODELS it costs $1.20 per 1M input tokens and $6.00 per 1M output — 40% below Anthropic's $2 / $10 list — with prompt-cache reads at $0.12 and cache writes at $1.50. Anthropic calls it its best combination of speed and intelligence and positions it as the faster, lower-cost complement to Claude Opus 5.5: strongest at well-scoped everyday tasks, fixing bugs, and creating polished documents, slides and spreadsheets, with a sharp eye for design. What is new against Sonnet 5, per Anthropic: output more than 30% faster (its fastest Sonnet to date); up to 30% lower cost per task because it needs far fewer tokens and tool calls; Terminal-Bench 4.0 up from 10.3% to 70.6% and CursorBench 4.0 from 34.1% to 55.5%; GDPval-AA knowledge work at 1844, two points below Opus 5.5; OSWorld 2.1 computer use at 80.1% against 57.0%; clearer writing; and it is the first Sonnet to beat Pokémon Red from screenshots alone. Anthropic is also direct that Opus 5.5 stays clearly stronger at complex, open-ended work that needs sustained judgment. Specifications: a 1M-token context window, 128K max output, text and image input, and a reliable knowledge cutoff of June 2026; the tokenizer is the same as Sonnet 5's and the minimum cacheable prompt drops to 512 tokens. Adaptive thinking is on by default with effort defaulting to high; thinking can no longer be sent as disabled — the lowest setting is between_tools, which turns off up-front thinking. Other breaking changes from Sonnet 5: forced tool use (tool_choice any or a named tool) returns an error, a non-default temperature, top_p or top_k returns an error, thinking blocks are tied to the model and the conversation, and the older computer_20251124 tool is not accepted. Call it through /v1/messages or the OpenAI-compatible /v1/chat/completions with one key; failed requests are not charged. Through APIMODELS platform, you can access this model via a unified API with transparent pay-as-you-go pricing. Current pricing: Input: $1.20, Output: $6.00 per 1M tokens.
Key Features
- 40% Below Official -- $1.20 / $6.00 per 1M tokens against Anthropic's $2 / $10 list; cache reads $0.12, writes $1.50
- 30%+ Faster Than Sonnet 5 -- Anthropic: its fastest Sonnet yet, and up to 30% less per task through fewer tokens and tool calls
- Agentic Coding Leap -- Anthropic: Terminal-Bench 4.0 70.6% (Sonnet 5: 10.3%), CursorBench 4.0 55.5% (Sonnet 5: 34.1%)
- Near-Opus Knowledge Work -- GDPval-AA 1844 against Opus 5.5 at 1846; OSWorld 2.1 computer use 80.1% (Sonnet 5: 57.0%)
- 1M Context, 128K Output -- Text and image input; knowledge cutoff June 2026; same tokenizer as Sonnet 5
- Adaptive Thinking, Default High -- Lowest setting is between_tools (disabled now errors); forced tool use returns an error
Use Cases
Chatbot & Customer Support
Build intelligent conversational systems to automatically answer user queries and improve service efficiency.
Content Generation
Automatically write articles, emails, ad copy, and other text content to boost productivity.
Code Assistant
Assist with code writing, debugging, and code review to accelerate software development.
Data Analysis
Understand and analyze unstructured data, extract key insights, and generate summary reports.
Why APIMODELS
- Unified API -- One API key to access all models, no need to register on multiple platforms
- Transparent Pricing -- Pay-as-you-go with per-call pricing published on every model page, ideal for indie developers and startups
- Instant Access -- Start right after signup; pay by card, PayPal, Alipay or USDT
- Full Documentation -- Detailed API docs with code examples in cURL, Python, and Node.js
Frequently Asked Questions
What is the difference between APIMODELS and the official Anthropic API?
APIMODELS offers the same Claude Sonnet 5.5 model through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
What does Claude Sonnet 5.5 cost on apimodels, and how much more affordable is it than official?
$1.20 per 1M input tokens and $6.00 per 1M output, with cache reads at $0.12 and cache writes at $1.50. Anthropic lists $2 / $10, cache reads at $0.20 and 5-minute cache writes at $2.50, so all four rates are 40% below. Billing is per actual token, failed requests are free, and there is no monthly minimum. We do not offer a Batch endpoint.
What is new in Sonnet 5.5 compared with Sonnet 5?
Per Anthropic: output more than 30% faster, making it the fastest Sonnet to date; far fewer tokens and tool calls for the same work, so up to 30% lower cost per task; a big jump in agentic coding, with Terminal-Bench 4.0 going from 10.3% to 70.6% and CursorBench 4.0 from 34.1% to 55.5%; GDPval-AA knowledge work at 1844, two points below Opus 5.5; OSWorld 2.1 computer use from 57.0% to 80.1%; and clearer writing, with documents, slides and spreadsheets called out as strengths. The 1M context and 128K output are unchanged, the tokenizer is the same, and the minimum cacheable prompt drops from 1,024 to 512 tokens.
How do I call it, and is the OpenAI format supported?
Both work: the native Anthropic POST https://api.apimodels.app/v1/messages, or the OpenAI-compatible /v1/chat/completions, with model claude-sonnet-5-5 and Authorization: Bearer your apimodels key. Streaming, tool calling and image input are supported; Claude Code and the Anthropic SDK only need the base URL changed to https://api.apimodels.app and your apimodels key. Coming from Sonnet 5, change the model name to claude-sonnet-5-5.
How do I choose between Sonnet 5.5, Sonnet 5 and Opus 5.5?
Here Sonnet 5.5 is $1.20 / $6.00, Sonnet 5 is $1.60 / $8.00 and Opus 5.5 is $2.40 / $12.00. Sonnet 5.5 is below Sonnet 5 on both input and output, and faster with fewer tokens per task, so there is little reason to start new work on Sonnet 5; the one exception is very cache-heavy traffic, where Sonnet 5 cache reads at $0.10 and writes at $1.40 are slightly under Sonnet 5.5 at $0.12 / $1.50. Opus 5.5 costs twice as much, and Anthropic says it remains clearly stronger at complex, open-ended work that needs sustained judgment; for well-scoped coding, bug fixes and office documents, Sonnet 5.5 is enough.
How is prompt caching billed?
Mark the prefix with Anthropic's cache_control as usual. Writing to the cache bills at $1.50 per 1M tokens, and later hits bill at $0.12, a tenth of the $1.20 input price; anything not cached bills at the normal input rate. The minimum cacheable prompt on Sonnet 5.5 is 512 tokens, so shorter prefixes are not cached. In our test, three calls with the same prefix produced one write and two hits. Claude Code sets the cache markers for you.
Which specs and parameter limits should I know about?
A 1M-token context window, up to 128K output tokens per call, text and image input, and a knowledge cutoff of June 2026. Anthropic's rules for Sonnet 5.5: adaptive thinking is on by default with effort defaulting to high, and thinking can no longer be sent as disabled (that returns a 400) — the lowest setting is between_tools; tool_choice any or a named tool returns an error, so use auto or none; a non-default temperature, top_p or top_k returns an error, so leave them unset; and thinking blocks are tied to the model and the conversation, so replaying an old thinking block after editing earlier messages can fail — keep conversations append-only.
What can Claude Sonnet 5.5 do?
Claude Sonnet 5.5 supports: 40% Below Official, 30%+ Faster, 1M Context, Agentic Coding. See the APIMODELS docs for full parameters and call examples.
Can I use the Claude Sonnet 5.5 API from any country, including mainland China?
Yes. APIMODELS does not restrict access by country: the site and the API answer requests from anywhere, and apimodels.app and api.apimodels.app are reachable directly from mainland China without a proxy. You call Claude Sonnet 5.5 with one APIMODELS key, so you do not need a separate account with the model's developer.
What payment methods are supported? Can I pay with PayPal or crypto?
Yes to both. You can top up with a card (Visa, Mastercard and others, through Stripe), PayPal, Alipay, or USDT on TRON (TRC20) or BNB Smart Chain (BEP20). Card, PayPal and Alipay top-ups are credited immediately; USDT is credited once the transfer confirms on-chain. Auto top-up is optional, and a $50 top-up adds a $1 bonus ($3 on a $100 top-up). The balance is in USD and billed per use, with no subscription.
Related models
Related reading
How to get access, regional availability, and how this model compares with its alternatives.
- Pay for AI APIs With Alipay: Claude, GPT, Gemini and DeepSeek Without a Foreign Card
- Claude API Pricing, Compared (2026) — Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5
- Claude Opus 5.5 vs Sonnet 5.5 (and Sonnet 5): Benchmarks, Price and Which to Use
- Claude Code + Three.js: Build 3D Scenes and Games, Then Export Them to Video
- Blender Python with Claude Code: Model, Animate and Render From the Command Line
- Claude Sonnet 5.5 Pricing: $2 / $10 per Million Tokens, Cache Prices and Real Cost per Task (2026)