█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Gemma 4

Google का open-weight, Apache 2.0 मॉडल परिवार — edge से workstation तक frontier-स्तर की reasoning।

संक्षेप में

What is Gemma 4?

Gemma 4 is an open-weight model from Google. Google released it on 2 April 2026. It has a 256K-token context window. You can use it through OpenRouter, Hugging Face and Ollama.

पुराना संस्करण
Gemma 3n · 26 जून 2025
कहाँ इस्तेमाल करें
OpenRouter · Hugging Face · Ollama · NVIDIA NIM
अपडेट किया गया 3 स्रोतों से जाँचा गयाMarkdown वर्शन ↗
इस पेज को उद्धृत करेंAI/TLDR, "Gemma 4: specs, pricing and benchmarks", https://ai-tldr.dev/models/gemma-4/ (updated 21 June 2026)
// तथ्यके अनुसार 21 जून 2026
कॉन्टेक्स्ट विंडो256K[1]
इनपुट कीमत$0.12 / 1M tokens[2]
आउटपुट कीमत$0.35 / 1M tokens[2]
लाइसेंसApache 2.0 · open weights[1]
रिलीज़ हुआ2 अप्रैल 2026[3]
पैरामीटर30.7B (31B dense flagship); परिवार में on-device E2B/E4B और 26B MoE (3.8B active) शामिल हैं[1]
नॉलेज कटऑफ़जनवरी 2025[1]
  1. [1] ai.google.dev Gemma 4 model card (Google AI for Developers)
  2. [2] openrouter.ai Gemma 4 31B API pricing (OpenRouter)
  3. [3] blog.google Announcement: Gemma 4 (Google blog)
Gemma (open weights)ओपन वेट्सउपलब्ध
रिलीज़ हुआ
2 अप्रैल 2026
कॉन्टेक्स्ट
256K
पैरामीटर
30.7B (31B dense flagship); परिवार में on-device E2B/E4B और 26B MoE (3.8B active) शामिल हैं
इनपुट
$0.12 / 1M tokens per 1M tokens (gemma-4-31b-it via OpenRouter; weights are free to self-host)
लाइसेंस
Apache 2.0
कवरेज
8 stories

सारांश

Gemma 4 Google DeepMind का open-weight मॉडल परिवार है, जिसे 2 April 2026 को व्यावसायिक इस्तेमाल की छूट देने वाले Apache 2.0 लाइसेंस के तहत रिलीज़ किया गया। यह अलग-अलग deployment ज़रूरतों के लिए चार साइज़ में आया है: on-device E2B (2.3B effective) और E4B (4.5B effective) मॉडल, 26B का Mixture-of-Experts मॉडल जो inference के समय सिर्फ़ ~3.8B parameters active करता है, और 31B का dense flagship (30.7B parameters)। Weights Hugging Face, Kaggle और Ollama से डाउनलोड किए जा सकते हैं, और transformers, llama.cpp, vLLM, MLX व LiteRT-LM में पहले दिन से सपोर्ट मौजूद है। Encoder-free unified 12B वेरिएंट 3 June 2026 को अलग से जोड़ा गया और उसका अपना पेज है।

31B dense मॉडल इस लाइन का flagship है। यह टेक्स्ट और इमेज इनपुट (variable resolution के साथ) लेता है, टेक्स्ट आउटपुट देता है और 256K-token की context window देता है। पूरे परिवार में सभी मॉडल इमेज और वीडियो को natively प्रोसेस करते हैं; छोटे E2B और E4B मॉडल में speech recognition और समझ के लिए native ऑडियो इनपुट भी है। Gemma 4 को 140 से ज़्यादा भाषाओं पर train किया गया है और इसमें native function calling, configurable thinking modes और system-prompt सपोर्ट मिलता है।

Open weights और छोटे footprint के बावजूद Gemma 4 मॉडल अपने साइज़ से कहीं बेहतर प्रदर्शन करते हैं: Google के मुताबिक 31B LMArena text leaderboard पर टॉप-3 open मॉडल में है और 26B MoE #6 पर, और बिना quantize किए bfloat16 वाले 31B weights एक 80GB NVIDIA H100 पर आ जाते हैं। सुझाई गई sampling settings हैं: temperature 1.0, top_p 0.95 और top_k 64। Knowledge cutoff January 2025 है।

रिलीज़ हुआ2 अप्रैल 2026
लाइसेंसApache 2.0
वेट्सओपन वेट्स
पैरामीटर30.7B (31B dense flagship); परिवार में on-device E2B/E4B और 26B MoE (3.8B active) शामिल हैं
कॉन्टेक्स्ट256K
आर्किटेक्चरDecoder-only transformer, जिसमें hybrid attention है: यह local sliding-window और पूरे global attention को बारी-बारी से इस्तेमाल करता है (आख़िरी layer हमेशा global रहती है)। Flagship 30.7B का dense मॉडल है; परिवार में 26B का Mixture-of-Experts वेरिएंट (128 experts, 8 active + 1 shared, ~3.8B active params) और Per-Layer Embeddings (PLE) इस्तेमाल करने वाले E2B/E4B on-device मॉडल भी हैं। Global layers में unified KV और Proportional RoPE (p-RoPE) इस्तेमाल होता है।
नॉलेज कटऑफ़जनवरी 2025
मोडैलिटीटेक्स्ट, विज़न, ऑडियो, वीडियो
स्थितिउपलब्ध

बेंचमार्क

Scatter chart titled 'Model Performance VS Size' plotting Elo Score (Arena.ai chat arena, as of 4/1) against total model size in billions of parameters. Gemma 4 31B-thinking and Gemma 4 26B-A4B-thinking are highlighted in blue against named competitors: glm-5, kimi-k2.5-thinking, qwen3.5-397b-a17b, deepseek-v3.2-exp-thinking, qwen3.5-122b-a10b, mistral-large-3, qwen3.5-27b, and gpt-oss-120b.
Open model performance vs size on Arena.ai's chat arena as of 4/1. — Google
Benchmark table comparing Gemma 4 variants (31B IT, 26B A4B IT, E4B IT, E2B IT, all Thinking) against Gemma 3 27B IT across Arena AI text, MMMLU, MMMU Pro, AIME 2026, LiveCodeBench v6, GPQA Diamond, and tau2-bench.
Gemma 4 benchmark results across datasets, with Arena AI Elo and Gemma 3 27B IT for reference. — Google

Gemma 4 के वेरिएंट और Gemma 3 27B IT के बीच Gemma 4 benchmark तुलना (Google blog की टेबल)।

बेंचमार्कGemma 4 31B IT (Thinking)Gemma 4 26B A4B IT (Thinking)Gemma 4 E4B IT (Thinking)Gemma 4 E2B IT (Thinking)Gemma 3 27B IT
Arena AI (text), as of 4/2/261452 Elo1441 Elo——1365 Elo
MMMLU (Multilingual Q&A, no tools)85.2%82.6%69.4%60%67.6%
MMMU Pro (Multimodal reasoning)76.9%73.8%52.6%44.2%49.7%
AIME 2026 (Mathematics, no tools)89.2%88.3%42.5%37.5%20.8%
LiveCodeBench v6 (Competitive coding)80%77.1%52%44%29.1%
GPQA Diamond (Scientific knowledge, no tools)84.3%82.3%58.6%43.4%42.4%
τ2-bench (Agentic tool use, Retail)86.4%85.5%57.5%29.4%6.6%

तुलना का स्रोत ↗

इस मॉडल के स्कोर

  1. AIME 2026 (math, no tools)89.2%
  2. GPQA Diamond84.3%
  3. MMLU Pro85.2%
  4. LiveCodeBench v680%
  5. MMMU Pro (Vision)76.9%
  6. MRCR v2 (Long Context)66.4%

स्कोर 0–100 के पैमाने पर हैं (25 अंकों की ग्रिड लाइनें); ज़्यादा बेहतर है। हर benchmark अपने प्रकाशित स्रोत से जुड़ा है।

कीमत

इनपुट$0.12 / 1M tokens per 1M tokens (gemma-4-31b-it via OpenRouter; weights are free to self-host)
आउटपुट$0.35 / 1M tokens per 1M tokens (gemma-4-31b-it via OpenRouter; weights are free to self-host)

Gemma 4 के weights open हैं और Apache 2.0 के तहत मुफ़्त डाउनलोड व self-host किए जा सकते हैं। यहाँ दिया गया प्राइस OpenRouter पर 31B instruct मॉडल के hosted-inference का रेट है; रेट provider के हिसाब से बदलते हैं (Artificial Analysis ~$0.08/1M से शुरू होने वाले blended प्राइस दिखाता है)। लॉन्च के समय Google ने Gemma 4 को Vertex AI की managed pricing लिस्ट में नहीं जोड़ा था।

कीमत का स्रोत ↗

खूबियाँ

  • Permissive Apache 2.0 लाइसेंस के तहत सच में open weights, जिनसे बिना किसी custom Gemma लाइसेंस के व्यावसायिक इस्तेमाल, fine-tuning और self-hosting की अनुमति मिलती है
  • एक ही परिवार पूरी deployment रेंज को कवर करता है — browser/edge (E2B/E4B) से लेकर consumer GPU और एक अकेले H100 (31B) तक
  • अपने साइज़ के हिसाब से दमदार reasoning और math (31B पर 89.2% AIME 2026, 84.3% GPQA Diamond) और coding के भी अच्छे स्कोर
  • लंबे दस्तावेज़ों और long-context कामों के लिए बड़े मॉडलों में 256K-token context
  • Native multimodal इनपुट (पूरे परिवार में इमेज + वीडियो; E2B/E4B में ऑडियो) और 140+ भाषाओं का कवरेज
  • पहले दिन से ecosystem सपोर्ट: Hugging Face transformers, llama.cpp, vLLM, MLX, Ollama, LiteRT-LM
  • कम मेमोरी में inference के लिए किफ़ायती MoE विकल्प (26B, ~3.8B active के साथ) और PLE-आधारित on-device मॉडल

इसके लिए सर्वश्रेष्ठ

  • Self-hosted और on-premise LLM deployments, जहाँ डेटा प्राइवेट रहना ज़रूरी है
  • E2B/E4B मॉडल से on-device और edge AI (मोबाइल, browser)
  • Permissive लाइसेंस के तहत किसी खास डोमेन के कामों के लिए सक्षम base/instruct मॉडल को fine-tune करना
  • ऐसे multimodal ऐप्लिकेशन जिन्हें इमेज, वीडियो या ऑडियो समझना होता है
  • 256K window के साथ लंबे दस्तावेज़ों का विश्लेषण और retrieval-augmented generation
  • Open weights पर बने math, reasoning और coding असिस्टेंट
  • 140+ भाषाओं में चलने वाले multilingual ऐप्लिकेशन

कैसे एक्सेस करें

प्रोवाइडरमॉडल ID
OpenRouter ↗google/gemma-4-31b-it
Hugging Face ↗google/gemma-4-31B
Ollama ↗gemma4
NVIDIA NIM ↗google/gemma-4-31b-it

Gemma (open weights) — every version

The full lineage of the Gemma (open weights) line, newest first. Every version has its own page — click any to compare specs, benchmarks and pricing.

वर्शनरिलीज़ हुआकॉन्टेक्स्टलाइसेंस
Gemma 4 12Bमौजूदा3 जून 2026256KApache-2.0
Gemma 42 अप्रैल 2026—Apache-2.0
Gemma 3n26 जून 2025—ओपन वेट्स
Gemma 312 मार्च 2025—ओपन वेट्स
Gemma 227 जून 2024—ओपन वेट्स
Gemma 121 फ़र॰ 2024—ओपन वेट्स

Gemma 4 in the news

  1. 30 अक्टू॰ 2026उल्लेखनीयProject Suncatcher — Google's satellite runs Gemma 4 on a TPU in orbit
  2. 7 अग॰ 2026उल्लेखनीयTwo Minute Papers — DeepMind's Gemma 4 training trick 'everyone should copy'
  3. 29 जुल॰ 2026प्रमुखTurbo Fieldfare — Gemma 4 26B runs in about 2 GB of RAM on any M-series Mac
  4. 12 जून 2026उल्लेखनीयKyle Howells: How to set up a local coding agent on macOS — 72 tokens/sec on Gemma 4
  5. 5 जून 2026प्रमुखGoogle Ships Gemma 4 QAT Checkpoints — New Mobile Quantization Format Brings Gemma 4 E2B Under 1GB of RAM, Q4_0 Weights Land for E2B, E4B, 12B, and the 26B MoE on Hugging Face
  6. 1 जून 2026उल्लेखनीयA 10-Year-Old Xeon Is All You Need — Christina Sørensen Runs Gemma 4 26B-A4B MoE on a 2016 E5-2620 v4 With No GPU at ~12 Tokens/sec
  7. 21 मई 2026उल्लेखनीयFramedex — A 5-Year-Old MacBook Runs Gemma 4 31B Locally to Index a Year of Video Into a Plain-English Knowledge Base
  8. 5 मई 2026प्रमुखGemma 4 MTP Drafters — Open-Weight Speculative Decoding Boosts Inference Up To 3x

से AI/TLDR रिलीज़ फ़ीड — हर आइटम प्रकाशित होने पर स्रोत से सत्यापित होता है।

अक्सर पूछे जाने वाले प्रश्न

क्या Gemma 4 ओपन सोर्स है और क्या इसे व्यावसायिक रूप से मुफ़्त में इस्तेमाल कर सकते हैं?

Gemma 4 को Apache 2.0 लाइसेंस के तहत open-weight रिलीज़ किया गया है, जो व्यावसायिक इस्तेमाल, redistribution, fine-tuning और self-hosting की अनुमति देता है। पिछले Gemma रिलीज़ में custom Gemma लाइसेंस था, उसके उलट Apache 2.0 कंपनियों को काफ़ी खुली छूट देता है। Weights Hugging Face, Kaggle और Ollama से मुफ़्त डाउनलोड किए जा सकते हैं; आपको सिर्फ़ compute का खर्च देना होता है (अपना या किसी hosted provider का)।

Gemma 4 कितने साइज़ में आता है?

लॉन्च के समय चार साइज़: on-device और edge इस्तेमाल के लिए E2B (2.3B effective) और E4B (4.5B effective), 26B का Mixture-of-Experts मॉडल जो inference के समय ~3.8B parameters active करता है, और 31B का dense flagship (30.7B parameters)। E2B/E4B मॉडल में 128K context window है; 26B और 31B मॉडल 256K सपोर्ट करते हैं। Encoder-free 12B unified वेरिएंट 3 June 2026 को अलग से जोड़ा गया और उसका अपना पेज है।

Gemma 4 कौन-से modalities और भाषाएँ सपोर्ट करता है?

सभी Gemma 4 मॉडल टेक्स्ट, इमेज और वीडियो को natively प्रोसेस करते हैं; E2B और E4B मॉडल इसके अलावा ऑडियो इनपुट भी लेते हैं। आउटपुट सिर्फ़ टेक्स्ट होता है। मॉडल 140 से ज़्यादा भाषाओं पर train किए गए हैं और इनमें native function calling, configurable thinking modes और system-prompt सपोर्ट शामिल है।

बड़े मॉडलों की तुलना में Gemma 4 कितना अच्छा है?

Google के model card के मुताबिक 31B flagship AIME 2026 पर 89.2%, GPQA Diamond पर 84.3%, MMLU Pro पर 85.2% और LiveCodeBench v6 पर 80.0% स्कोर करता है, और Google इसे LMArena text leaderboard पर टॉप-3 open मॉडल बताता है। बिना quantize किया 31B एक 80GB H100 पर आ जाता है, और 26B MoE सिर्फ़ ~3.8B active parameters के साथ लगभग वैसी ही क्वालिटी देता है।