Build next-gen apps with claude-sonnet-4-5
Pricing
TokenLab Price
$1.95
Discount: 35%
| Official Price | TokenLab Price | Discount | |
|---|---|---|---|
| Input | $3.00 | $1.95 | 35% |
| Output | $15.00 | $9.75 | 35% |
| Cache Read | $0.30 | $0.195 | 35% |
| Cache Write | $3.75 | $2.44 | 35% |
One-click test
Sign in once and Web Agent keeps this model, prompt, and request preset for you.
Test claude-sonnet-4-5 in Web Agent with a short request at /v1/messages, then show request body, latency, and response.
API workbench
The default route for production. The code sample below uses this endpoint with the format you pick.
curl https://api.tokenlab.sh/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: sk-xxx" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "claude-sonnet-4-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Use cases
Best forVision
Reading images, parsing documents, and answering visual questions
Agents and tools
Drive reasoning, support triage, tool calls, and multi-step task flows.
Developer workflows
Generate, review, or debug code without rewiring your stack.
Knowledge assistants
Ship chat, search, and retrieval with predictable cost and behavior.
Side-by-side test
See real response quality, latency, and price before this becomes your production default.
Prompt examples
Write a concise support reply and list the assumptions behind it.
Review this API design and call out the top three integration risks.
Turn a long changelog into release notes a non-engineer would read.
Cost Calculator
FAQ
How much does claude-sonnet-4-5 cost?
On TokenLab, claude-sonnet-4-5 costs $1.9500 per 1M input tokens and $9.7500 per 1M output tokens. Cache and per-request prices show in the pricing table when they apply.
What is claude-sonnet-4-5 best for?
claude-sonnet-4-5 is a strong fit for Vision, Tool Use, JSON Mode. You can call it through TokenLab with one API key.
How do I call the claude-sonnet-4-5 API?
Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/messages. The API workbench above has a recommended endpoint and copy-ready code.
Which endpoint should claude-sonnet-4-5 use?
Use https://api.tokenlab.sh/v1/messages as the default for claude-sonnet-4-5. If a provider-native format is supported, the API workbench shows that endpoint too.
Can I test claude-sonnet-4-5 before integrating it?
Yes. Try in Web Agent opens a ready test for claude-sonnet-4-5 and keeps your prompt after sign-in, so you don’t lose context.