API prices / Compare

Gemini 3.1 Pro vs Grok 4.7: price

Grok 4.7 is 1.5× cheaper than Gemini 3.1 Pro for a typical chat workload (1,500 tokens in, 500 out).

ItemGemini 3.1 ProGrok 4.7
Input per 1M tokens$2.00$2.00
Output per 1M tokens$12.00$6.00
Cached input per 1M$0.20–
1,000 chat messages1,500 tokens in, 500 out each$9.00$6.00
Summarize a 50-page PDF30,000 tokens in, 1,000 out$0.072$0.066
One coding-agent task60,000 tokens in, 4,000 out, no caching$0.168$0.144

List prices checked September 28, 2026. Price is half the story: see how people rate each one today.

Gemini 3.1 Pro vs Grok 4.7 in numbers

Output, usually the bigger part of the bill, costs $12.00 on Gemini 3.1 Pro and $6.00 on Grok 4.7, so Grok 4.7 is 2.0× cheaper there. Input costs the same, $2.00 per million tokens. For a coding-agent task (60,000 tokens in, 4,000 out) that is $0.168 on Gemini 3.1 Pro and $0.144 on Grok 4.7. Gemini 3.1 Pro accepts 1.05M tokens of context and Grok 4.7 500K tokens. Gemini 3.1 Pro came out on February 19, 2026 and Grok 4.7 on September 21, 2026.

Gemini 3.1 Pro is made by Google; Grok 4.7 by xAI. Estimate your own bill for both in the cost calculator.

Which one feels dumber today?

  1. –no votes yet
  2. –no votes yet

Frequently asked questions

Is Gemini 3.1 Pro or Grok 4.7 cheaper?

Grok 4.7 is 1.5× cheaper than Gemini 3.1 Pro for a typical chat workload (1,500 tokens in, 500 out). Output, usually the bigger part of the bill, costs $12.00 on Gemini 3.1 Pro and $6.00 on Grok 4.7, so Grok 4.7 is 2.0× cheaper there.

Which is better, Gemini 3.1 Pro or Grok 4.7?

It depends on the task, and price is only part of it. Check how people rate each one today on the Gemini 3.1 Pro and Grok 4.7 pages, and read what users report in Discussions.