Grok · X ecosystem · Knowledge Hub

xAI — the flagship field guide

xAI Grok · X ecosystem complete guide: capability snapshots, API/console setup, Python and TypeScript examples, agent patterns, RAG, evals and IDE wiring.

Choose a flagship model

Grok 5 · 1M · 128K output

The next Grok base model — larger pretraining run, real-time tools and low-friction refusals.

Access: xAI API; Grok.com and X partners · Cost: $5 / $15 per 1M tokens

Official documentation

Back to Knowledge Base · Compare every model in the AI Models Atlas →