← All models

claude-3.5-sonnet

vercel_ai_gateway · chat model

claude-3.5-sonnet is listed here as a chat model from vercel_ai_gateway. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.

Input
$3.0000 / 1M tokens
Output
$15.0000 / 1M tokens
Cached input
$0.3000 / 1M tokens
Context
8.2K

Quick read

Best for

Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.

Things to verify

Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.

Pricing

Item Price
Input
$3.0000 / 1M tokens
Output
$15.0000 / 1M tokens
Cached input
$0.3000 / 1M tokens
Cache write
$3.7500 / 1M tokens
Embedding
$3.0000 / 1M tokens

Token limits

Context window
8.2K
Max input tokens
200.0K
Max output tokens
8.2K
Max tokens
8.2K

Capabilities

Capability Supported
Vision
Function calling
Parallel function calling
Tool choice
Prompt caching
Reasoning
Response schema
System messages
Audio input
Audio output
Web search
PDF input
Video input

Benchmarks

Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer

Benchmark Score Metric Scope Checked Source
SWE-bench Verified 49% score Base model: Claude 3.5 Sonnet (Claude 3.5 Sonnet) 2026-05-31 Link
Aider Code Editing 84.2% score Base model: Claude 3.5 Sonnet (claude-3-5-sonnet-20241022) 2026-05-31 Link
Aider Polyglot 45.3% score Base model: Claude 3.5 Sonnet (claude-3-5-sonnet-20241022) 2026-05-31 Link

Sources

Source links
Pricing data LiteLLM model cost map
Synced at 2026-05-28

Docs

Official docs

Similar models

This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.

Comparing from
Model Cost Input shape Features Context Why it is close
claude-3.5-sonnet
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Current model
Reference row

Overall blends cost, modality overlap, capabilities, and context.

Model Cost Input shape Features Context Why it is close
claude-3-5-sonnet
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Same provider
Overall 92%
claude-3-5-sonnet-20241022
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Same provider
Overall 92%
claude-3.7-sonnet
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
64.0K
Same provider
Overall 87%
claude-3.5-haiku
vercel_ai_gateway
In $0.8000 / 1M tokens
Out $4.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Same provider
Overall 85%
anthropic.claude-3-5-sonnet-20240620-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
4.1K
Text + image covered
Overall 85%
anthropic.claude-3-5-sonnet-20240620-v1:0
Bedrock
In $3.6000 / 1M tokens
Out $18.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Text + image covered
Overall 84%
anthropic.claude-3-5-sonnet-20241022-v2:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Text + image covered
Overall 81%
anthropic.claude-3-7-sonnet-20250219-v1:0
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
8.2K
Text + image covered
Overall 80%
anthropic.claude-3-5-sonnet-20240620-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
4.1K
Text + image covered
Overall 80%
anthropic.claude-3-sonnet-20240229-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
4.1K
Text + image covered
Overall 80%
gpt-4o
vercel_ai_gateway
In $2.5000 / 1M tokens
Out $10.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
16.4K
Same provider
Overall 79%
gpt-4o
OpenRouter
In $2.5000 / 1M tokens
Out $10.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choice
4.1K
Text + image covered
Overall 77%
claude-3-7-sonnet
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
64.0K
Same provider
Overall 76%
gpt-4.1
vercel_ai_gateway
In $2.0000 / 1M tokens
Out $8.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
32.8K
Same provider
Overall 73%
openai
vercel_ai_gateway
In $2.0000 / 1M tokens
Out $8.0000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choiceResponse schema
100.0K
Same provider
Overall 70%
anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
64.0K
Text + image covered
Overall 66%
global.anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
fileimagetext pdf
Output: text
VisionFunction callingTool choiceResponse schema
64.0K
Text + image covered
Overall 66%
gemini-2.5-pro
vercel_ai_gateway
In $2.5000 / 1M tokens
Out $10.0000 / 1M tokens
fileimagetext audiopdf
Output: text
VisionFunction callingTool choiceResponse schema
65.5K
Same provider
Overall 66%
mistral-large-2512
OpenRouter
In $0.5000 / 1M tokens
Out $1.5000 / 1M tokens
fileimagetext
Output: text
VisionFunction callingTool choice
262.1K
Text + image covered
Overall 62%