Claude 3 5 Sonnet
Claude 3 5 Sonnet is a text model from
Vercel AI Gateway with a context window of 200K tokens and max output of 8K tokens. Pricing starts at 3.00 per million input tokens and 15.00 per million output tokens (cheapest at Anthropic).
Capabilities
✓ Vision✓ Function Calling✗ Reasoning✓ JSON Schema✗ System Messages✗ Web Search✓ Prompt Caching✗ Audio Input✗ Audio Output
Specifications
| Model Key | vercel_ai_gateway/anthropic/claude-3-5-sonnet |
| Provider | |
| Provider ID | vercel_ai_gateway |
| Mode | Text |
| Canonical Name | claude-sonnet-3.5 |
| Context Window | 200K tokens |
| Max Output | 8K tokens |
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | 0.0030 | 3.00 |
| Output Tokens | 0.015 | 15.00 |
| Cache Read (Input) | 0.000300 | 0.300 |
| Cache Write (Input) | 0.0038 | 3.75 |
Price Comparison by Provider
Compare prices for Claude 3 5 Sonnet across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price, $ | Output Price, $ |
|---|---|---|---|
| vertex_ai/claude-3-5-sonnet | 3.00 | 15.00 | |
| vercel_ai_gateway/anthropic/claude-3-5-sonnet | 3.00 | 15.00 | |
| snowflake/claude-3-5-sonnet | N/A | N/A | |
| replicate/anthropic/claude-3.5-sonnet | 3.75 | 18.75 | |
| perplexity/anthropic/claude-3-5-sonnet-20241022 | N/A | N/A | |
| openrouter/anthropic/claude-3.5-sonnet | 3.00 | 15.00 | |
| heroku/claude-3-5-sonnet-latest | N/A | N/A | |
| gradient_ai/anthropic-claude-3.5-sonnet | 3.00 | 15.00 | |
| claude-3-5-sonnet-20240620 | 3.00 | 15.00 | |
| anthropic.claude-3-5-sonnet-20241022-v2:0 | 3.00 | 15.00 |
All Variants
All available versions, regions, and API endpoints for Claude 3 5 Sonnet.