Anthropic · Claude
Claude Sonnet 5.5 API
The latest Sonnet — the balanced everyday coding model in the Claude family.
Claude Sonnet 5.5 is made by Anthropic. On PixCode it is billed at the upstream official list price with zero markup: $2.00 input and $10.00 output per million tokens, with a 1M context window.
It speaks both the Anthropic and OpenAI protocols, so Claude Code, opencode, Cline and Zed can all use it directly.
Explicit prompt caching is supported: cache reads at $0.10, cache writes at $2.50 (5 min) or $4.00 (1 hour).
1M
Context window
$2.00
Input / 1M tokens
$10.00
Output / 1M tokens
Anthropic + OpenAI
Protocols
Rates
USD per million tokens, read live from the gateway — the same data your charges come from.
| Item | Standard | (R) |
|---|---|---|
| Cache read | $0.10 | $0.05 |
| Input | $2.00 | $1.00 |
| Output | $10.00 | $5.00 |
| Cache write (5 min) | $2.50 | $1.25 |
| Cache write (1 hour) | $4.00 | $2.00 |
What the (R) version is
claude-sonnet-5-5-r is the (R) version of the same model. It is served through a reverse-engineered channel rather than the vendor’s official API, which is why it costs about half as much. The trade-off: stability, availability and data-handling terms are not covered by the official API, and it may change or be withdrawn at any time. For reliability, use claude-sonnet-5-5.
Which tools can use it
It depends on the protocol. Claude Code only speaks Anthropic; Roo Code, Kilo Code and Goose use OpenAI; opencode, Cline, Zed and Factory Droid can be configured either way.
- Claude CodeAnthropic endpoint
- opencodeAnthropic endpoint
- ClineAnthropic endpoint
- Roo CodeOpenAI endpoint
- Kilo CodeOpenAI endpoint
- Factory DroidAnthropic endpoint
- ZedAnthropic endpoint
- GooseOpenAI endpoint
Setup
Replace sk-px-... with the API key from your dashboard. Other tools are covered in the docs.
export ANTHROPIC_BASE_URL="https://api.pixcode.ai/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-px-..."
export ANTHROPIC_MODEL="claude-sonnet-5-5"
export API_TIMEOUT_MS=3000000
claude{
"provider": {
"pixcode": {
"npm": "@ai-sdk/anthropic",
"name": "PixCode",
"options": {
"baseURL": "https://api.pixcode.ai/anthropic/v1",
"apiKey": "sk-px-..."
},
"models": {
"claude-sonnet-5-5": { "name": "Claude Sonnet 5.5" }
}
}
},
"model": "pixcode/claude-sonnet-5-5"
}curl https://api.pixcode.ai/v1/chat/completions \
-H "Authorization: Bearer sk-px-..." \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Hello"}]}'Across the family
Every Claude model on PixCode, in USD per million tokens.
| Model | Context | Input | Output |
|---|---|---|---|
| claude-fable-5 | 1M | $10.00 | $50.00 |
| claude-fable-5-1 | 1M | $10.00 | $50.00 |
| claude-opus-5 | 1M | $5.00 | $25.00 |
| claude-opus-5-5 | 1M | $4.00 | $20.00 |
| claude-sonnet-5-5this page | 1M | $2.00 | $10.00 |
| claude-sonnet-5 | 1M | $2.00 | $10.00 |
| claude-haiku-4-5-20251001 | 200K | $1.00 | $5.00 |
| claude-haiku-5-5 | 1M | $0.10 | $0.50 |
One base URL, 60 models.
A monthly Pass converts 1:1 into crystals, billed at the upstream official list price with zero markup. Purchased crystals never expire.