Skip to content
llmmodels

DeepSeek-V3.1 vs Gemma 4 31B IT

Gemma 4 31B IT wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (144.1 vs 140.9). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Gemma 4 31B IT has the larger context window (256K vs 128K).

SpecDeepSeek-V3.1Gemma 4 31B IT
ProviderDeepSeekGoogle DeepMind
ReleasedAug 21, 2025Apr 2, 2026 (better)
TypeReasoning LLMReasoning LLM
Parameters685B31B
Context window128K256K (better)
Max output8K32K (better)
Input price / 1M$0.2Free (better)
Output price / 1M$0.7Free (better)
Input modalitiestexttext, image, video (better)
Open weightsYesYes
Licensemitapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers1651 (better)
Epoch Capabilities Index140.9144.1 (better)
GPQA Diamond—75.8%
WebDev Arena—1364
OTIS Mock AIME—73.3%
SimpleQA Verified—10.4%

Cost example

For a workload of 10M input + 2M output tokens per month: DeepSeek-V3.1 costs $3.40 and Gemma 4 31B IT costs $0.00 at list price (nano-gpt / google pricing).

About DeepSeek-V3.1

DeepSeek-V3.1 is an open-weight reasoning llm from DeepSeek, released Aug 21, 2025. It has 685B parameters and a 128K-token context window. API pricing starts at $0.2 per million input tokens and $0.7 per million output tokens. It is available from 16 API providers. It scores 140.9 on the Epoch Capabilities Index. Full DeepSeek-V3.1 specs →

About Gemma 4 31B IT

Gemma 4 31B IT is an open-weight reasoning llm from Google DeepMind, released Apr 2, 2026. It has 31B parameters, a 256K-token context window and accepts text, image, video input. It can be used for free via API. It is available from 51 API providers. It scores 144.1 on the Epoch Capabilities Index. Full Gemma 4 31B IT specs →

Compare other models

FAQ

Which is better, DeepSeek-V3.1 or Gemma 4 31B IT?

Gemma 4 31B IT wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (144.1 vs 140.9). Gemma 4 31B IT is slightly cheaper on a blended (3:1 input:output) token price. Gemma 4 31B IT has the larger context window (256K vs 128K).

Is DeepSeek-V3.1 cheaper than Gemma 4 31B IT?

DeepSeek-V3.1 costs $0.2 input / $0.7 output per 1M tokens; Gemma 4 31B IT costs Free / Free. Gemma 4 31B IT is cheaper overall.

Which has a bigger context window?

DeepSeek-V3.1: 131,072 tokens. Gemma 4 31B IT: 262,144 tokens.

Are DeepSeek-V3.1 and Gemma 4 31B IT open source?

DeepSeek-V3.1 is open-weight; Gemma 4 31B IT is open-weight.