Claude Sonnet 4
GmiText
Claude Sonnet 4 is a text model from Gmi with a context window of 410K tokens and max output of 32K tokens. Pricing starts at $3.00 per million input tokens and $15.00 per million output tokens (cheapest at Databricks).
Specifications
| Model Key | gmi/anthropic/claude-sonnet-4 |
| Provider | Gmi |
| LiteLLM Provider | gmi |
| Mode | Text |
| Canonical Name | claude-sonnet-4 |
| Context Window | 410K tokens |
| Max Output | 32K tokens |
Capabilities
✓ Vision✓ Function Calling✗ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | $0.0030 | $3.00 |
| Output Tokens | $0.015 | $15.00 |
Price Comparison by Provider
Compare prices for Claude Sonnet 4 across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price | Output Price |
|---|---|---|---|
| Anthropic | claude-4-sonnet-20250514 | $3.00 | $15.00 |
| Deepinfra | deepinfra/anthropic/claude-4-sonnet | $3.30 | $16.50 |
| Heroku | heroku/claude-4-sonnet | N/A | N/A |
| Replicate | replicate/anthropic/claude-4-sonnet | $3.00 | $15.00 |
| Vercel Ai Gateway | vercel_ai_gateway/anthropic/claude-4-sonnet | $3.00 | $15.00 |
| Github Copilot | github_copilot/claude-sonnet-4 | N/A | N/A |
| Gmi | gmi/anthropic/claude-sonnet-4 | $3.00 | $15.00 |
| OpenRouter | openrouter/anthropic/claude-sonnet-4 | $3.00 | $15.00 |
| Anthropic (Vertex AI) | vertex_ai/claude-sonnet-4 | $3.00 | $15.00 |
| AWS Bedrock | anthropic.claude-sonnet-4-20250514-v1:0 | $3.00 | $15.00 |
| Databricks | databricks/databricks-claude-sonnet-4 | $3.00 | $15.00 |
Similar Models
Models with similar capabilities and context window size.
Model | Provider | Mode | Input Price | Output Price | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| Claude Opus 4 | Gmi | Text | $15.00 | $75.00 | 410K | 32K | yes | yes |
| Claude Opus 4.5 | Gmi | Text | $5.00 | $25.00 | 410K | 32K | yes | yes |
| Claude Sonnet 4.5 | Gmi | Text | $3.00 | $15.00 | 410K | 32K | yes | yes |
| GPT-5 | Gmi | Text | $1.25 | $10.00 | 410K | 32K | no | yes |
| GPT-5.1 | Gmi | Text | $1.25 | $10.00 | 410K | 32K | no | yes |
| GPT-5.2 | Gmi | Text | $1.75 | $14.00 | 410K | 32K | no | yes |
| Llama 4 Maverick 17B 128e Instruct Fp8 | Oci | Text | $0.720 | $0.720 | 512K | 4K | no | yes |
| Llama 4 Scout 17B 16E Instruct | Deepinfra | Text | $0.080 | $0.300 | 328K | 328K | no | no |
| Nova Lite | Vercel Ai Gateway | Text | $0.060 | $0.240 | 300K | 8K | yes | yes |
| V0 1.5 Lg | V0 | Text | $15.00 | $75.00 | 512K | 512K | yes | yes |