Gemma 4 31B IT vs Kimi K3

Gemma 4 31B IT (Google DeepMind, April 2026) and Kimi K3 (Moonshot, July 2026), compared on price, context window, access and specs. They cost the same: free. Kimi K3 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

Kimi K3

Moonshot

At a glance

Released
2 April 2026
16 July 2026
Access
Open weights (restricted use)
Open weights (non-commercial)
Country
United States of America
China

Price and API

Input, per 1M tokens
$0on Google AI StudioLowest
$0.19on OpenRouter
Output, per 1M tokens
$0on Google AI StudioLowest
$9.60on Hugging Face
Official API id
google/gemma-4-31b-it
moonshotai/kimi-k3
Context window
262K tokens
1.05M tokensLargest
Max output
33K tokens
1.05M tokensLargest
Takes
Text, Image
Text, Image, Video
Returns
Text
Text
Supports
ReasoningTool callingStructured outputFile inputOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
31B31,000,000,000
2.8T2,800,000,000,000Largest
Training compute
Not listed
2 × 10²⁵ FLOP
Confidence
Likely
Speculative

Notes

Parameters
Not listed
104 billion active parameters
Training compute
Not listed
Based on peer models such as Kimi K2.6 and DeepSeek V4 Pro, plausibly was trained on roughly 30T tokens (likely between 15T and 60T). Using the heuristic that C = 6ND, 30T pretraining tokens would imply ~1.9e25 FLOP. This is a somewhat uncertain estimate (more uncertain than estimates based on disclosed active params and token counts, but comparable to estimates based on disclosed GPU-hours). K3 was likely pretrained on over 1e25 FLOP. Speculatively, K3's relatively large size compared to other Chinese models may have reduced the training token budget vs smaller models.
Access
Not listed
Kimi K3 license requires that if K3 is used for a product with >100M MAU or >$20M monthly revenue, that the licensee enter a separate agreement with Moonshot. Therefore, the license does not grant free commercial use for all users, though commercial use is free for smaller companies. https://huggingface.co/moonshotai/Kimi-K3/blob/main/LICENSE

In their own words

Abstract
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
Today, we are introducing Kimi K3 — our most capable model. Kimi K3 is a 2.8T-parameter model built on our Kimi Delta Attention and Attention Residuals, with native vision capabilities and a 1-million-token context window. It is the world's first open 3T-class model, designed for frontier intelligence across long-horizon coding, knowledge work, and reasoning.Read all
Authors
Sherif El Abd, Vaibhav Aggarwal, Robin Algayres, Alek Andreev, Olivier Bachem, Ian Ballantyne, Cormac Brick, Victor Cărbune and 314 more
Not listed

Which should you pick?

Long documents, codebases or transcripts
Kimi K3 · 1.05M tokens of context, 4× more than Gemma 4 31B IT.
Long answers in one response
Kimi K3 · Up to 1.05M output tokens per response.

Questions people ask

Is Gemma 4 31B IT better than Kimi K3?

It depends on the job. For long documents, codebases or transcripts, Kimi K3 has the edge: 1.05M tokens of context, 4× more than Gemma 4 31B IT. For long answers in one response, Kimi K3 has the edge: up to 1.05M output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: Gemma 4 31B IT or Kimi K3?

They are priced the same, at free.

Which has the bigger context window?

Kimi K3, 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 Gemma 4 31B IT and Kimi K3 through one API?

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

When were they released?

Gemma 4 31B IT in April 2026 and Kimi K3 in July 2026.

Other comparisons