Skip to navigation

Claude Sonnet 5.5

Claude Sonnet 5.5 is a balanced model by Anthropic, available through the OpenAI- and Anthropic-compatible API under the model id claude-sonnet-5-5. Input costs $1.40 and output $7 per 1M tokens. It has a 1M-token context window and up to 128k output tokens per response.

Anthropic · Claude · Balanced

UnavailableDiscount −30%

The newest Sonnet: near-flagship coding and agent work at the mid-range price.

Requests to this model fail right now: it has no working upstream. The rates below are what it will cost when it returns.

Claude Sonnet 5.5 key facts
VendorAnthropic
Model IDclaude-sonnet-5-5
Input price per 1M tokens$1.40 (regular $2.00)
Output price per 1M tokens$7.00 (regular $10.00)
Context window1M tokens
Max output128k tokens
API formatsAnthropic, OpenAI
Prices checked

Model id

claude-sonnet-5-5

Price per 1M tokens

Input
Regular rate $2.00now $1.40
Output
Regular rate $10.00now $7.00
Cached input
$0.1093% below input

30% below the market rate.

Output is 5× the input rate. $1 covers about 204 prompts of 1,000 input + 500 output tokens. 1 credit = $1 of usage. All rates

Start using Claude Sonnet 5.5

Set ONEAIAPIKEY_API_KEY to a key from your console, then run any example. Streaming is on so long answers are not cut off by idle-connection timeouts.

curl https://api.oneaiapikey.com/v1/chat/completions \
  -H "Authorization: Bearer $ONEAIAPIKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5-5",
    "stream": true,
    "messages": [{"role": "user", "content": "Make the failing test in checkout.test.ts pass without changing the test."}]
  }'
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oneaiapikey.com/v1",
    api_key=os.environ["ONEAIAPIKEY_API_KEY"],
)

stream = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Make the failing test in checkout.test.ts pass without changing the test."}],
    stream=True,  # recommended for long outputs
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.oneaiapikey.com/v1",
  apiKey: process.env.ONEAIAPIKEY_API_KEY,
});

const stream = await client.chat.completions.create({
  model: "claude-sonnet-5-5",
  messages: [{ role: "user", content: "Make the failing test in checkout.test.ts pass without changing the test." }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
import os
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.oneaiapikey.com",
    api_key=os.environ["ONEAIAPIKEY_API_KEY"],
)

with client.messages.stream(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Make the failing test in checkout.test.ts pass without changing the test."}],
) as stream:
    for text in stream.text_stream:
        print(text, end="", flush=True)
# macOS / Linux
export ANTHROPIC_BASE_URL="https://api.oneaiapikey.com"
export ANTHROPIC_AUTH_TOKEN="$ONEAIAPIKEY_API_KEY"
export ANTHROPIC_MODEL="claude-sonnet-5-5"
claude

# Windows PowerShell
$env:ANTHROPIC_BASE_URL = "https://api.oneaiapikey.com"
$env:ANTHROPIC_AUTH_TOKEN = $env:ONEAIAPIKEY_API_KEY
$env:ANTHROPIC_MODEL = "claude-sonnet-5-5"
claude

More: quickstart · API reference · try it in Chat first

Benchmarks reported by the vendor

Scores for Claude Sonnet 5.5 as its maker published them, with the setting they state. We have not re-run them. Versions and settings differ between vendors, so compare only identical benchmark names; compare models side by side.

Tokens per day, by model

Last 7 days, UTC days

Hover, tap or drag across any day, or focus the chart and use the arrow keys, to see how every model did that day.

Real tokens served through this gateway, updated every 30 minutes. Ranked by usage, not quality.

Full ranking insights

Claude line-up

Claude Sonnet 5.5 or Claude Sonnet 5 or Claude Haiku 4.5?

Of the 6 Claude models on this site, Claude Sonnet 5 is the step up from Claude Sonnet 5.5 and Claude Haiku 4.5 the step down. Each comparison lists the published rates and limits, then what favours each side.

Claude Sonnet 5.5vsClaude Sonnet 5

Per 1M tokensClaude Sonnet 5.5Claude Sonnet 5
Input$1.4030% less$2
Output$730% less$10
Cached input$0.1050% less$0.20
Context1Mthe same1M
Max output128kthe same128k

Pick Claude Sonnet 5.5 when

  • cost per request decides it: Claude Sonnet 5.5 charges input 30% less and output 30% less than Claude Sonnet 5.
  • the work is coding agents, which this catalogue lists for Claude Sonnet 5.5 and not for Claude Sonnet 5.

Pick Claude Sonnet 5 instead when

  • your workload looks like writing, a label the catalogue gives Claude Sonnet 5 only.

Claude Sonnet 5.5vsClaude Haiku 4.5

Per 1M tokensClaude Sonnet 5.5Claude Haiku 4.5
Input$1.4040% more$1
Output$740% more$5
Cached input$0.10the same$0.10
Context1M5× larger200k
Max output128k2× more64k

Pick Claude Sonnet 5.5 when

  • the task needs a higher tier: this catalogue places Claude Sonnet 5.5 in the balanced tier and Claude Haiku 4.5 in the fast tier.
  • prompts run past 200k tokens: Claude Sonnet 5.5 reads up to 1M.
  • one answer must be longer than 64k tokens (its limit is 128k).
  • the work is daily coding, coding agents and code review, which this catalogue lists for Claude Sonnet 5.5 and not for Claude Haiku 4.5.

Pick Claude Haiku 4.5 instead when

  • the job runs well enough on the lower rates: input at 29% less and output at 29% less.
  • your workload looks like sub-agents, extraction and chat, labels the catalogue gives Claude Haiku 4.5 only.

Use cases

What Claude Sonnet 5.5 is listed for, and what it costs

The catalogue lists Claude Sonnet 5.5 for daily coding, coding agents and code review. Each row prices one typical request at the published rates, with the arithmetic shown. The market-rate figure shows the same request at the lowest public price elsewhere. Token counts are examples; your prompts will differ.

Model your own traffic

  1. Daily coding

    A bug fix or small feature: 12,000 tokens of the relevant files in, a patch of about 1,500 tokens out.

    A good default for feature work, bug fixes and explaining unfamiliar code.

    “Fix the off-by-one error in paginate() and add a test for the last page.”

    Same request on Claude Sonnet 5 $0.039 and Claude Haiku 4.5 $0.0195. No other balanced-tier Claude model on this site does this job for less.

    $0.0273

    per change, about 366 per $10

    $0.039 at the market rate

    0.012 × $1.40 + 0.0015 × $7

  2. Coding agents

    One step of an agent loop that edits files and runs tests: 40,000 tokens of context, 34,000 of them cached, and 2,500 tokens out.

    Works well as the main model in an agent loop that edits files and runs tests.

    “Make the failing test in checkout.test.ts pass without changing the test.”

    Same request on Claude Sonnet 5 $0.0438 and Claude Haiku 4.5 $0.0219. No other balanced-tier Claude model on this site does this job for less.

    $0.0293

    per agent step, about 341 per $10

    $0.0404 at the market rate

    0.006 × $1.40 + 0.034 × $0.10 + 0.0025 × $7

  3. Code review

    A pull request diff with the code around it: 20,000 tokens in, 1,200 tokens of review comments out.

    Paste a diff and ask for risks, missing tests and edge cases.

    “Review this diff for bugs, missing tests and unclear names. List each issue with its line.”

    Same request on Claude Sonnet 5 $0.052 and Claude Haiku 4.5 $0.026. No other balanced-tier Claude model on this site does this job for less.

    $0.0364

    per review, about 274 per $10

    $0.052 at the market rate

    0.02 × $1.40 + 0.0012 × $7

Overview

When Claude Sonnet 5.5 fits

Claude Sonnet 5.5 is a balanced model from Anthropic, available here under the exact model id “claude-sonnet-5-5”. In the Claude line-up here it sits between Claude Sonnet 5 and Claude Haiku 4.5. Anthropic has not published a release date we can cite; it has been available here since 8 Oct 2026.

Anthropic documents tools, vision, reasoning, structured output and prompt caching for it, and it reads images as well as text.

It costs $1.40 per million input tokens and $7 per million output tokens, so output is 5× the input rate. That is 30% below the market rate of $2 input and $10 output per million tokens, the lowest public price we found at other API gateways. On the use cases below, output makes up 38% of the bill for daily coding, 60% for coding agents and 23% for code review, so trimming the context you send saves more than capping the answer.

Cached input bills at $0.10 per million tokens, 93% below the standard input rate. In the coding agents example, 34k of the 40k input tokens come from cache, which brings one agent step from $0.0735 down to $0.0293.

You can call it through the OpenAI format at https://api.oneaiapikey.com/v1 or the native Anthropic Messages format at https://api.oneaiapikey.com/v1/messages. That makes it usable in Claude Code as well as OpenAI-compatible tools such as Codex CLI, Cursor and Cline.

Use Claude Sonnet 5.5 with any balance.

Claude Sonnet 5.5 is a paid model: any balance above $0 pays for it, the $10.00 sign-up credit included. When it runs out, add credit to your wallet. Every request is billed at the rates above, with a receipt in your usage log.

Claude Sonnet 5.5 is developed by Anthropic. Model names and trademarks belong to their owners. One AI API Key is an independent API gateway and is not affiliated with, endorsed by or sponsored by Anthropic.

New accounts$10 credit on sign-up
Claim $10 credit →