Skip to main content
idapt
HomeAI ModelsExploreResourcesPricing
Sign inUse for Free
  • Home
  • Pricing
  • AI Models
  • Skills
  • Image models
  • Voice models
  • Video models
  • Rankings
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • Blog
  • About
  • Comparisons
  • Benchmarks
  • Model Match
  • Demos
  • Help center
  • FAQ
  • Privacy
  • Support
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Migrate
  • Downloads
  • Desktop
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)Discord

Gemma 4 31B vs Grok 4.7

At a glance

Google's fourth-generation open dense model with native multimodal understanding.

262K ctx$0.20/$0.40 per M

xAI's new flagship for coding, agentic tasks, and knowledge work, succeeding Grok 4.6 with its longest reinforcement learning run yet.

500K ctx$2.00/$6.00 per M
Demos
All demos

No shared demos for these models yet.

AI Output
All AI outputs

No captured outputs for these models yet.

Benchmarks
See rankings
Reasoning
CodingInsufficient data
AgenticInsufficient data
Sources:Epoch AI·OpenRouter· as of 2026-10-02
Cheaper92%
Reasoning & Knowledge
Graduate Science75.8%Factual Recall10.4%
Math
Competition Math73.3%
Reasoning
CodingInsufficient data
AgenticInsufficient data
Sources:Epoch AI·OpenRouter· as of 2026-10-02
Reasoning & Knowledge
Graduate Science22%92.7%Factual Recall438%56.0%
Math
Competition Math34%98.1%
Specs
262K
Context
16K
Max output
Apr 2026
Released
500K
Context
128K
Max output
Sep 2026
Released
Capabilities
Vision
Audio
Reasoning
Vision
Audio
Reasoning
Pricing
Live pricing, shown before you run
Input90%$0.20/M tokens
Output93%$0.40/M tokens
Live pricing, shown before you run
Input$2.00/M tokens
Output$6.00/M tokens
Cache read$0.50/M tokens
Web search$0.005/search
Chat with Gemma 4 31BGo to model
Chat with Grok 4.7Go to model
Frequently Asked Questions: Gemma 4 31B vs Grok 4.7▼

Which is better, Gemma 4 31B or Grok 4.7?

▼

Both Gemma 4 31B and Grok 4.7 are capable AI models. The best choice depends on your specific use case: consider pricing, context window, speed, and which capabilities (vision, reasoning, audio) you need.

Which is cheaper, Gemma 4 31B or Grok 4.7?

▼

Gemma 4 31B has a lower blended cost. Gemma 4 31B: $0.20 input / $0.40 output. Grok 4.7: $2.00 input / $6.00 output.

Which has a larger context window, Gemma 4 31B or Grok 4.7?

▼

Grok 4.7 has a larger context window: Gemma 4 31B supports 262K tokens vs Grok 4.7 at 500K tokens.

Do both Gemma 4 31B and Grok 4.7 support vision?

▼

Yes, both Gemma 4 31B and Grok 4.7 support vision/image input.

What are the key differences between Gemma 4 31B and Grok 4.7?

▼

Key differences: Gemma 4 31B is significantly cheaper. Compare full specs on this page.

Which model should I choose for my use case?

▼

If cost is your priority, choose the cheaper option. If you need the highest intelligence for complex tasks, pick the higher-scoring model. For long documents or codebases, choose the larger context window. You can try both Gemma 4 31B and Grok 4.7 for free on idapt.app to see which performs better for your specific needs.

Open in App