DeepSeek V4 Pro 0813 vs Gemma 4 31B IT

DeepSeek V4 Pro 0813 (DeepSeek, August 2026) and Gemma 4 31B IT (Google DeepMind, April 2026), compared on price, context window, access and specs. They cost the same: $0.29 in and $4.40 out per million tokens. DeepSeek V4 Pro 0813 reads more at once: a 1.05M-token context window against 262K.

Updated 5 December 2026 · read each row across; the best value in a row is marked

At a glance

Released
13 August 2026
2 April 2026
Access
Open weights (unrestricted)
Open weights (restricted use)
Country
China
United States of America

Price and API

Input, per 1M tokens
$0.29on OpenRouter
$0on Google AI StudioLowest
Output, per 1M tokens
$2.60on DeepInfra
$0on Google AI StudioLowest
Official API id
Not listed
google/gemma-4-31b-it
Context window
1.05M tokensLargest
262K tokens
Max output
393K tokensLargest
33K tokens
Takes
Text
Text, Image
Returns
Text
Text
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
1.6T1,600,000,000,000Largest
31B31,000,000,000
Training compute
9.7 × 10²⁴ FLOP
Not listed
Confidence
Confident
Likely

Notes

Parameters
1.6T total, 49B active
Not listed
Training compute
From https://api-docs.deepseek.com/news/news260813/: built on the DeepSeek-V4-Pro (Preview) model structure with a DSpark speculative-decoding module; agent-focused post-training upgrades. Pre-training compute carried over from DeepSeek-V4-Pro (6 * 49e9 active parameters * 33e12 tokens = 9.702E24).
Not listed

In their own words

Abstract
DeepSeek-V4-Pro-0813 is the official release of DeepSeek-V4-Pro, superseding the preview version released 2026-04-24. Same core architecture (1.6T total / 49B active parameters) with a DSpark speculative decoding module, major agent upgrades, and low/high/max reasoning settings. Open weights (MIT) on Hugging Face.Read all
We introduce Gemma 4, a new generation of open-weight, natively multimodal language models in the Gemma model family. Designed to advance compute efficiency and reasoning, the Gemma 4 model suite features dense and Mixture-of-Experts architectures, ranging from 2.3B to 31B parameters. Alongside improved vision and audio encoders for all model sizes, we propose a unified, encoder-free architecture for our 12B model, which ingests raw audio and image patches. Furthermore, we integrate a thinking mode, enabling Gemma models to generate reasoning traces prior to responding. We improve inference speed, memory, and compute efficiency, as well as long-context abilities through critical design choices. Gemma 4 establishes a leap in performance across STEM, multimodal, and long-context benchmarks, and rivals larger, frontier open models in human-rated tasks.Read all
Authors
Not listed
Sherif El Abd, Vaibhav Aggarwal, Robin Algayres, Alek Andreev, Olivier Bachem, Ian Ballantyne, Cormac Brick, Victor Cărbune and 314 more

Which should you pick?

Long documents, codebases or transcripts
DeepSeek V4 Pro 0813 · 1.05M tokens of context, 4× more than Gemma 4 31B IT.
Long answers in one response
DeepSeek V4 Pro 0813 · Up to 393K output tokens per response.
Reading images and screenshots
Gemma 4 31B IT · Accepts image input through the API.

Questions people ask

Is DeepSeek V4 Pro 0813 better than Gemma 4 31B IT?

It depends on the job. For long documents, codebases or transcripts, DeepSeek V4 Pro 0813 has the edge: 1.05M tokens of context, 4× more than Gemma 4 31B IT. For long answers in one response, DeepSeek V4 Pro 0813 has the edge: up to 393K output tokens per response. For reading images and screenshots, Gemma 4 31B IT has the edge: accepts image input through the API. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: DeepSeek V4 Pro 0813 or Gemma 4 31B IT?

They are priced the same, at $0.29 in and $4.40 out per million tokens.

Which has the bigger context window?

DeepSeek V4 Pro 0813, with 1.05M tokens; Gemma 4 31B IT takes 262K. A larger window lets one request hold longer documents or conversations.

Where can I use DeepSeek V4 Pro 0813 and Gemma 4 31B IT through one API?

OpenRouter, DeepInfra and Hugging Face serve all of them, so you can switch models without opening another account.

When were they released?

DeepSeek V4 Pro 0813 in August 2026 and Gemma 4 31B IT in April 2026.

Other comparisons