Skip to content

Compare models

Put up to 4 models beside each other — token prices, context windows, capabilities and provider, from the same catalogue the model pages read.

  1. Grok 4.7SpaceXAIRemove
  2. Gemini 3.8 FlashGoogleRemove
grok-4.7 vs gemini-3.8-flash
AttributeGrok 4.7grok-4.7Gemini 3.8 Flashgemini-3.8-flash
Pricing
Input$1.60 / 1M$0.75 / 1M
Output$4.80 / 1M$3.75 / 1M
Cache Write (5m)$1.60 / 1M$0.75 / 1M
Cache Write (1h)$1.60 / 1M$0.75 / 1M
Cache Read$1.60 / 1M$0.75 / 1M
Web Search$0 / 1M$0 / 1M
Context
Max context500K1M
Max outputN/AN/A
Capabilities
VisionYesYes
Function CallingYesYes
JSON ModeYesYes
StreamingYesYes
Catalogue
ProviderSpaceXAIGoogle
Categorychatchat
Charge typePay As You GoPay As You Go
Released
Description
SummaryGrok 4.7 is SpaceXAI's flagship model for coding, agentic workflows, and professional knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering, self-verification, and long-context execution, while improving capabilities in document drafting, presentations, and other professional tasks. Trained with extended reinforcement learning focused on multi-hour problems, Grok 4.7 is optimized for sustained, complex task execution and natively supports the Grok Bot harness for conversational workflows. It also introduces an enhanced safeguard stack designed to combine strong jailbreak resistance with low refusal rates for legitimate technical work. Reported benchmark results use xhigh reasoning effort.Gemini 3.8 Flash is Google's most intelligent Flash-class model, delivering significant improvements over Gemini 3.7 Flash across software engineering, agentic workflows, and complex multi-step reasoning. Designed to combine strong capability with Flash-tier efficiency, it is well suited for coding assistants, autonomous agents, and high-throughput production workflows that require responsive performance without sacrificing reasoning quality.