Free cloud & LLM pricing tools — AWS EC2 + LLM API Pricing Explorer

Gemini 3.1 Pro vs Grok 4.6 pricing

Side-by-side LLM API pricing.Input rates are equal ($2.00 vs $2.00 /1M), and Grok 4.6 is cheaper on output ($6.00 vs $12.00 /1M). On a blended average, Grok 4.6 is lower — but which wins for you depends on your input/output mix, so check the example workloads below or run the calculator.

AttributeGemini 3.1 ProGrok 4.6
ProviderGooglexAI
TierFlagshipFlagship
StatusPreviewGA
Context window1M500K
Input /1M$2.00$2.00
Output /1M$12.00$6.00
Cached input /1M$0.20$0.50
Batch input /1M$1.00
Batch output /1M$6.00
Blended (avg in+out)$7.00$4.00
1M in + 1M out$14.00$8.00
1M in (90% cached) + 100K out$1.58$1.25

List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-08-03.

Which should you pick?

For a balanced job (1M input + 1M output), Grok 4.6 costs $8.00 versus $14.00. If your prompts are large and reused, prompt caching changes the maths — the cache-heavy row above shows a 90%-cached input scenario. If your work can run asynchronously, both providers' batch rates cut the bill further where offered.

Full price matrices: Gemini 3.1 Pro pricing → · Grok 4.6 pricing → · Back to the LLM pricing hub →