Blog
Skip to main content

Day 0 Support: Claude Sonnet 5.5

Misbah Syed
DevRel Engineer, LiteLLM
Mateo Wang
AI Engineer, LiteLLM
Kerry Lu
Software Engineer, LiteLLM

LiteLLM x Claude Sonnet 5.5

LiteLLM now supports Claude Sonnet 5.5 on Day 0. Use it across Anthropic, Bedrock, Gemini Enterprise Agent Platform, and Azure through the LiteLLM AI Gateway, with spend, rate limits, and logging in one place.

What's new in Sonnet 5.5​

  • Same price as Sonnet 5: $2 / MTok input, $10 / MTok output, $0.20 / MTok cache reads
  • 30%+ faster, and up to 30% less per task, per Anthropic
  • 70.6% on Terminal-Bench 4.0, up from Sonnet 5's 10.3%
  • 1M-token context, up to 128K output tokens

Enabling Sonnet 5.5​

Pricing landed in PR #43586. No upgrade needed: open Price Data under Models + Endpoints in the UI and click Reload Price Data (or POST /reload/model_cost_map), on v1.76.0 and above.

Usage​

1. Setup config.yaml

model_list:
- model_name: claude-sonnet-5-5
litellm_params:
model: anthropic/claude-sonnet-5-5
api_key: os.environ/ANTHROPIC_API_KEY

2. Start the proxy

docker run -d \
-p 4000:4000 \
-e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
-v $(pwd)/config.yaml:/app/config.yaml \
ghcr.io/berriai/litellm:v1.103.0 \
--config /app/config.yaml

3. Test it!

curl --location 'http://0.0.0.0:4000/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $LITELLM_KEY' \
--data '{
"model": "claude-sonnet-5-5",
"messages": [
{
"role": "user",
"content": "what llm are you"
}
]
}'

Worth knowing​

Forced tool use returns a 400. Use tool_choice: "auto" and say in the prompt when the tool applies.

thinking: {"type": "disabled"} returns a 400. Anthropic's replacement is between_tools; see their migration guide.

Feedback​

Running Claude Sonnet 5.5 through LiteLLM and hitting something unexpected? Share it on GitHub discussion #43590.

🚅
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails — built for production.
Learn more →