Claude Sonnet 5.5 API
AnthropicText, 1M context, answers up to 64K tokens
Fast enough for chat and products, strong enough for code and analysis. 1M tokens of context, OpenAI's chat format, pay per token.
- Input$1
$2−50% - Output$5
$10−50%
- A question500 tokens in, 300 out$0.002
$0.004 - A long chat10K in, 1K out$0.015
$0.03 - A document100K in, 2K out$0.11
$0.22 - A month of a busy bot50M in, 10M out$100.00
$200.00
Official: Anthropic's price for Claude Sonnet 5.5, Claude API pricing, checked on Nov 14, 2026.
API
Call Claude Sonnet 5.5 in code.OpenAI's format: change the base URL and the key.
POST /v1/chat/completions
- model
claude-sonnet-5.5- messages
- The conversation: system, user and assistant turns, as in OpenAI's API. Text and images in user turns.
- max_tokens
- The longest answer, up to 64,000 tokens. 8,192 when not set.
- stream
- true for server-sent events as the answer is written.
- …
- temperature, tools, response_format and the rest go to the model as they are.
curl https://api.tikiapi.com/v1/chat/completions -H "Authorization: Bearer $TIKIAPI_KEY" -H "Content-Type: application/json" -d '{
"model": "claude-sonnet-5.5",
"messages": [
{
"role": "user",
"content": "Summarize this support ticket in two sentences and suggest a reply: My order arrived late and the box was damaged."
}
],
"max_tokens": 1024
}'Overview
What Claude Sonnet 5.5 is good at.Anthropic's best mix of speed and intelligence.
Quick answers
Low latency for chat and live features.
Strong at code
Writes, reviews and explains code well.
1M-token context
Long chats and big documents in one call.
Pay per token
Input and output priced per million. No plan.
Use cases
Assistants
Chat in your app that answers well and fast.
Code review
Comments on pull requests and fixes.
Summaries
Calls, tickets and documents boiled down.
Apps and automation
Claude inside your product, bot or pipeline.
FAQ
Claude Sonnet 5.5 API questions
Something else? Read the docs
How much does the Claude Sonnet 5.5 API cost?
$1 per million input tokens and $5 per million output tokens. A question of 500 tokens with a 300-token answer costs $0.002. No subscription, nothing upfront.
Does it work with the OpenAI SDK?
Yes. Point the SDK at https://api.tikiapi.com/v1, use your TikiAPI key and the model id claude-sonnet-5.5. The request and the answer have OpenAI's chat completions format, streaming included.
How long can an answer be?
Up to 64,000 tokens, set with max_tokens. Without it the answer is capped at 8,192 tokens.
What if a call fails?
It costs nothing. You pay for the tokens of an answer you get, never for an error.
Other text models.
Anthropic · Text
Claude Opus 5.5
Anthropic's model for long-running agentic coding and knowledge work.
$2 in · $10 outper 1M tokens · 1M context
Anthropic · Text
Claude Haiku 5.5
Anthropic's fast model for high-volume work.
$0.05 in · $0.25 outper 1M tokens · 1M context
Anthropic · Text
Claude Fable 5.2
Anthropic's model for demanding reasoning and long-horizon agentic work.
$4 in · $20 outper 1M tokens · 1M context
OpenAI · Text
GPT-6.1 Sol
OpenAI's near-Astra model for complex work at a lower cost.
$1 in · $5 outper 1M tokens · 1.05M context
OpenAI · Text
GPT-6 Astra
OpenAI's most capable model for the most demanding work.
$5 in · $25 outper 1M tokens · 1.05M context
Google · Text
Gemini 3.8 Flash
Google's most capable Flash model, built for agents and long software tasks.
$0.40 in · $2 outper 1M tokens · 1M context
Google · Text
Gemini 4 Argon
Google's efficient Gemini 4 reasoning model for code, agents, math and science.
$1 in · $5 outper 1M tokens · 1M context
Moonshot AI · Text
Kimi K3.1 Pro
Moonshot AI's flagship for long-horizon coding and knowledge work.
$1.65 in · $8.25 outper 1M tokens · 1M context
