Frontier | xAI · xAI

Grok 5

The next Grok base model — larger pretraining run, real-time X/search tooling, lower refusals.

Key Specs

ProviderxAI
Context1M ctx
Pricing / license$5/$15

Quickstart

# OpenAI-compatible API (where supported)
curl https://api.openai.com/v1/chat/completions \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-5","messages":[{"role":"user","content":"Summarize the spec"}]}'

Complete playbook

Full guides for this model live under the xai Knowledge Base minisite — labelled, canonical, and kept current.

Open the Xai Knowledge Hub →

Notes

  • Availability varies by provider and region; private preview APIs may change.
  • Benchmark claims from labs are directional — verify on your workloads.
  • For regulated decisions (medical/legal/financial), use this model as decision support, not autonomy.