Claude Sonnet 5 API
Anthropic's balanced model for coding, agentic workflows and everyday reasoning. Text and image input, long context.
Starting at
$0.3
input price per 1M tokens
Claude Sonnet 5 playground
Input
anthropicInput
$0.3 / 1M
Output
$1.5 / 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 chatClaude Sonnet 5 API pricing
| Option | Price per 1M tokens |
|---|---|
| input | $0.3 |
| output | $1.5 |
| cacheRead | $0.03 |
| cacheWrite | $0.375 |
Quick start
Full API reference →1curl -X POST https://api.api-stock.com/api/v1/messages \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "claude-sonnet-5",6 "max_tokens": 1024,7 "messages": [8 {9 "role": "user",10 "content": "A cinematic shot of a city at dusk"11 }12 ]13 }'
Frequently asked questions
How much does Claude Sonnet 5 cost?
Claude Sonnet 5 starts at $0.3 per 1M input tokens on API Stock. The final charge depends on the selected settings.
When was Claude Sonnet 5 released?
Claude Sonnet 5 was released on June 30, 2026 and is available through API Stock.
How do I get an API key for Claude Sonnet 5?
Create an account and API key on API Stock, then fund your balance. The same key works with Claude Sonnet 5 and other catalog models.
How do I call the Claude Sonnet 5 API?
Send a POST request to https://api.api-stock.com/api/v1/messages with your API key and the model "claude-sonnet-5", using the anthropic-compatible request format shown in the quick start above.
What happens if a Claude Sonnet 5 request fails?
API Stock 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. Use your API Stock API key and balance for Claude Sonnet 5 and other catalog models.
Other Chat models
- Grok 4.7xAI$0.23/ 1M tokens
- Qwen3.7 PlusQwen$0.343/ 1M tokens
- MiniMax M3MiniMax$0.36/ 1M tokens
- Claude Sonnet 5.5Anthropic$0.9/ 1M tokens
- Claude Fable 5Anthropic$1.5/ 1M tokens
- Claude Opus 5Anthropic$3/ 1M tokens
- Claude Fable 5.2Anthropic$3.6/ 1M tokens
- Claude Opus 5.5Anthropic$4.8/ 1M tokens
- Claude Fable 5.1Anthropic$10/ 1M tokens
- Comparisons
- GPT 5.6 Luna vs Claude Sonnet 5
Guides
- Choose a model for an agent taskCompare models on completed tool-using tasks, repeated attempts and observed cost before setting an agent's default.2 min read
- LLM API pricing: GPT, Claude, Gemini, DeepSeek comparedCompare LLM API pricing for GPT, Claude, Gemini, DeepSeek, Grok and Kimi per 1M tokens, with worked monthly cost examples and practical ways to cut the bill.9 min read
- Give your coding agent image, video and music toolsConnect Claude Code, Codex, OpenCode or OpenClaw to API Stock and use generated media in a page, app or content draft.3 min read
