Curiosity · AI Model

Grok 4

Grok 4 is xAI's flagship large language model, designed as a direct competitor to GPT-5 and Claude Opus 4.7. It offers a 256k context window, native tool use, image understanding, and tight integration with the X platform's real-time data firehose — letting agents ground answers in live posts, trends, and news without an external search layer.

Model specs

Vendor
xAI
Family
Grok
Released
2025-07
Context window
256,000 tokens
Modalities
text, vision, code
Input price
$3/M tok
Output price
$15/M tok
Pricing as of
2026-04-20

Strengths

  • Native live-web grounding through the X firehose
  • Strong reasoning performance with 'Think' mode enabled
  • Competitive pricing vs. GPT-5 and Claude Opus 4.7
  • Less restrictive content filtering for edgy or satirical use cases

Limitations

  • Less ecosystem maturity than OpenAI / Anthropic (fewer SDKs, integrations)
  • Brand association with Elon Musk can be a governance concern for some enterprises
  • Vision capability trails Gemini 2.5 Pro for dense document OCR

Use cases

  • Real-time trend analysis grounded in live X posts
  • Developer copilots via the xAI API
  • Research agents needing fresh web data without a separate search tool
  • Content moderation and social-listening pipelines

Benchmarks

BenchmarkScoreAs of
MMLU-Pro~85%2026-04
GPQA Diamond~68%2026-04
HumanEval~92%2026-04

Frequently asked questions

What is Grok 4?

Grok 4 is xAI's flagship 2026 large language model, offering a 256k context window, native tool use, vision input, and real-time grounding via the X platform. It is positioned as a direct competitor to GPT-5 and Claude Opus 4.7.

How is Grok 4 different from other LLMs?

Its defining feature is tight integration with X (formerly Twitter). Grok can pull live posts, trending topics, and public conversations into its context, making it especially useful for real-time social analytics and news-aware agents.

What does Grok 4 cost?

As of April 2026, Grok 4 is priced around USD 3 per million input tokens and USD 15 per million output tokens on the xAI API, roughly a fifth the cost of Claude Opus 4.7 for output.

Is Grok 4 open-source?

No. Grok 4 is a proprietary model served through xAI's API and the X Premium+ subscription. Earlier versions (Grok-1) were open-weighted, but Grok 4 is closed.

Sources

  1. xAI — Grok product page — accessed 2026-04-20
  2. xAI API docs — accessed 2026-04-20