Comparison
Gemini 3.1 Pro vs Claude Sonnet 5
Use gemini-3.1-pro if the client speaks Gemini. Use claude-sonnet-5 if the client is Claude Code.
Create account Open calculator
Side by side
Gemini 3.1 Pro
Who this is for: OpenCode Gemini preset users. The base URL includes /v1beta.
- Antigravity plan
- Host ends in /v1beta
- Model id gemini-3.1-pro
Claude Sonnet 5
Who this is for: Claude Code users. The host has no /v1 suffix.
- Anthropic plan
- ANTHROPIC_BASE_URL
- Model id claude-sonnet-5
Who each option is for
Gemini 3.1 Pro: OpenCode Gemini preset users. The base URL includes /v1beta.
Claude Sonnet 5: Claude Code users. The host has no /v1 suffix.
Details
- Who is Gemini 3.1 Pro for?
- OpenCode Gemini preset users. The base URL includes /v1beta.
- Who is Claude Sonnet 5 for?
- Claude Code users. The host has no /v1 suffix.
Related
- Gemini 3.1 Pro — Pricing and call shape for gemini-3.1-pro.
- Claude Sonnet 5 — Pricing and call shape for claude-sonnet-5.
- All comparisons — Head-to-head pages for models and for Token Supply.
- Token cost calculator — Price a token mix at listed and official rates.