Magica logo

Gemini 3.1 Flash Lite vs Gemma 4 31B (Comparative Analysis)

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

Overview

Gemma 4 31B was released 1 month before Gemini 3.1 Flash Lite.
Gemini 3.1 Flash LiteGemini 3.1 Flash Lite
Gemma 4 31BGemma 4 31B
Model Provider
The organization behind this AI's development
Google logoGoogle
Google logoGoogle
Input Context Window
Maximum input tokens this model can process at once
1M
tokens
262.1K
tokens
Output Token Limit
Maximum output tokens this model can generate at once
65.5K
tokens
262.1K
tokens
Release Date
When this model first became publicly available
May 7th, 2026
April 2nd, 2026

Capabilities & Features

Compare supported features, modalities, and advanced capabilities
Gemini 3.1 Flash Lite
Gemma 4 31B
Input Types
Supported input formats
📝Text🖼️Image🎬Video📁File🎵Audio
🖼️Image📝Text🎬Video
Reasoning Controls
Defaults and configurable reasoning effort
Enabled by defaultEffort: High, Medium, Low, MinimalDefault: Minimal
Optional
Output Types
Supported output formats
📝Text
📝Text
Tokenizer
Text encoding system
GeminiGemma
Key Features
Advanced capabilities
Function CallingStructured OutputReasoning ModeContent Moderation
Function CallingStructured OutputReasoning ModeContent Moderation
Open Source
Model availability
ProprietaryAvailable on HuggingFace →

Pricing

Gemini 3.1 Flash Lite is roughly 1.8x more expensive compared to Gemma 4 31B for input tokens and roughly 3.8x more expensive for output tokens.
Gemini 3.1 Flash LiteGemini 3.1 Flash Lite
Gemma 4 31BGemma 4 31B
Input Token Cost
Cost per million input tokens
$0.25
per million tokens
$0.14
per million tokens
Output Token Cost
Cost per million output tokens
$1.50
per million tokens
$0.40
per million tokens
Web Search Cost
Additional cost for each web search operation
$0.014
per search
Not specified
Cache Read Cost
Cost to reuse cached input tokens
$0.02
per million tokens
Not specified
Cache Write Cost
Cost to write input tokens to the cache
$0.08
per million tokens
Not specified
Reasoning Token Cost
Cost for internal reasoning tokens
$1.50
per million tokens
Not specified
Image Input Cost
Additional cost for each image input
$0.00000025
per image
Not specified
Audio Input Cost
Additional cost for audio input
$0.0000005
per unit
Not specified
Audio Cache Cost
Cost to reuse cached audio input tokens
$0.05
per million tokens
Not specified

Benchmarks

Compare relevant benchmarks between Gemini 3.1 Flash Lite and Gemma 4 31B.
Gemini 3.1 Flash LiteGemini 3.1 Flash Lite
Gemma 4 31BGemma 4 31B
Intelligence Index
Overall model quality across independent evaluations
Benchmark not available.
29.4
(Artificial Analysis index; higher is better)
Coding Index
Programming performance across independent evaluations
Benchmark not available.
43.4
(Artificial Analysis index; higher is better)
Agentic Index
Ability to complete multi-step agentic tasks
Benchmark not available.
14.4
(Artificial Analysis index; higher is better)

At a Glance

Quick overview of what makes Gemini 3.1 Flash Lite and Gemma 4 31B unique.
Google logoGemini 3.1 Flash Lite by Google understands both text and images, handles audio, analyzes video, can use external tools and APIs, offers advanced reasoning, generates structured data. It can handle standard conversations with its 1M token context window. Very affordable at $0.25/M input and $1.50/M output tokens. Released May 7th, 2026.
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.

Explore More Comparisons

Compare your models with top performers across different categories