Claude Sonnet 5 API
Claude Sonnet 5 is part of Anthropic’s mid-tier Sonnet line, which sits between the fast Haiku and the top-tier Opus in both price and capability. It accepts images as input. You can call it through either the OpenAI-compatible or the Anthropic-compatible API, so it works both in your own code and in Claude Code.
- Model ID
anthropic/claude-sonnet-5- Developer
- Anthropic
- Type
- Conversation
- Context
- 323,991 tokens
- Capabilities
- Image input
Claude Sonnet 5 pricing
| Billed for | Price |
|---|---|
| Input tokens, per 1M | $0.28 |
| Output tokens, per 1M | $1.23 |
| Cached input, per 1M | $0.0098 |
| Typical request: 2,000 input and 500 output tokens | $0.0011 |
Accounting inside the service is in USD; EUR prices are recalculated at the current rate and may change.
Claude Sonnet 5 request example
Use https://evrona.ru/v1 as the base URL and pass anthropic/claude-sonnet-5 in the model field. You create the key in your account after signing up.
curl request
curl https://evrona.ru/v1/chat/completions \
-H "Authorization: Bearer ev-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}'Python with the official OpenAI SDK
from openai import OpenAI
client = OpenAI(
base_url="https://evrona.ru/v1",
api_key="ev-YOUR_KEY",
)
completion = client.chat.completions.create(
model="anthropic/claude-sonnet-5",
messages=[
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
],
)
print(completion.choices[0].message.content)Claude Code and Anthropic-protocol clients
Clients that speak the Anthropic protocol take the address without /v1: ANTHROPIC_BASE_URL=https://evrona.ru. The model ID stays the same.
export ANTHROPIC_BASE_URL=https://evrona.ru
export ANTHROPIC_AUTH_TOKEN=ev-YOUR_KEY
export ANTHROPIC_MODEL=anthropic/claude-sonnet-5
claudeWhere to use Claude Sonnet 5
Step-by-step guides for tools where you can pick this model:
More models by Anthropic
Start using Claude Sonnet 5 with Evrona
Sign up, top up your balance and create a key. The same key works for Claude Sonnet 5 and every other model in the catalog.