Compute Comparison

Google vs xAI: Token Pricing, Speed & Intelligence

Full comparison of Google and xAI — live token pricing, latency, throughput, context window, strengths, weaknesses, and best use cases. Rates sourced from public APIs — verify before use.

Google

Gemini 3.8 Flash — plus Veo 3.1 video, Lyria 3.5 music, and Gemini Omni

Google DeepMind's Gemini 3.x family spans Gemini 3.8 Flash (latest, promotional pricing until Dec 31 2026), Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash, and Gemini 3.1 Pro Preview. The platform has expanded far beyond text: Veo 3.1 for video generation, Lyria 3.5 for music generation, Gemini Omni for video generation, and Gemini Embedding 2 for multimodal embeddings. Gemma 4 open-weight models are free via the API. Check the live table for current per-token rates.

VisionLong-contextCodingMultimodalVideo generationMusic generationCost-efficiency
Proprietary modelsHosts open weights

xAI

Grok 4.6 — SpaceXAI with Imagine Image 2.0, Voice Transcribe 2.0, and 500K context

xAI (operating as SpaceXAI) builds the Grok model family. Grok 4.6 is the current flagship with a 500K token context window. The September 2026 platform includes Imagine Image 2.0, Imagine Video 1.5, Voice API (speech-to-speech, TTS, STT), and Grok Voice Transcribe 2.0. Available on Azure AI Foundry, Oracle OCI, and Google Cloud Vertex. Check x.ai/api for current rates.

Real-time dataReasoningVisionImage generationVideo generationVoice AIChat
Proprietary models

Key metric comparison

Cheapest input ($/1M)

$0.00

▲ better

$0.20

Cheapest output ($/1M)

$0.00

▲ better

$0.50

Peak throughput

600 tok/s

▲ better

400 tok/s

Best latency (TTFT)

80ms

▲ better

180ms

Intelligence score

94/100

▲ better

93/100

Context window

1000K

▲ better

200K

Live token pricing

Googlelive pricing

← Swipe to see all columns

ModelInputOutput
gemini-2.5-pro$1.25EST Jul 2026$10.00
gemini-2.5-flash$0.15EST Jul 2026$0.60
gemini-2.0-flash$0.10EST Jul 2026$0.40
gemini-1.5-pro$1.25EST Jul 2026$5.00
gemini-1.5-flash$0.07EST Jul 2026$0.30
xAIlive pricing

← Swipe to see all columns

ModelInputOutput
grok-3$3.00EST Jul 2026$15.00
grok-3-mini$0.30EST Jul 2026$0.50
grok-4-0709$3.00EST Jul 2026$15.00
grok-4-7$2.00EST Oct 2026$6.00
grok-3-fast$5.00EST Jul 2026$25.00

Strengths and weaknesses

Google

Gemini 3.8 Flash: promotional pricing until Dec 31 2026 — check live table for current rates
Wide multimodal API: text, image, audio, video generation, music, speech, transcription
Veo 3.1 video generation (720p/1080p/4K)
Gemma 4 open-weight models free via API
Free tier via Google AI Studio for prototyping
Google Search grounding: 5,000 free requests/month on Gemini 3.x
Promotional pricing expires Jan 1 2027 — prices double
Complex tiered pricing based on context length (≤200K vs >200K)
API reliability has historically lagged OpenAI

xAI

Grok 4.6: competitive frontier pricing — check live table for current rates
500K token context window
Real-time X/Twitter data and web search grounding
Imagine Image 2.0 and Imagine Video 1.5 for multimodal generation
Voice API: speech-to-speech, TTS, and STT under one key
Available on Azure AI Foundry, Oracle OCI, and Google Cloud Vertex
No open-weight models — full vendor lock-in
Smaller ecosystem and fewer integrations than OpenAI
Limited model selection compared to frontier competitors

Key differentiators

Google

A wide multimodal AI API — text, image, video (Veo 3.1), music (Lyria 3.5), speech, transcription, and robotics under one key, with Gemini 3.8 Flash at promotional pricing until end of 2026.

xAI

Grok 4.6 combines frontier-tier intelligence with real-time X/Twitter grounding, a 500K context window, and a full multimodal platform (Imagine Image 2.0, Imagine Video 1.5, Voice API).

Frequently asked questions

Google FAQs

What are the latest Google Gemini models?

As of September 2026, the Gemini 3.x family includes Gemini 3.8 Flash (newest, promotional pricing until December 31, 2026), Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash, and Gemini 3.1 Pro Preview. Check ai.google.dev/gemini-api/docs/pricing for current rates.

What is Gemini 3.8 Flash pricing?

Gemini 3.8 Flash is on promotional pricing until December 31, 2026, with standard rates applying from January 1, 2027. Batch pricing is 50% off. Check ai.google.dev/gemini-api/docs/pricing for current rates.

Does Google offer video generation via API?

Yes. Veo 3.1 generates video at 720p, 1080p, and 4K resolutions. Gemini Omni Flash is also available for video generation. Check ai.google.dev/gemini-api/docs/pricing for current rates.

xAI FAQs

What is Grok 4.6 and how much does it cost?

Grok 4.6 is xAI's current flagship model with a 500K token context window, vision, function calling, and real-time web and X/Twitter access. Check x.ai/api for current per-token rates.

What is the xAI Imagine API?

The Imagine API offers image and video generation via Imagine Image 2.0 and Imagine Video 1.5. Both are available under the same API key as Grok text models. Check x.ai/api for current rates.

What is the xAI Voice API?

The Voice API includes speech-to-speech, text-to-speech, and speech-to-text (REST and streaming). Grok Voice Transcribe 2.0 was released September 2026. Check x.ai/api for current rates.

Provider resources

Key strengths compared

Google

  • Gemini 3.8 Flash: promotional pricing until Dec 31 2026 — check live table for current rates
  • Wide multimodal API: text, image, audio, video generation, music, speech, transcription
  • Veo 3.1 video generation (720p/1080p/4K)
  • Promotional pricing expires Jan 1 2027 — prices double
  • Complex tiered pricing based on context length (≤200K vs >200K)

xAI

  • Grok 4.6: competitive frontier pricing — check live table for current rates
  • 500K token context window
  • Real-time X/Twitter data and web search grounding
  • No open-weight models — full vendor lock-in
  • Smaller ecosystem and fewer integrations than OpenAI

Key weaknesses compared

Google

  • Promotional pricing expires Jan 1 2027 — prices double
  • Complex tiered pricing based on context length (≤200K vs >200K)
  • API reliability has historically lagged OpenAI

xAI

  • No open-weight models — full vendor lock-in
  • Smaller ecosystem and fewer integrations than OpenAI
  • Limited model selection compared to frontier competitors

Provider category context

Google is a frontier lab, founded in 1998. xAI is a frontier lab, founded in 2023. Both are frontier lab providers — the comparison is primarily about pricing, model selection, and feature differentiation within the same tier.

How to choose between them

Both Google and xAI are frontier labs with proprietary models. Choose based on benchmark performance for your specific task: Google leads on gemini 3.8 flash: promotional pricing until dec 31 2026 — check live table for current rates, while xAI leads on grok 4.6: competitive frontier pricing — check live table for current rates. For cost-sensitive workloads, compare the cheapest model tier from each provider in the pricing table above — the gap between efficient-tier models is often larger than between flagship models.