PROVIDER - Grok models with realtime information access
xAI
xAI delivers Grok 4.7 as its flagship with an OpenAI-compatible API where migration touches 2 configuration points, plus X platform realtime information and Grok Bot business assistants; the gaps are strict anti-automation access, thin benchmark disclosure and China access friction.
4.2pts
Detailed Notes
Pros 5 items
Cons 4 items
Service Overview
xAI is the model company behind the Grok family, emphasising live access to public realtime information.
In the AI platform category it is the emerging general-purpose model layer: capability tracks the leading pack while the ecosystem binds tightly to X, which suits time-sensitive products.
Key Strengths
- Flagship model: Grok 4.7 for reasoning and chat
- API compatibility: OpenAI style, 2 changes
- Realtime information: X public content available
- Business forms: Grok Bot vertical assistants
- Multimodal: image and long document input
Product Ecosystem
Platform capabilities
Chat and reasoning endpoints, image understanding, tool calling, realtime information access, Grok Bot assistants and console usage management.
Integrations
Offers OpenAI-compatible REST endpoints and SDK usage, and works as a model backend for mainstream agent frameworks.
Typical scenarios
Time-sensitive news summaries, social sentiment analysis, general chat products and vertical enterprise assistants.
Limitations
- Access restrictions: aggressive anti-automation on the site
- Transparency: benchmarks disclosed less often
- Onboarding friction: China needs network and billing workarounds
- Enterprise features: compliance and HA still maturing
Use Cases
- Time-sensitive information products (★★★★☆): X data adjacent
- Secondary model channel (★★★★☆): useful as a fallback
- Strict enterprise procurement (★★★☆☆): verify available options
- Fully offline deployment (★☆☆☆☆): not applicable
Pricing
| Item | Price | Notes |
|---|---|---|
| API usage | Per token | Tiered by model, published in the console |
| Subscription product | Monthly | Consumer entry point |
| Enterprise | Contact sales | Custom capacity and support |
FAQ
What is the relationship with X?
Grok and X sit in the same ecosystem, so applications can build on public platform information.
Is the API OpenAI compatible?
Broadly yes; replacing base_url and the model name covers 2 configuration points.
What if the site blocks requests?
The site restricts automated access, so use a browser directly or work through the official console.
Is there a free allowance?
Credits and promotions change frequently; check the console for current values.
Code Examples
from openai import OpenAI
client = OpenAI(base_url="https://api.x.ai/v1", api_key="XAI_API_KEY")
resp = client.chat.completions.create(
model="grok-4-7",
messages=[{"role": "user", "content": "Summarise the 3 most discussed AI topics today"}],
)
print(resp.choices[0].message.content)
# Query available models
curl https://api.x.ai/v1/models -H "Authorization: Bearer $XAI_API_KEY"
Community & Resources
- Website: https://x.ai/
- Developer console: https://console.x.ai/
- Documentation: https://docs.x.ai/
Articles
- 01 OpenAI releases GPT-5.4 as developer platform capabilities continue to improve 03-10
- 02 Cloudflare AI Gateway adds spend limits to help teams control model costs 06-05
- 03 AI Video Editing Tools Review: Best AI Video Platforms to Use in 2026 07-18
- 04 OpenAI Launches GPT-5.6 Series: Three Tiers Reshape AI Price-Performance 08-05
- 05 OpenAI GPT-5 launch: impact analysis for website development and AI deployment 07-12
- 06 AI Customer Service Bot Guide: Building a Smart Support System from Scratch 07-18
- 07 Anthropic Launches Claude Opus 5: Near-Frontier Intelligence at Opus 4.8 Cost 08-05
- 08 AI Model Deployment Guide: 5 ways to host and run open-source LLMs in 2026 07-12
- 09 2026 AI Website Builder Tools Landscape: AI-assisted workflow from design to deployment 07-12
- 10 AI Music Generation Tools Comparison: Suno vs Udio vs MusicFX 07-18