Skip to content
Pricing

Claude Sonnet 5.5 API

Claude Sonnet 5.5 targets interactive coding, analysis and application workflows that need a balance of speed and reasoning. It supports adaptive thinking and shares the current Claude family’s text and image inputs.

MODALITIES
TextText
Available
INPUT / OUTPUT70% OFF
$0.6/ 1M
/
$3/ 1M
USD per million tokens
CACHED INPUT
$0.03/ 1M
Platform price · USD
CONTEXT WINDOW
1,000,000tokens
Max output: 128,000 tokens
Input
Sign in to choose a key from your account.
Choose a level supported by this model. Default keeps the model’s own settings; thinking also consumes output tokens.
Advanced request options are available in JSON mode.
Request preview
{
  "model": "claude-sonnet-5-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "A quiet mountain lake at sunrise, soft morning light."
    }
  ],
  "stream": true
}
Output

Your next idea starts here.

Run the model to preview your result.

API Usage Examples

API documentation ↗
POSTGet API Key ↗
curl 'https://newrouters.com/v1/messages' \
  -H "Content-Type: application/json" \
  -H "x-api-key: $MODEL_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  --data '{
  "model": "claude-sonnet-5-5",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Explain how an HTTP request works in three concise steps."
    }
  ],
  "stream": false
}'

Set MODEL_API_KEY in your server environment. Requests use this model’s native API and your account pricing.

Docs: authentication and keys · Error handling

Claude Sonnet 5.5 pricing

Estimate one request, then choose a budget for your workflow.

UsageQuantityRateCost
tokens$0.6/ 1M$0.0006
tokens$0.03/ 1M$0
tokens$0.75/ 1M$0
tokens$1.2/ 1M$0
tokens$3/ 1M$0.0015
tokens$3/ 1M$0
Cost per request$0.0021

Public USD estimate. Your account rate and final recorded usage determine the actual charge.

Model pricing details
SpecificationOur priceOfficial reference
Input$0.6 / 1M tokens$2 About 70% less than official
Cached input$0.03 / 1M tokens$0.1 About 70% less than official
Cache write · 5m$0.75 / 1M tokens$2.5 About 70% less than official
Cache write · 1h$1.2 / 1M tokens$4 About 70% less than official
Output$3 / 1M tokens$10 About 70% less than official
Reasoning$3 / 1M tokens$10 About 70% less than official

Claude Sonnet 5.5 API · Examples

Original prompts adapted to documented capabilities; these are not vendor-generated outputs.

Official source ↗ · 2026-10-15

EXAMPLE PROMPT

Find boundary errors in this TypeScript function. Provide a minimal fix and tests for nulls, repeated calls and errors. Code: [paste code]

USER MESSAGE
01

Code repair

Validate a minimal code change against explicit boundary cases.

EXAMPLE PROMPT

Design a workflow for these business rules, listing state transitions, error paths and human handoffs. First identify missing information. Rules: [paste rules]

USER MESSAGE
02

Business workflow planning

Specify states, errors and human handoffs so the plan can become application logic.

EXAMPLE PROMPT

Plan a tool-assisted workflow for this task. State the inputs for each call, when to ask for clarification, and how to verify completion: [task]

USER MESSAGE
03

Tool workflow design

Make the workflow and stopping conditions explicit.

EXAMPLE PROMPT

Review this function for empty inputs, duplicate calls and concurrency races. Propose a minimal fix and focused verification: [code]

USER MESSAGE
04

Boundary-case review

Assess a concrete implementation with checkable cases.

What Is Claude Sonnet 5.5?

Claude Sonnet 5.5 targets interactive coding, analysis and application workflows that need a balance of speed and reasoning. It supports adaptive thinking and shares the current Claude family’s text and image inputs.

Official model information ↗ · 2026-10-15

Official model specifications

Official context window1,000,000 tokens
Synchronous output limit128,000 tokens
Input / outputText and images → text
Knowledge cutoffJune 2026
Minimum cacheable prompt512 tokens
Default efforthigh
Official release2026-09-28

Choose this model

Use it for interactive development, code review, business analysis and tool-assisted application flows. Evaluate both correctness and response time with your own workload rather than relying on a generic model ranking.

Thinking and migration

The official default effort is high. The lowest thinking configuration is between_tools, which disables up-front reasoning at high effort or below. Forced tool selection is rejected, and thinking blocks belong to their original model and conversation.

Context, output and modalities

Official specifications list a 1M-token context window and 128k synchronous output. Text and image input produce text output. The 300k output option uses the vendor’s Message Batches beta and is a separate API capability; it is not the synchronous output limit advertised here.

Prompt caching

The minimum cacheable prompt is 512 tokens. Cache writes have separate 5-minute and 1-hour rates; subsequent reads use the cache-read rate. Cache eligibility does not guarantee a hit: prompt prefixes, expiration and upstream support still matter.

Native API integration

Use the public model ID with POST /v1/messages and x-api-key authentication. Streaming uses the native Claude event format. Preserve tool_use and tool_result messages for multi-turn tool calls. Query the platform contract before relying on vendor-managed tools or optional beta features.

Sampling and operational limits

Do not reuse sampling settings from older models without checking migration guidance. Prefer omitting temperature, top_p and top_k. Thinking consumes output tokens, so leave enough output budget for both reasoning and the final answer. Official capabilities are distinct from current platform availability.

Official pricing and platform discount

Standard input / output rates are USD 2 / 10 per million tokens. The 5-minute write / 1-hour write / cache-read rates are USD 2.50 / 4 / 0.10 per million tokens. The live platform table is authoritative for the published 0.3 multiplier. Batch, Fast mode, regional inference and managed tools can have separate vendor charges.

Official references

Reviewed on 2026-10-15

Claude Sonnet 5.5 Platform specifications

SpecificationClaude Sonnet 5.5
Model IDclaude-sonnet-5-5
ProviderAnthropic
API/v1/messages
Context window1,000,000 tokens
Maximum output128,000 tokens
Declared capabilitiesTools · Streaming · Reasoning · Structured output
Protocol & capability details

Protocol & capabilities

claude · claude-sonnet-5-5

Context limit
1000000
Maximum output
128000

tools · stream · reasoning · structured_output

Compare Claude Sonnet 5.5 with related models

SpecificationClaude Sonnet 5.5Claude Fable 5Claude Fable 5.1
ProviderAnthropicAnthropicAnthropic
Input → outputTextTextTextTextTextText
Selection basisCurrent modelSame claude protocol · Same billing unitsSame claude protocol · Same billing units
Context / max output1,000,000 / 128,0001,000,000 / 128,0001,000,000 / 128,000
Starting price$0.6 / 1M tokens$3 / 1M tokens$3 / 1M tokens

Choose by the input types, output settings and billing unit your workflow needs. Try the same prompt across models to compare results for your own use case.

Integrate Claude Sonnet 5.5 into your app

Keep the native request format and point your application to the platform API. Prepare a key with model access, then review status and charges in your usage records.

View API examples

Claude Sonnet 5.5 API · Common Questions

Everything you need to know about API access, pricing and model capabilities.

What is the default reasoning effort?

The default is high. Adaptive thinking settings differ from older Claude models.

Is the vendor’s batch output limit available here?

The vendor’s 300k batch beta is distinct from the synchronous Messages endpoint. Only platform-documented endpoints and limits are available here.

How is Claude Sonnet 5.5 billed?

Charges depend on the recorded token usage and your account rates. Input, output and supported cache or reasoning categories are listed separately in the pricing table. The calculator uses public USD prices; the final usage receipt determines the charge.

How do I get an API key?

Choose “Get API access” to open the integration guide. Sign in to your NewRouters account, prepare a key with access to this model and copy an API example.

Which API endpoints can I use?

Supported endpoints: /v1/messages、/v1/messages/count_tokens. Choose an endpoint in the API examples to see its native request format.

Does the model support streaming?

The current model route declares streaming support. Use the native endpoint’s streaming option and consume its events. Usage already completed may still be billed if the connection is interrupted.

Can I use tools or structured output?

Tools: supported. Structured output: supported. Request fields follow the selected native endpoint.

Where can I check usage and charges?

Keep the request ID and open your account’s LLM usage records to inspect request status, token counts and charges. Prompt and answer content are not a conversation history in this view.

Explore LLM Use Cases

All LLM models ↗

Integration topics / Documentation

All documentation ↗