Claude Sonnet 4.6 vs Gemini 2.5 Pro
Gemini 2.5 Pro is 2.4× cheaper on input tokens than Claude Sonnet 4.6. Gemini 2.5 Pro has a longer context window (1M vs 1M). Both models are accessible via the haimaker.ai OpenAI-compatible API at https://api.haimaker.ai/v1.
Claude Sonnet 4.6
anthropic/claude-sonnet-4-6
Chat
Function CallingVisionReasoning
Gemini 2.5 Pro
google/gemini-2.5-pro
Chat
Function CallingVision
Side-by-side specifications
| Spec | Claude Sonnet 4.6 | Gemini 2.5 Pro |
|---|---|---|
| Provider | Anthropic | |
| Full ID | anthropic/claude-sonnet-4-6 | google/gemini-2.5-pro |
| Mode | chat | chat |
| Parameters | N/A | N/A |
| Context window | 1M | 1M |
| Max output | 128K | 8K |
| Input price (per 1M) | $3.00 | $1.25 |
| Output price (per 1M) | $15.00 | $10.00 |
| License | N/A | N/A |
| Architecture | N/A | N/A |
Feature support
| Feature | Claude Sonnet 4.6 | Gemini 2.5 Pro |
|---|---|---|
| Function Calling | ✓ Supported | ✓ Supported |
| Reasoning | ✓ Supported | — |
| Vision | ✓ Supported | ✓ Supported |
Frequently asked questions
Which is cheaper, Claude Sonnet 4.6 or Gemini 2.5 Pro?
Gemini 2.5 Pro is cheaper at $1.25 per 1M input tokens vs $3.00 for Claude Sonnet 4.6.
Which has the larger context window, Claude Sonnet 4.6 or Gemini 2.5 Pro?
Gemini 2.5 Pro accepts up to 1M input tokens vs 1M for Claude Sonnet 4.6.
Can I use both Claude Sonnet 4.6 and Gemini 2.5 Pro via the same API?
Yes. haimaker.ai exposes both anthropic/claude-sonnet-4-6 and google/gemini-2.5-pro on the same OpenAI-compatible endpoint at https://api.haimaker.ai/v1, so you can switch between them by changing the model parameter in your request.
Try Claude Sonnet 4.6 or Gemini 2.5 Pro via the haimaker API
One OpenAI-compatible endpoint. Switch between them by changing the model parameter.