Models / Anthropic

Claude Sonnet 5.5 API pricing

$1.20 in, $3.00 out per million tokens, 40% under Anthropic's list price on input and 70% on output.

claude-sonnet-5-5managed routeAnthropic SDKOpenAI SDK

Price · per million tokens, USD

TokensAnthropic list priceUplinkSwitchSaving
Input$2.00$1.20-40%
Cached input$0.10$0.075-25%
Output$10.00$3.00-70%
List price: Anthropic's published rate, read October 2026. Same price on every host.

Claude Sonnet 5.5 specs

Context window
1,000,000 tokens
Max output
128,000 tokens
Input
text and image
Released
September 28, 2026

Claude Sonnet 5.5 API · base URL and key

Python · Anthropic SDK
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(message.content[0].text)
TypeScript · Anthropic SDK
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const message = await client.messages.create({
  model: 'claude-sonnet-5-5',
  max_tokens: 1024,
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(message.content[0]);
Claude Code
export ANTHROPIC_BASE_URL="https://api.uplinkswitch.com/v1"
export ANTHROPIC_AUTH_TOKEN="sk-uplink-live-..."
export ANTHROPIC_MODEL="claude-sonnet-5-5"
claude
Python · OpenAI SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
TypeScript · OpenAI SDK
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'claude-sonnet-5-5',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
curl
curl https://api.uplinkswitch.com/v1/messages \
  -H "x-api-key: sk-uplink-live-..." \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-sonnet-5-5","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'

What would it cost? · paste a prompt, priced before you send it

Input is counted at about 4 characters per token.

Cheapest first. A real request is billed on the provider's own token count. Same estimate as JSON: POST https://api.uplinkswitch.com/v1/estimate, no key needed.

Claude Sonnet 5.5 questions

How much does the Claude Sonnet 5.5 API cost?
$1.20 per million input tokens and $3.00 per million output tokens, with cached input at $0.075. Anthropic's list price is $2.00 and $10.00, so this is 40% under Anthropic's list price on input and 70% on output.
Is Claude Sonnet 5.5 free?
It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0027.
What is the Claude Sonnet 5.5 context window?
Claude Sonnet 5.5 has a 1,000,000-token context window, with up to 128,000 output tokens per request. It takes text and image input.
What is the Claude Sonnet 5.5 model id?
claude-sonnet-5-5. Send it as the model through the Anthropic SDK or OpenAI SDK with base URL https://api.uplinkswitch.com/v1.
Does Claude Sonnet 5.5 work with Claude Code?
Yes. Set ANTHROPIC_BASE_URL to https://api.uplinkswitch.com/v1, ANTHROPIC_AUTH_TOKEN to your key and ANTHROPIC_MODEL to claude-sonnet-5-5.
Is it the real Claude Sonnet 5.5?
Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. Claude Sonnet 5.5's latest result: Same fingerprint since Oct 12.