DeepSeek V3 vs Gemma 4 31B

At a Glance

Compare
DeepSeek V3DeepSeek
Gemma 4 31BGoogle DeepMind
Pricing and Limits
Input priceFrom · USD / 1M tokens$0.2574Openrouter · Aug 29, 2026$0.090Openrouter · Sep 23, 2026
Output priceFrom · USD / 1M tokens$0.89Deepinfra · Sep 23, 2026$0.34Openrouter · Sep 23, 2026
Context windowMaximum documented tokens164K262K
Model facts checkedAug 28, 2026View model evidence →Sep 3, 2026View model evidence →

Token prices are the lowest available sourced USD rates; input and output may use different providers. Cost ranking estimates output spend on LiveBench, not a full request bill. Ranking methodology →

Available Benchmarks

All benchmark results →
BenchmarkDeepSeek-V3Gemma 4 31B
LMArena Text Arenatext-2026-09-13-d25aabda0010 · arena_rating · leader1,332.3992% of row best · rating · deepseek-v3; 95% CI [1327.66209525, 1337.12686082]; votes 21770; rank 2091,441.68100% of row best · rating · gemma-4-31b; 95% CI [1434.13929794, 1449.22204224]; votes 5894; rank 64
Overall ResultCounted from the protocol-matched rows above0 benchmark winsNo overall winner1 benchmark winNo overall winner

Third-party benchmark Only like-for-like primary-publisher results are shown; raw scores, relative scores, configuration, and token spend remain visible.

Side-by-Side Facts

FieldDeepSeek-V3Gemma 4 31B
DeveloperDeepSeekGoogle DeepMind
FamilyDeepseek V3Gemma 4
ModelDeepSeek-V3Gemma 4 31B
VersionDeepSeek-V3Gemma 4 31B
Lifecycleactiveactive
Released2024-12-262026-03-11
Knowledge cutoffUnknownUnknown
Input modalitiesTextText, Image
Output modalitiesTextText
Context window164K262K
Total parameters684.5B31B
Active parameters37BUnknown
LicenseUnknownapache-2.0
Open weightsYesYes
API availableYesYes
Self-hostableYesYes
Provider accessDeepinfra (Standard), Hugging Face (Standard), Openrouter (Standard)Cerebras (Standard), Deepinfra (Standard), Google Gemini (Standard), Openrouter (Standard), Together Ai (Standard)
Capabilitieschat, generationchat, generation, reasoning, structured_outputs, tools

DeepSeek V3 Capabilities

chatgeneration
Serving providers3
Canonical IDdeepseek-ai/DeepSeek-V3

Gemma 4 31B Capabilities

chatgenerationreasoningstructured outputstools
Serving providers5
Canonical IDgoogle/gemma-4-31B-it

Primary Evidence

Sources and Freshness

Questions

DeepSeek V3 vs Gemma 4 31B FAQs

Is DeepSeek V3 or Gemma 4 31B better for coding?+

This comparison does not currently contain a protocol-matched coding benchmark for both DeepSeek V3 and Gemma 4 31B, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.

Which is cheaper, DeepSeek V3 or Gemma 4 31B?+

DeepSeek V3 is $0.2574 and Gemma 4 31B is $0.090 per million tokens, so Gemma 4 31B is cheaper on this metric. DeepSeek V3 is $0.89 and Gemma 4 31B is $0.34 per million tokens, so Gemma 4 31B is cheaper on this metric.

Which has a larger context window, DeepSeek V3 or Gemma 4 31B?+

Gemma 4 31B has the larger sourced context window. DeepSeek V3 supports 164K and Gemma 4 31B supports 262K.

Which performs better in benchmarks, DeepSeek V3 or Gemma 4 31B?+

There is no overall benchmark winner: At least two independently verified, protocol-matched benchmarks are required for an overall winner.

Can DeepSeek V3 or Gemma 4 31B be self-hosted?+

Both models have the same recorded self-hosting status: supported. DeepSeek V3 is open weight; Gemma 4 31B is open weight.

Can DeepSeek V3 and Gemma 4 31B understand images?+

DeepSeek V3 is not documented with image input; Gemma 4 31B is documented with image input. This reflects supported input modalities, not vision quality.

Which can generate longer answers, DeepSeek V3 or Gemma 4 31B?+

Neither has a larger sourced maximum output. DeepSeek V3 is — and Gemma 4 31B is —.

Do DeepSeek V3 and Gemma 4 31B support reasoning and tool use?+

DeepSeek V3: none of these features are definitively sourced. Gemma 4 31B: reasoning, tool calling, and image input. Feature support does not establish relative quality.

Which is available from more inference providers, DeepSeek V3 or Gemma 4 31B?+

DeepSeek V3 has 3 sourced provider routes; Gemma 4 31B has 5, so Gemma 4 31B has broader tracked availability.

Which offers better value, DeepSeek V3 or Gemma 4 31B?+

There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.

Send Feedback