Claude Sonnet 5
Anthropic's balanced model for coding, agentic workflows and everyday reasoning. Text and image input, long context.
Starting at
1.01 coins
input price per 1M tokens
Playground
Input
openaiInput
1.01 coins / 1M
Output
5.04 coins / 1M
Output
Start a conversation
Ask Claude Sonnet 5 anything. Messages are sent directly to the API and charged by token usage.
Sign in to chatPricing
| Option | Price per 1M tokens |
|---|---|
| input | 1.01 coins |
| output | 5.04 coins |
| cacheRead | 0.101 coins |
| cacheWrite | 1.18 coins |
Quick start
Full API reference →1curl -X POST https://api.apihubs.ru/api/v1/chat/completions \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "claude-sonnet-5",6 "messages": [7 {8 "role": "user",9 "content": "A cinematic shot of a city at dusk"10 }11 ]12 }'
Frequently asked questions
How much does Claude Sonnet 5 cost?
Claude Sonnet 5 starts at $1.01 per 1M input tokens through the API Hubs API. You pay per use from a single prepaid balance — there is no subscription — and the final price scales with parameters such as resolution or duration.
How do I call the Claude Sonnet 5 API?
Send a POST request to https://api.apihubs.ru/api/v1/chat/completions with your API key and the model "claude-sonnet-5", using the openai-compatible request format shown in the quick start above.
What happens if a Claude Sonnet 5 request fails?
API Hubs automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.
Can I use Claude Sonnet 5 with the same API key as other models?
Yes. Every model on API Hubs — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Claude Sonnet 5 without new credentials.
Other Chat models
- GLM 5.3Zhipu0.193 coins/ 1M tokens
- GPT 5.6 LunaOpenAI0.195 coins/ 1M tokens
- MiniMax M3MiniMax0.227 coins/ 1M tokens
- DeepSeek V4 FlashDeepSeek0.23 coins/ 1M tokens
- Grok 4.5xAI0.3 coins/ 1M tokens
- GLM 5.2Zhipu0.31 coins/ 1M tokens
- Gemini 3.7 FlashGoogle0.374 coins/ 1M tokens
- DeepSeek V4 ProDeepSeek0.6 coins/ 1M tokens
- GPT 5.6 TerraOpenAI0.6 coins/ 1M tokens