API Stock
/TEXT/Claude/claude-sonnet-5
Chat
Anthropic

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

4 token price options

Claude Sonnet 5 playground

Input

openai
2048
1.0
1.00

Input

$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 chat
Enter to send · Shift + Enter for a new line

Claude Sonnet 5 API pricing

OptionPrice per 1M tokens
input$0.3
output$1.5
cacheRead$0.03
cacheWrite$0.375
1curl -X POST https://api.api-stock.com/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 $0.3 per 1M input tokens through the API Stock 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.

When was Claude Sonnet 5 released?

Claude Sonnet 5 was released on June 30, 2026. It is available through the API Stock API with the same key and prepaid balance as every other model.

How do I get an API key for Claude Sonnet 5?

Sign up for API Stock, top up your balance by any amount and create an API key in the dashboard — it takes a couple of minutes and needs no contract. The same key works with every model in the catalog, so there is no separate key to obtain for Claude Sonnet 5.

How do I call the Claude Sonnet 5 API?

Send a POST request to https://api.api-stock.com/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 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. Every model on API Stock — video, image, music and chat — shares one API key and one prepaid balance, so you can switch to Claude Sonnet 5 without new credentials.