Anthropic model on Crazyrouter
All Anthropic models →

Claude Sonnet 5.5 API pricing and integration

Claude Sonnet 5.5 through Anthropic Messages or OpenAI-compatible Chat Completions. Compare standard token rates, cache reads and both cache-write durations before connecting your application.

Use this model via API

This model is available through the paid API. Create an account, add funds and create an API key. The $2 Playground credit is for supported text models only, not API calls.

Sign up for API access
Anthropic nativeReasoningCodingVision
Get API KeyView live pricing

Paste the model ID, live price, base URL and a working request straight into your coding agent.

Anthropic
claude-sonnet-5-5
Input / 1M tokens$2.00$2.00
Output / 1M tokens$10$10
Cached input / 1M tokens$0.100$0.200
Model ID
claude-sonnet-5-5
Provider
Anthropic
Endpoint
/v1/chat/completions
Task
chat
Context window
1M tokens
Input modalities
Text, image
Output modalities
Text

What is Claude Sonnet 5.5?

Use the exact model ID claude-sonnet-5-5. Crazyrouter exposes both /v1/messages and /v1/chat/completions for this model. The current standard schedule bills input, output, cache reads, cache writes and one-hour cache writes separately; the table below shows each rate. Sonnet 5 and Sonnet 4.6 remain separate model IDs, so test your existing prompts and tool schemas before switching.

Drop-in OpenAI compatibility

Works with the OpenAI SDKs, LangChain, Cursor, Cline and any tool that accepts a custom base URL.

Streaming and tool use

Streaming, tools and structured output depend on the model and upstream channel. Check the required feature on your channel before production use.

Live usage pricing

The rates come from Crazyrouter's billing table; discounts vary by model.

One account for every model

Compare against Claude, GPT, Gemini, DeepSeek and more without juggling vendor accounts.

Claude Sonnet 5.5 API quickstart

Point your OpenAI SDK at https://api.crazyrouter.com/v1 and set the model to claude-sonnet-5-5. If your client speaks Anthropic Messages natively, use the second example instead.

cURL
curl https://api.crazyrouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
  -d '{
    "model": "claude-sonnet-5-5",
    "messages": [{"role": "user", "content": "Explain the tradeoffs of this architecture decision."}],
    "stream": true
  }'
Show OpenAI-compatible migration example
cURL
curl https://api.crazyrouter.com/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: $CRAZYROUTER_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-sonnet-5-5",
    "max_tokens": 2048,
    "messages": [{"role": "user", "content": "Explain the tradeoffs of this architecture decision."}],
    "stream": true
  }'

Choose Messages or Chat Completions deliberately

The public gateway catalogue lists Anthropic Messages and Chat Completions for claude-sonnet-5-5. Their request shapes differ: Messages requires max_tokens and uses Anthropic headers, while the example below uses Chat Completions. Keep Sonnet 5 and Sonnet 4.6 as separate model IDs during migration; compare tool arguments and stopping conditions on your own workload.

Suggested evaluation request

This request is a reproducible starting point, not a recorded model output or benchmark. API calls require a funded balance. Check errors, output fields and usage on your own account.

cURL
curl https://api.crazyrouter.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $CRAZYROUTER_API_KEY" \
  --data-binary '{
  "model": "claude-sonnet-5-5",
  "messages": [
    {
      "role": "user",
      "content": "Review this proposed change: retry a payment POST request three times after a timeout. Identify the duplicate-charge risk and propose an idempotency-key strategy. Do not assume that a timeout means the first attempt failed."
    }
  ]
}'

Source and scope

Gateway catalogue and billing schedule, reviewed 2026-10-11. This confirms published configuration, not end-to-end feature tests or vendor release claims.

claude-sonnet-5-5: provider price comparison

Input (dark) / output (light), USD per 1M tokens. Listed providers do not identify Crazyrouter upstream routes.

Comparison snapshot from LiteLLM and manually maintained entries; collection date is not independent vendor verification. No cache hits assumed in these estimates. Pricing sources

Reference$2.00 / $10Azure$2.00 / $10Bedrock$2.00 / $10Vertex AI$2.00 / $10Crazyrouter$2.00 / $10

Estimated workload costs

Chatbot · per month
$460
100k conversations × 800 input / 300 output tokens
Documents · per 1k documents
$31
8k input / 1.5k output tokens each
Coding · per developer / month
$8.00
2M input / 400k output tokens

Best use cases

Coding assistants and agent loops with tool calls
Long-document analysis, summarisation and extraction
Customer-facing chat with streaming responses
Evaluation and A/B tests across model vendors
Batch classification, tagging and structured extraction
Technical writing, design docs and code review

Works with developer tools

OpenAI SDKs

Set base_url to https://api.crazyrouter.com/v1 and model to claude-sonnet-5-5.

Cursor, Cline, Continue

Add Crazyrouter as a custom OpenAI-compatible provider and pick the model from the list.

LangChain / LlamaIndex

Use the OpenAI chat model class with the Crazyrouter base URL.

Claude Code / Codex CLI

CLI compatibility requires the native protocol and a supported model/channel. Follow the integration guide and verify compatibility before use.

Claude Sonnet 5.5 FAQ

What base URL do I use for Claude Sonnet 5.5?

https://api.crazyrouter.com/v1. Chat completions go to /v1/chat/completions; native Anthropic Messages requests use their usual path.

How is usage billed?

Per token, at the input/output rates shown on this page. Your balance is debited per request; there is no subscription.

Does it support streaming and function calling?

Support varies by model and upstream channel. The request example is a starting point; verify streaming, tools and structured output separately before production use.

Can I switch to another model later?

Change the model string. The same key works for every model in the Crazyrouter catalogue.

Where do I see the current price?

The pricing page lists live rates for every model, including group discounts if you are logged in.