xAI Grok API

The Grok API lets developers integrate xAI’s Grok LLMs into applications.

Freemium ✓ Verified ★ 4.3 🇺🇸 United States

xAI’s Grok is the LLM developed by Elon Musk’s AI company, trained on X (Twitter) data and offering unique real-time web search capabilities. Grok-3 is the flagship model, competitive with top-tier models on reasoning and scientific tasks. The API is OpenAI-compatible, making it easy to switch. A particularly differentiating feature is its integration with X/Twitter data streams, making it ideal for social media analytics and real-time information tasks. The $25 monthly free credit makes it one of the most generous free tiers available.

API Details

Auth Method
API Key
Pricing Model
Freemium
Free Tier
Yes — $25 free API credit monthly
Rate Limit
60 RPM (free)
Format
REST / JSON (OpenAI-compatible)
Versioning
Model-based (grok-3, grok-3-mini)
SLA / Uptime
99.5%
Compliance
US-based; X.com data access
Geographic Restrictions
Global
Last Verified
2026-02-20

Frequently Asked Questions