← All models

claude-sonnet-4

gmi · chat model

claude-sonnet-4 is listed here as a chat model from gmi. 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
N/A
Context
32.0K

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
Embedding
$3.0000 / 1M tokens

Token limits

Context window
32.0K
Max input tokens
409.6K
Max output tokens
32.0K
Max tokens
32.0K

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 72.7% score Base model: Claude Sonnet 4 (Claude Sonnet 4) 2026-05-31 Link
GPQA Diamond 70.0% score Base model: Claude Sonnet 4 (Claude Sonnet 4) 2026-05-31 Link
MMMLU 85.4% score Base model: Claude Sonnet 4 (Claude Sonnet 4) 2026-05-31 Link
MMMU 72.6% score Base model: Claude Sonnet 4 (Claude Sonnet 4) 2026-05-31 Link

Sources

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

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-sonnet-4
gmi
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
Output: unknown
VisionFunction calling
32.0K
Current model
Reference row

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

Model Cost Input shape Features Context Why it is close
claude-sonnet-4.5
gmi
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
Output: unknown
VisionFunction calling
32.0K
Same provider
Overall 60%
claude-opus-4.5
gmi
In $5.0000 / 1M tokens
Out $25.0000 / 1M tokens
Output: unknown
VisionFunction calling
32.0K
Same provider
Overall 52%
v0-1.0-md
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
VisionFunction calling
32.0K
Partial I/O overlap
Overall 52%
v0-1.5-md
vercel_ai_gateway
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagetext
Output: text
VisionFunction calling
32.8K
Partial I/O overlap
Overall 51%
gpt-4o
gmi
In $2.5000 / 1M tokens
Out $10.0000 / 1M tokens
Output: unknown
VisionFunction calling
16.4K
Same provider
Overall 48%
gemini-3-pro-preview
gmi
In $2.0000 / 1M tokens
Out $12.0000 / 1M tokens
Output: unknown
VisionFunction calling
65.5K
Same provider
Overall 47%
claude-opus-4
gmi
In $15.0000 / 1M tokens
Out $75.0000 / 1M tokens
Output: unknown
VisionFunction calling
32.0K
Same provider
Overall 44%
gpt-5.2
gmi
In $1.7500 / 1M tokens
Out $14.0000 / 1M tokens
Output: unknown
Function calling
32.0K
Same provider
Overall 43%
meta.llama3-2-90b-instruct-v1:0
Bedrock
In $2.0000 / 1M tokens
Out $2.0000 / 1M tokens
imagetext
Output: text
VisionFunction calling
4.1K
Partial I/O overlap
Overall 34%
meta.llama-3.2-90b-vision-instruct
oci
In $2.0000 / 1M tokens
Out $2.0000 / 1M tokens
Output: unknown
VisionFunction calling
4.0K
Partial I/O overlap
Overall 34%
anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
64.0K
Partial I/O overlap
Overall 34%
global.anthropic.claude-sonnet-4-6
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
64.0K
Partial I/O overlap
Overall 34%
gpt-4o-mini
gmi
In $0.1500 / 1M tokens
Out $0.6000 / 1M tokens
Output: unknown
VisionFunction calling
16.4K
Same provider
Overall 34%
anthropic.claude-3-5-sonnet-20240620-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
4.1K
Partial I/O overlap
Overall 32%
anthropic.claude-3-sonnet-20240229-v1:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
4.1K
Partial I/O overlap
Overall 32%
anthropic.claude-3-5-sonnet-20241022-v2:0
Bedrock
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
8.2K
Partial I/O overlap
Overall 31%
anthropic.claude-3-7-sonnet-20250219-v1:0
bedrock_converse
In $3.0000 / 1M tokens
Out $15.0000 / 1M tokens
imagepdf
Output: text
VisionFunction calling
8.2K
Partial I/O overlap
Overall 30%