← Back to Calculator

Gemini 3.1 Pro vs Qwen 3 Coder

Detailed comparison of API pricing, technical specifications, and benchmark scores. Updated 2026-06-29.

Cost at a Glance

Gemini 3.1 Pro is 7.6× more expensive than Qwen 3 Coder — switching could save 86.8% on your monthly API bill.

At 5M input + 2M output tokens per month:

Gemini 3.1 Pro$34.00/movsQwen 3 Coder$4.50/mo

Choosing Qwen 3 Coder could save you $29.50/mo

Price Comparison (per 1M tokens)

Input (per 1M tokens)
$2.00vs$0.30
Output (per 1M tokens)
$12.00vs$1.50
Cache Write (per 1M tokens)
vs
Cache Read (per 1M tokens)
$0.20vs
Batch Input (per 1M tokens)
vs
Batch Output (per 1M tokens)
vs

Prices are per 1 million tokens. Actual costs depend on your monthly token volume. Use the calculator →

Specifications

Context Window
1Mvs1M
Max Output Tokens
64Kvs64K
Knowledge Cutoff
2026-04vs2026-03
Modalities
Text, Image, Audio, VideovsText
Prompt Caching
YesvsNo
Batch API
NovsNo
Thinking / Reasoning
YesvsNo

Benchmark Scores

SWE-bench Verified
80.6vs77.0
MMLU-Pro
86.5vs80.5
HumanEval
93.5vs91.0

Benchmark scores from official provider reports. Higher is better. Missing scores indicate the provider has not published that benchmark yet.

Use Cases

Gemini 3.1 Pro

multimodalcodinggeneral

Qwen 3 Coder

codingcheapopen-weight

About the Providers

Gemini 3.1 Pro is developed by Google. Qwen 3 Coder is developed by Alibaba. This is a cross-provider comparison between Google and Alibaba models. For the most up-to-date pricing, always check the official API documentation from each provider.

Compare More AI Models