Model Comparison

Gemini 3.1 Pro vs Qwen3.5-397B-A17BWhich is better in 2026?

Gemini 3.1 Pro significantly outperforms across most benchmarks. Qwen3.5-397B-A17B is 4.2x cheaper per token.

Verdict: Gemini 3.1 Pro vs Qwen3.5-397B-A17B — which is better?

Gemini 3.1 Pro (by Google) and Qwen3.5-397B-A17B (by Alibaba Cloud / Qwen Team) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Gemini 3.1 Pro outperforms in 8 benchmarks (BrowseComp, GDPval-AA, GPQA, Humanity's Last Exam, MMMLU, SWE-Bench Verified, t2-bench, Terminal-Bench 2.0), while Qwen3.5-397B-A17B is better at 0 benchmarks. Gemini 3.1 Pro significantly outperforms across most benchmarks.

On price, Qwen3.5-397B-A17B is roughly 4.2x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Gemini 3.1 Pro also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose Gemini 3.1 Pro if…

  • you want the strongest raw capability — it leads on 8 of 8 shared benchmarks
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Feb 2026

Choose Qwen3.5-397B-A17B if…

  • cost matters — it's about 4.2x cheaper per token
  • you need open weights you can self-host or fine-tune

Performance Benchmarks

Comparative analysis across standard metrics

8 benchmarks

Gemini 3.1 Pro outperforms in 8 benchmarks (BrowseComp, GDPval-AA, GPQA, Humanity's Last Exam, MMMLU, SWE-Bench Verified, t2-bench, Terminal-Bench 2.0), while Qwen3.5-397B-A17B is better at 0 benchmarks.

Gemini 3.1 Pro significantly outperforms across most benchmarks.

Fri Jul 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Qwen3.5-397B-A17B costs less

For input processing, Gemini 3.1 Pro ($2.50/1M tokens) is 4.2x more expensive than Qwen3.5-397B-A17B ($0.60/1M tokens).

For output processing, Gemini 3.1 Pro ($15.00/1M tokens) is 4.2x more expensive than Qwen3.5-397B-A17B ($3.60/1M tokens).

In conclusion, Gemini 3.1 Pro is more expensive than Qwen3.5-397B-A17B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri Jul 17 2026 • llm-stats.com
Google
Gemini 3.1 Pro
Input tokens$2.50
Output tokens$15.00
Best providerGoogle
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input tokens$0.60
Output tokens$3.60
Best providerNovita
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

Gemini 3.1 Pro accepts 1,048,576 input tokens compared to Qwen3.5-397B-A17B's 262,144 tokens. Gemini 3.1 Pro can generate longer responses up to 65,536 tokens, while Qwen3.5-397B-A17B is limited to 64,000 tokens.

Google
Gemini 3.1 Pro
Input1,048,576 tokens
Output65,536 tokens
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input262,144 tokens
Output64,000 tokens
Fri Jul 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Gemini 3.1 Pro and Qwen3.5-397B-A17B support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Gemini 3.1 Pro

Text
Images
Audio
Video

Qwen3.5-397B-A17B

Text
Images
Audio
Video

License

Usage and distribution terms

Gemini 3.1 Pro is licensed under a proprietary license, while Qwen3.5-397B-A17B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Gemini 3.1 Pro

Proprietary

Closed source

Qwen3.5-397B-A17B

Apache 2.0

Open weights

Release Timeline

When each model was launched

Gemini 3.1 Pro was released on 2026-02-19, while Qwen3.5-397B-A17B was released on 2026-02-16.

Gemini 3.1 Pro is 0 month newer than Qwen3.5-397B-A17B.

Gemini 3.1 Pro

Feb 19, 2026

4 months ago

3d newer
Qwen3.5-397B-A17B

Feb 16, 2026

5 months ago

Knowledge Cutoff

When training data ends

Gemini 3.1 Pro has a documented knowledge cutoff of 2025-01-31, while Qwen3.5-397B-A17B's cutoff date is not specified.

We can confirm Gemini 3.1 Pro's training data extends to 2025-01-31, but cannot make a direct comparison without Qwen3.5-397B-A17B's cutoff date.

Gemini 3.1 Pro

Jan 2025

Qwen3.5-397B-A17B

Provider Availability

Gemini 3.1 Pro is available from Google. Qwen3.5-397B-A17B is available from Novita.

Gemini 3.1 Pro

google logo
Google
Input Price:Input: $2.50/1MOutput Price:Output: $15.00/1M

Qwen3.5-397B-A17B

novita logo
Novita
Input Price:Input: $0.60/1MOutput Price:Output: $3.60/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Larger context window (1,048,576 tokens)
Higher BrowseComp score (85.9% vs 69.0%)
Higher GDPval-AA score (32.5% vs 32.0%)
Higher GPQA score (94.3% vs 88.4%)
Higher Humanity's Last Exam score (51.4% vs 28.7%)
Higher MMMLU score (92.6% vs 88.5%)
Higher SWE-Bench Verified score (80.6% vs 76.4%)
Higher t2-bench score (99.3% vs 86.7%)
Higher Terminal-Bench 2.0 score (68.5% vs 52.5%)
Alibaba Cloud / Qwen Team

Qwen3.5-397B-A17B

View details

Alibaba Cloud / Qwen Team

Less expensive input tokens
Less expensive output tokens
Has open weights

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Gemini 3.1 Pro and Qwen3.5-397B-A17B side-by-side, then vote on the output you prefer.

Gemini 3.1 Pro
✓ Preferred
Qwen3.5-397B-A17B
Open in Playground
AI Model Comparison Table
Feature
Google
Gemini 3.1 Pro
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B

FAQ

Common questions about Gemini 3.1 Pro vs Qwen3.5-397B-A17B.

Which is better, Gemini 3.1 Pro or Qwen3.5-397B-A17B?

Gemini 3.1 Pro significantly outperforms across most benchmarks. Gemini 3.1 Pro is made by Google and Qwen3.5-397B-A17B is made by Alibaba Cloud / Qwen Team. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Gemini 3.1 Pro compare to Qwen3.5-397B-A17B in benchmarks?

Gemini 3.1 Pro scores t2-bench: 99.3%, LiveCodeBench Pro: 96.2%, GPQA: 94.3%, MMMLU: 92.6%, BrowseComp: 85.9%. Qwen3.5-397B-A17B scores MMLU-Redux: 94.9%, HMMT 2025: 94.8%, C-Eval: 93.0%, HMMT25: 92.7%, IFEval: 92.6%.

Is Gemini 3.1 Pro cheaper than Qwen3.5-397B-A17B?

Qwen3.5-397B-A17B is 4.2x cheaper for input tokens. Gemini 3.1 Pro costs $2.50/M input and $15.00/M output via google. Qwen3.5-397B-A17B costs $0.60/M input and $3.60/M output via novita.

What are the context window sizes for Gemini 3.1 Pro and Qwen3.5-397B-A17B?

Gemini 3.1 Pro supports 1.0M tokens and Qwen3.5-397B-A17B supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Gemini 3.1 Pro and Qwen3.5-397B-A17B?

Key differences include context window (1.0M vs 262K), input pricing ($2.50 vs $0.60/M), licensing (Proprietary vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Gemini 3.1 Pro and Qwen3.5-397B-A17B?

Gemini 3.1 Pro is developed by Google and Qwen3.5-397B-A17B is developed by Alibaba Cloud / Qwen Team.