claude-sonnet-4
Claude 4 · Per Token
claude-sonnet-4Available⚡Cache 90% offVisionTool UseJSON ModePrompt Cache
Context Window: 410KMax Output Tokens: 32KPricing
| Official Price | LemonData Price | Discount | |
|---|---|---|---|
| Input | $3.00 | $1.80 | 40% |
| Output | $15.00 | $9.00 | 40% |
| Cache Read | $0.30 | $0.18 | 40% |
| Cache Write | $3.75 | $2.25 | 40% |
Parameters
Context Window
410K tokens
Max Output Tokens
32K tokens
Best For
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$6.30
API Code Example
FAQ
How much does claude-sonnet-4 cost?
On LemonData, claude-sonnet-4 costs $1.8000 per 1M input tokens and $9.0000 per 1M output tokens, with model-specific platform pricing.
What is claude-sonnet-4 best for?
claude-sonnet-4 excels at Vision, Tool Use, JSON Mode. Access it through LemonData's unified API with a single API key.
How to use claude-sonnet-4 API?
Get your API key from LemonData, then call https://api.lemondata.cc/v1/messages using any compatible SDK. See the code examples above for detailed integration.