claude-sonnet-4
Claude 4 · Per Token
claude-sonnet-4Available⚡Cache 90% offChatVisionTool UsePrompt CacheJSON ModeContext Window: 1.0MMax Output Tokens: 32K
Pricing
| Official Price | LemonData Price | |
|---|---|---|
| Input | $3.00 | $2.10 |
| Output | $15.00 | $10.50 |
| Cache Read | $0.30 | $0.30 |
| Cache Write | $3.75 | $3.75 |
Parameters
Context Window
1.0M tokens
Max Output Tokens
32K tokens
Best For
Chat
Conversational AI, customer support, and Q&A
Vision
Image understanding, document analysis, and visual reasoning
Cost Calculator
1M
0.5M
Estimated Monthly Cost$7.35
API Code Example
FAQ
How much does claude-sonnet-4 cost?
On LemonData, claude-sonnet-4 costs $2.1000 per 1M input tokens and $10.5000 per 1M output tokens, which is up to 30% off the official pricing.
What is claude-sonnet-4 best for?
claude-sonnet-4 excels at Chat, Vision, Tool Use. 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.