Models & pricingClaude Sonnet 5.5

Claude Sonnet 5.5 API: pricing and how to call it

Claude Sonnet 5.5 has the model ID claude-sonnet-5-5. On MYUSAPI it costs $0.50 per 1M input tokens and $2.50 per 1M output tokens, prepaid and charged by usage. The model is never swapped or downgraded, and you are billed by the usage the upstream reports.

Claude Sonnet 5.5 API pricing

ItemPer 1M tokens
InputOfficial$2.00, our price$0.50
OutputOfficial$10.00, our price$2.50
Cache readOfficial$0.10, our price$0.025
Cache write (5 minutes)$0.625
Cache write (1 hour)$1.00

USD. The struck figure is Anthropic’s official standard list price (checked 2026-10-14); bold is ours, with input and output at 25% of list. Source of the list price

Example: a job that uses 1M input tokens and 200K output tokens costs $1.00 at our rates and $4.00 at list price.

Web search (Messages protocol): official $10 per 1,000; ours $0.005 per search; failed searches are free; results count as input tokens. Resale keys apply their display multiplier. To keep requests from failing, some settings sent to this model are changed: temperature, top_p and top_k are not passed on at any value, so the model samples its own way; a thinking budget (budget_tokens) becomes adaptive thinking, where the model decides how much to think and may use more than the budget; switching thinking off is served as the model’s current between_tools mode; thinking switched off together with effort xhigh or max stays on and is billed (Messages); a budget_tokens beside adaptive thinking is not passed on and does not cap thinking (Messages); a tool_choice that forces a tool becomes auto: neither a call nor the named tool is guaranteed any more, and the model may answer in text when the request does not call for the tool; an allowed_tools tool_choice is sent as only the tools it allows, so the model does not see the definitions of the others (Chat Completions, Responses); effort minimal is served as low, which can use more thinking tokens (Chat Completions, Responses).

Specifications

Model IDclaude-sonnet-5-5
ProviderAnthropic
Context window1M tokens
Max output128K tokens
EndpointsAnthropic Messages, Chat Completions, Responses
CapabilitiesThinking, Tools, Vision

The balance of speed and intelligence for everyday coding and tool use.

How to call the Claude Sonnet 5.5 API

Sign up, add credit and put your key in the MYUSAPI_API_KEY environment variable.

Sign up and get an API key

Tested 2026-11-12: the cURL requests on this page answered for claude-sonnet-5-5. The Python samples were not run.

Anthropic Messages (cURL)

The address is https://myusapi.com/v1/messages. Add "stream": true to the body to stream.

cURL
curl https://myusapi.com/v1/messages \
  -H "x-api-key: $MYUSAPI_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5-5","max_tokens":1024,"messages":[{"role":"user","content":"Hello"}]}'

Anthropic SDK (Python)

Set base_url to https://myusapi.com, with no /v1.

Python
import os
import anthropic

client = anthropic.Anthropic(
    base_url="https://myusapi.com",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

OpenAI SDK (Python, Chat Completions)

A project already on the OpenAI SDK changes only base_url (https://myusapi.com/v1) and the model ID.

Python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://myusapi.com/v1",
    api_key=os.environ["MYUSAPI_API_KEY"],
)

reply = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)

Chat Completions (cURL)

cURL
curl https://myusapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MYUSAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Hello"}]}'

Whether your key can call it now is what GET https://myusapi.com/v1/models returns.

Use Claude Sonnet 5.5 in Claude Code

Set ANTHROPIC_MODEL to claude-sonnet-5-5; the Claude Code guide has the full steps.

Set up Claude Code with MYUSAPI: base URL and API key

Other Anthropic models

All models and prices