Home / Model Explorer / Claude Sonnet 5 5
Claude Sonnet 5 5 API
Efficient Balanced Flagship
- Model ID:
claude-sonnet-5-5 - Example endpoint:
POST https://api.yomiapi.com/v1/chat/completions - View public route prices
Overview
About this model
Anthropic Fifth-generation semi-efficient flagship, faster for daily tasks and programming scenarios with lower cost per task, supports adaptive thinking and 1M context.
Capabilities
Capability matrix
Pricing and groups
Routes and pricing
Pure aws kiro, suitable for general task scenarios; for important tasks, using ccmax is recommended.
Input
$0.24 / 1M
Output
$1.2 / 1M
Cache read
$0.024 / 1M
Cache write
$0.3 / 1M
Cache write (1h)
$0.48 / 1M
CCMAXOfficial full-performance line, ultra-high cache, supports all scenarios, with priority on stability and performance.
Input
$0.62 / 1M
Output
$3.1 / 1M
Cache read
$0.062 / 1M
Cache write
$0.775 / 1M
Cache write (1h)
$1.24 / 1M
Claude Official Max full version, available only for use by Claude Code (CLI); to use Claude Desktop, switch to another group.
Input
$0.58 / 1M
Output
$2.9 / 1M
Cache read
$0.058 / 1M
Cache write
$0.725 / 1M
Cache write (1h)
$1.16 / 1M
Dedicated distillation group
Input
$0.8 / 1M
Output
$4 / 1M
Cache read
$0.08 / 1M
Cache write
$1 / 1M
Cache write (1h)
$1.6 / 1M
Prices are in USD per million tokens. This page shows a public price snapshot. Before sending a request, check the Model Explorer for current prices. The console shows account-specific routes and charges.
How to compare prices · How to interpret performance metrics
Snapshot: . Availability reflects active probes over the past 24 hours; performance reflects actual calls.
Compare
Group comparison
API
Integration example
Use a Yomi API key that can access this model and route. Check the endpoint and request parameters when switching models or protocols.
Set the environment variable YOMI_API_KEY.
Quick start · Pricing and billing · Protocol reference · Chat Completions · Native Claude API · Responses API
# pip install openai
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.yomiapi.com/v1",
api_key=os.environ["YOMI_API_KEY"],
)
resp = client.chat.completions.create(
model="claude-sonnet-5-5",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)curl 'https://api.yomiapi.com/v1/chat/completions' \
-H "Authorization: Bearer $YOMI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "claude-sonnet-5-5",
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'curl 'https://api.yomiapi.com/v1/messages' \
-H "x-api-key: $YOMI_API_KEY" \
-H "Content-Type: application/json" \
-H 'anthropic-version: 2023-06-01' \
--data '{
"model": "claude-sonnet-5-5",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}'curl 'https://api.yomiapi.com/v1/responses' \
-H "Authorization: Bearer $YOMI_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "claude-sonnet-5-5",
"input": "Hello"
}'Connect to Claude Sonnet 5 5 now
Create an API key in the console and select an available route.
Get an API key
Yomi API