Model Comparison

DeepSeek-V4-Flash-Max vs Gemma 4 31BWhich is better in 2026?

DeepSeek-V4-Flash-Max significantly outperforms across most benchmarks. DeepSeek-V4-Flash-Max is 1.5x cheaper per token.

Verdict: DeepSeek-V4-Flash-Max vs Gemma 4 31B — which is better?

DeepSeek-V4-Flash-Max (by DeepSeek) and Gemma 4 31B (by Google) 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.

DeepSeek-V4-Flash-Max outperforms in 4 benchmarks (GDPval-AA, GPQA, Humanity's Last Exam, MMLU-Pro), while Gemma 4 31B is better at 0 benchmarks. DeepSeek-V4-Flash-Max significantly outperforms across most benchmarks.

On price, DeepSeek-V4-Flash-Max is roughly 1.5x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

DeepSeek-V4-Flash-Max also accepts a larger context window (1,048,576 input tokens), making it the stronger choice for long documents and large codebases.

Choose DeepSeek-V4-Flash-Max if…

  • you want the strongest raw capability — it leads on 4 of 4 shared benchmarks
  • cost matters — it's about 1.5x cheaper per token
  • you process long inputs — it offers a 1,048,576 token context window
  • you want the most recent training data — it shipped Apr 2026

Choose Gemma 4 31B if…

  • you want predictable pricing at $0.13/M input and $0.38/M output

Performance Benchmarks

Comparative analysis across standard metrics

4 benchmarks

DeepSeek-V4-Flash-Max outperforms in 4 benchmarks (GDPval-AA, GPQA, Humanity's Last Exam, MMLU-Pro), while Gemma 4 31B is better at 0 benchmarks.

DeepSeek-V4-Flash-Max significantly outperforms across most benchmarks.

Fri Jul 17 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

DeepSeek-V4-Flash-Max costs less

For input processing, DeepSeek-V4-Flash-Max ($0.10/1M tokens) is 1.3x cheaper than Gemma 4 31B ($0.13/1M tokens).

For output processing, DeepSeek-V4-Flash-Max ($0.20/1M tokens) is 1.9x cheaper than Gemma 4 31B ($0.38/1M tokens).

In conclusion, Gemma 4 31B is more expensive than DeepSeek-V4-Flash-Max.*

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

Lowest available price from all providers
Fri Jul 17 2026 • llm-stats.com
DeepSeek
DeepSeek-V4-Flash-Max
Input tokens$0.10
Output tokens$0.20
Best providerDeepinfra
Google
Gemma 4 31B
Input tokens$0.13
Output tokens$0.38
Best providerDeepinfra
Notice missing or incorrect data?Start an Issue

Model Size

Parameter count comparison

253.3B diff

DeepSeek-V4-Flash-Max has 253.3B more parameters than Gemma 4 31B, making it 825.1% larger.

DeepSeek
DeepSeek-V4-Flash-Max
284.0Bparameters
Google
Gemma 4 31B
30.7Bparameters
284.0B
DeepSeek-V4-Flash-Max
30.7B
Gemma 4 31B

Context Window

Maximum input and output token capacity

DeepSeek-V4-Flash-Max accepts 1,048,576 input tokens compared to Gemma 4 31B's 262,144 tokens. Gemma 4 31B can generate longer responses up to 131,072 tokens, while DeepSeek-V4-Flash-Max is limited to 65,536 tokens.

DeepSeek
DeepSeek-V4-Flash-Max
Input1,048,576 tokens
Output65,536 tokens
Google
Gemma 4 31B
Input262,144 tokens
Output131,072 tokens
Fri Jul 17 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Gemma 4 31B supports multimodal inputs, whereas DeepSeek-V4-Flash-Max does not.

Gemma 4 31B can handle both text and other forms of data like images, making it suitable for multimodal applications.

DeepSeek-V4-Flash-Max

Text
Images
Audio
Video

Gemma 4 31B

Text
Images
Audio
Video

License

Usage and distribution terms

DeepSeek-V4-Flash-Max is licensed under MIT, while Gemma 4 31B uses Apache 2.0.

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

DeepSeek-V4-Flash-Max

MIT

Open weights

Gemma 4 31B

Apache 2.0

Open weights

Release Timeline

When each model was launched

DeepSeek-V4-Flash-Max was released on 2026-04-23, while Gemma 4 31B was released on 2026-04-02.

DeepSeek-V4-Flash-Max is 1 month newer than Gemma 4 31B.

DeepSeek-V4-Flash-Max

Apr 23, 2026

2 months ago

3w newer
Gemma 4 31B

Apr 2, 2026

3 months ago

Knowledge Cutoff

When training data ends

Gemma 4 31B has a documented knowledge cutoff of 2025-01-01, while DeepSeek-V4-Flash-Max's cutoff date is not specified.

We can confirm Gemma 4 31B's training data extends to 2025-01-01, but cannot make a direct comparison without DeepSeek-V4-Flash-Max's cutoff date.

DeepSeek-V4-Flash-Max

Gemma 4 31B

Jan 2025

Provider Availability

DeepSeek-V4-Flash-Max is available from DeepInfra, DeepSeek, Fireworks, Novita. Gemma 4 31B is available from DeepInfra, FriendliAI, Novita, Together.

DeepSeek-V4-Flash-Max

deepinfra logo
Deepinfra
Input Price:Input: $0.10/1MOutput Price:Output: $0.20/1M
deepseek logo
DeepSeek
Input Price:Input: $0.14/1MOutput Price:Output: $0.28/1M
fireworks logo
Fireworks
Input Price:Input: $0.14/1MOutput Price:Output: $0.28/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.28/1M

Gemma 4 31B

deepinfra logo
Deepinfra
Input Price:Input: $0.13/1MOutput Price:Output: $0.38/1M
friendli logo
FriendliAI
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
together logo
Together
Input Price:Input: $0.39/1MOutput Price:Output: $0.97/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)
Less expensive input tokens
Less expensive output tokens
Higher GDPval-AA score (40.1% vs 26.1%)
Higher GPQA score (88.1% vs 84.3%)
Higher Humanity's Last Exam score (45.1% vs 26.5%)
Higher MMLU-Pro score (86.2% vs 85.2%)
Supports multimodal inputs

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against DeepSeek-V4-Flash-Max and Gemma 4 31B side-by-side, then vote on the output you prefer.

DeepSeek-V4-Flash-Max
✓ Preferred
Gemma 4 31B
Open in Playground
AI Model Comparison Table
Feature
DeepSeek
DeepSeek-V4-Flash-Max
Google
Gemma 4 31B

FAQ

Common questions about DeepSeek-V4-Flash-Max vs Gemma 4 31B.

Which is better, DeepSeek-V4-Flash-Max or Gemma 4 31B?

DeepSeek-V4-Flash-Max significantly outperforms across most benchmarks. DeepSeek-V4-Flash-Max is made by DeepSeek and Gemma 4 31B is made by Google. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does DeepSeek-V4-Flash-Max compare to Gemma 4 31B in benchmarks?

DeepSeek-V4-Flash-Max scores CodeForces: 100.0%, HMMT Feb 26: 94.8%, LiveCodeBench: 91.6%, IMO-AnswerBench: 88.4%, GPQA: 88.1%. Gemma 4 31B scores AIME 2026: 89.2%, MMMLU: 88.4%, t2-bench: 86.4%, MathVision: 85.6%, MMLU-Pro: 85.2%.

Is DeepSeek-V4-Flash-Max cheaper than Gemma 4 31B?

DeepSeek-V4-Flash-Max is 1.3x cheaper for input tokens. DeepSeek-V4-Flash-Max costs $0.10/M input and $0.20/M output via deepinfra. Gemma 4 31B costs $0.13/M input and $0.38/M output via deepinfra.

What are the context window sizes for DeepSeek-V4-Flash-Max and Gemma 4 31B?

DeepSeek-V4-Flash-Max supports 1.0M tokens and Gemma 4 31B 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 DeepSeek-V4-Flash-Max and Gemma 4 31B?

Key differences include context window (1.0M vs 262K), input pricing ($0.10 vs $0.13/M), multimodal support (no vs yes), licensing (MIT vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes DeepSeek-V4-Flash-Max and Gemma 4 31B?

DeepSeek-V4-Flash-Max is developed by DeepSeek and Gemma 4 31B is developed by Google.