Magica logo

Gemma 4 31B vs Grok 4.3 (Comparative Analysis)

Loading comparison form...
Comparative Analysis: Gemma 4 31B vs. Grok 4.3
Want to try out these models side by side?Try Magica for free

Overview

Gemma 4 31B was released 28 days before Grok 4.3.
Gemma 4 31BGemma 4 31B
Grok 4.3Grok 4.3
Model Provider
The organization behind this AI's development
Google logoGoogle
XAI logoXAI
Input Context Window
Maximum input tokens this model can process at once
262.1K
tokens
1M
tokens
Output Token Limit
Maximum output tokens this model can generate at once
262.1K
tokens
Not specified
tokens
Release Date
When this model first became publicly available
April 2nd, 2026
April 30th, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Gemma 4 31B
Grok 4.3
Input Types
Supported input formats
🖼️Image📝Text🎬Video
📝Text🖼️Image📁File
Reasoning Controls
Defaults and configurable reasoning effort
Optional
Enabled by defaultEffort: High, Medium, Low, NoneDefault: Low
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
GemmaGrok
Key Features
Advanced capabilities
Function CallingStructured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation
Open Source
Model availability
Available on HuggingFace →Proprietary

Pricing

Gemma 4 31B is roughly 0.1x less expensive compared to Grok 4.3 for input tokens and roughly 0.2x less expensive for output tokens.
Gemma 4 31BGemma 4 31B
Grok 4.3Grok 4.3
Short Context Pricing
Base rates before a long-context threshold applies
Input Token Cost
Cost per million input tokens
$0.14
per million tokens
$1.25
per million tokens
Output Token Cost
Cost per million output tokens
$0.40
per million tokens
$2.50
per million tokens
Web Search Cost
Additional cost for each web search operation
Not specified
$0.005
per search
Cache Read Cost
Cost to reuse cached input tokens
Not specified
$0.20
per million tokens
Long Context Pricing
Rates for prompts with 200,000 or more tokens
Input Token Cost
Long-context input cost per million tokens
Not specified
$2.50
per million tokens
Output Token Cost
Long-context output cost per million tokens
Not specified
$5.00
per million tokens
Cache Read Cost
Long-context cache read cost per million tokens
Not specified
$0.40
per million tokens

Benchmarks

Compare relevant benchmarks between Gemma 4 31B and Grok 4.3.
Gemma 4 31BGemma 4 31B
Grok 4.3Grok 4.3
Intelligence Index
Overall model quality across independent evaluations
29.4
(Artificial Analysis index; higher is better)
37.6
(Artificial Analysis index; higher is better)
Coding Index
Programming performance across independent evaluations
43.4
(Artificial Analysis index; higher is better)
42.2
(Artificial Analysis index; higher is better)
Agentic Index
Ability to complete multi-step agentic tasks
14.4
(Artificial Analysis index; higher is better)
24.1
(Artificial Analysis index; higher is better)
Best Design Arena Score
Highest human-preference Elo score across design arenas
Benchmark not available.
1,235 Elo
(#38 in Game Dev (49.5% win rate))

At a Glance

Quick overview of what makes Gemma 4 31B and Grok 4.3 unique.
Google logoGemma 4 31B by Google understands both text and images, analyzes video, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 262.1K token context window. Very affordable at $0.14/M input and $0.40/M output tokens. Released April 2nd, 2026.
XAI logoGrok 4.3 by XAI understands both text and images, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 1M token context window. Reasonably priced at $1.25/M input and $2.50/M output tokens. Released April 30th, 2026.

Explore More Comparisons

Compare your models with top performers across different categories

Compare Grok 4.3 with: