xAI Grok 4

https://x.ai/news/grok-4

Elon Musk's xAI frontier model — Grok 4 launched 2025-07. Trained on Colossus (100k+ GPU supercluster in Memphis). Deeply integrated with X/Twitter (real-time tweet data access). Grok 4 Heavy variant for premium tier. No frontier-tier open-weights — Grok 1 (314B MoE) is the only weight release. The x.ai site now brands itself SpaceXSI (page title, checked 2026-10-29).

Active · Verified 2026-10-31 · fresh as of 2026-10-31 · 38 cited facts, 2 with a third-party source · 2 recorded changes · Suggest a correction

At a glance

Tier
T1
Latest release
Grok 4.7 (2026-09-21) vendor fix
Freshness
2026-10-31 fix
Layer
large-models repo fix
Licensing
commercial registry fix
Deployment locus
cloud vendor fix
Platform vs product
both vendor fix
SDK languages
python, rest repo fix

When to use

Optimised for: real-time information (X firehose access); contrarian / less-filtered persona; benchmark frontier-tier reasoning

Anti-fit: X/Twitter integration is unique selling point but creates Musk-political-association risk; weights closed at Grok 4 tier; no on-prem; less polished tool-use than Claude/GPT

Pros & cons

Pros

Real-time X/Twitter data access (unique among frontier models); Colossus supercluster gives independent training capacity; ARC-AGI-2 leader (vendor-stated).

Cons

Owner Musk political controversy creates enterprise procurement headwind; closed weights at Grok 4; no on-prem; less mature ecosystem than Anthropic/OpenAI/Google.

Claims & capabilities

Grok 4 launched Jul-2025; Grok 4 Heavy multi-agent variant; trained on Colossus 100k+ H100 supercluster Memphis; real-time X/Twitter data integration; 256k context

Technical surface

API surface
REST + SDK (Python, TS); OpenAI-compatible
Backend storage
not applicable — substrate foundation model
Deployment
Managed-only — xAI API, grok.com, X apps; also via Amazon Bedrock, Microsoft Foundry, GitHub Copilot (older Grok-1 / Grok 2 weights downloadable)
Embedding model
not applicable — not a memory product
Multi-tenancy
not applicable — substrate foundation model
MCP
not applicable — substrate foundation model
A2A
not applicable — substrate foundation model
OpenTelemetry
not applicable — substrate foundation model

Compare xAI Grok 4 with…

Similar systems

Other foundation models (substrate reference) in the catalog, ranked by inbound references.

  • Anthropic Claude (foundation models) T1

    Claude family of frontier foundation models — Sonnet 4 (workhorse), Opus 4.5 (frontier capability), Haiku 4.5 (fast/cheap). Frontier model used as substrate by Claude Code, Anthropic Memory tool, Cline, Aider, Continue.dev, Cursor, Goose, and dozens of other catalog entries. Memory in Claude is parametric (in weights) — discrete episodic memory lives outside the model in the Claude Memory tool (see Platform-provider memory section).

  • OpenAI GPT family (GPT-5 / GPT-4o / o3 / o4) T1

    OpenAI's foundation model family — GPT-5 (2025-08 flagship), GPT-4o (multimodal workhorse), o3/o4 reasoning series. Substrate for ChatGPT, the OpenAI API, Microsoft Copilot, Azure OpenAI, and many downstream agents in this catalog (Devin, Codex CLI, Operator, Cursor mode). Parametric memory in weights; discrete user memory ships in ChatGPT Memory feature (separate row).

  • Google Gemini 3 family T1

    Google DeepMind's Gemini 3 frontier model family — Gemini 3 Pro (top tier), 3 Flash (fast), 3 Nano (on-device). Substrate for Google Workspace AI, Vertex AI Agent Platform, Gemini Code Assist, Project Mariner, and Project Astra. Multimodal-native; 1M-10M context window. Largest context window of any frontier model. Used by Gemini Enterprise Agent Platform Memory Bank (separate row).

  • Mistral Large 2 / Mixtral family T1

    French frontier-model lab (Paris). Family includes Mistral Large 2 (123B dense, Jul-2024), Mixtral 8x22B (open-weights MoE), Mistral Small 3 (24B, open-weights Jan-2025), Codestral (code specialist). EU-headquartered alternative to US/China model labs; GDPR-friendly data residency. Distinct from the Mistral Le Chat memory feature (already in catalog) — this row covers the model family itself as substrate.

  • Cohere Command R+ / Command A T1

    Toronto-based foundation-model lab (Aidan Gomez, ex-Google Brain 'Attention Is All You Need' co-author). Command family is enterprise / RAG-optimised: Command A (Mar-2025, 111B dense, 256k ctx), Command R+ (104B MoE), Command R7B (smallest tier). Announced merger with Aleph Alpha April-2026. Open weights via CC-BY-NC (non-commercial); Cohere-hosted for commercial.

  • DeepSeek R1 / V3 family T1

    DeepSeek (Hangzhou-based, Liang Wenfeng founder) — released DeepSeek-V3 671B MoE (37B active) Dec-2024, then R1 reasoning model Jan-2025 that matched o1 at ~3% of inference cost. Caused 'DeepSeek moment' in markets Jan-27-2025 — NVIDIA dropped 17%. MIT license. Substrate for cost-conscious OSS deployers and an active reasoning-research baseline.

Sources (37 cited facts, 2 third-party)

Each fact links to the page it came from; the badge says who published it (how to read sources).

What changed

Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)

  1. 2026-10-26
    • Latest release “Grok 4 (2025-07); Grok 4 Heavy (2025)” → “Grok 4.7 (2026-09-21)” source
    • Pricing “X Premium+ ($30+/mo includes Grok); API: Grok 4 $3/$15 per 1M (premium tier); Grok 4 Heavy $30/$150 per 1M” → “API: Grok 4.7 $2 in / $6 out per 1M (prompts ‹200k tokens; $4 / $12 above); consumer via X / SuperGrok subscriptions” source
    • Funding / ownership “$12B+ total raised; $50B+ valuation 2024-25; Andreessen Horowitz, Sequoia, Valor, Vy Capital, Saudi PIF investors” → “xAI merged into SpaceX (announced 2026-02-02, combined ~$1T); prior $20B Series E (2026-01, ~$230B valuation)” source
    • Deployment “Managed-only (xAI API + X Premium); no self-hosting at Grok 4 tier (Grok 1 314B MoE Apache 2.0)” → “Managed-only — xAI API, grok.com, X apps; also via Amazon Bedrock, Microsoft Foundry, GitHub Copilot (older Grok-1 / Grok 2 weights downloadable)” source
    #258
  2. 2026-10-23
    • License “Apache 2.0 (Grok 1 only — 314B MoE older release); proprietary (Grok 2/3/4)” → “proprietary (Grok 4); older open weights: Grok-1 (Apache-2.0) and Grok 2 (Grok 2 Community License)” source
    #223

Related systems

Referenced by (31)

  • Agent Router (formerly Envoy AI Gateway) integrates with — Agent Router supported-providers page lists xAI Grok. (verified 2026-10-29)
  • agentgateway integrates with — agentgateway integrations docs have a xAI provider page. (verified 2026-10-29)
  • AgentOps integrates with — AgentOps docs have a xAI Grok 4 integration page. (verified 2026-10-29)
  • AutoGen / AG2 integrates with — AG2 model configuration docs list xAI Grok as a supported model provider with a config example. (verified 2026-10-29)
  • Bifrost (Maxim AI) integrates with — Bifrost supported-providers docs have a provider page for xAI. (verified 2026-10-29)
  • Braintrust integrates with — Braintrust docs have a xAI Grok 4 integration page. (verified 2026-10-29)
  • Cloudflare AI Gateway integrates with — Cloudflare AI Gateway docs have a xAI (Grok) provider page. (verified 2026-10-29)
  • Comet ML integrates with — Comet's Opik docs have a xAI Grok 4 integration page. (verified 2026-10-29)
  • Grok Memory (xAI) depends on at runtime — adjacent-infrastructure cell: self-contained xAI / X
  • Helicone integrates with — Helicone docs have a xAI Grok 4 integration page. (verified 2026-10-29)
  • Inngest integrates with — Inngest AgentKit docs: AgentKit Grok model adapter (reference). (verified 2026-10-29)
  • Inspect AI integrates with — Inspect AI model-providers page documents a Grok (xAI) provider. (verified 2026-10-29)
  • Kong AI Gateway integrates with — Kong AI Gateway docs have a xAI AI-provider reference page. (verified 2026-10-29)
  • LangChain (framework) integrates with — LangChain docs have a XAI integration provider page (xAI's Grok models for conversational AI). (verified 2026-10-29)
  • Langflow integrates with — Langflow components bundle: xAI (Grok) language model component. (verified 2026-10-29)
  • Langfuse integrates with — Langfuse's integrations directory has a xAI Grok 4 integration page. (verified 2026-10-29)
  • Letta / MemGPT integrates with — Letta models docs list xAI in the supported model provider table. (verified 2026-10-29)
  • LiteLLM integrates with — LiteLLM docs have an xAI provider page. (verified 2026-10-29)
  • LiveKit Agents integrates with — LiveKit Agents docs have a xAI Grok 4 model plugin page. (verified 2026-10-29)
  • Mem0 integrates with — Mem0 docs have an xAI Grok as LLM Provider LLM provider page for Mem0 open source. (verified 2026-10-29)
  • n8n (AI agent flows) integrates with — n8n built-in AI cluster node: xAI Grok Chat Model node. (verified 2026-10-29)
  • OpenRouter integrates with — OpenRouter lists xAI as an inference provider (providers API slug "xai"). (verified 2026-10-29)
  • Phidata (now Agno) integrates with — Agno ships a xai model provider module (agno.models.xai). (verified 2026-10-29)
  • Pipecat (Daily) integrates with — Pipecat docs have a xAI Grok 4 service page. (verified 2026-10-29)
  • Portkey AI integrates with — Portkey docs have an xAI (Grok) LLM provider integration page. (verified 2026-10-29)
  • Pydantic-AI integrates with — Pydantic AI docs have an xAI model provider page. (verified 2026-10-29)
  • Strands Agents (AWS) integrates with — Strands Agents docs have a community xAI model provider integration page. (verified 2026-10-29)
  • TrueFoundry AI Gateway integrates with — TrueFoundry AI Gateway docs have a xAI model-provider page. (verified 2026-10-29)
  • Vapi integrates with — Vapi docs list xAI Grok 4 as a provider/integration. (verified 2026-10-29)
  • Vercel AI SDK integrates with — AI SDK docs have an xAI Grok official AI SDK provider page. (verified 2026-10-29)
  • Weaviate integrates with — Weaviate's integrations / model-provider docs list xAI Grok 4 as an integration. (verified 2026-10-29)