OpenRouter: Grok 4 (OR)
stableGrok 4 (OR) is available through Everstack's OpenAI-compatible gateway with routing, fallback, retries, and observability.
Activity
Providers
Pricing
| Item | Price | Unit |
|---|---|---|
| Input | $3.00 | per 1M tokens |
| Output | $15.00 | per 1M tokens |
Performance
Reliability
Compare
Capabilities
- Model ID
- x-ai-grok-4
- Family
- grok
- Status
- stable
- Knowledge
- -
- Released
- -
- API
- 2024-01-01
- Auth
- OPENROUTER_API_KEY
- Discovery
- dynamic
- Provider type
- meta
Quick Start
Endpoint
https://openrouter.ai/api/v1https://openrouter.ai/api/v1/chat/completionsx-ai-grok-4OPENROUTER_API_KEYGrok 4 (OR) FAQ
How much does the Grok 4 (OR) API cost?
Through OpenRouter, Grok 4 (OR) costs $3.00 per 1M input tokens and $15.00 per 1M output tokens.
What is the context window of Grok 4 (OR)?
Grok 4 (OR) accepts up to 256K tokens of context and returns up to 32K output tokens on OpenRouter.
Which providers offer Grok 4 (OR)?
Grok 4 (OR) is available from OpenRouter and xAI. Everstack can route between them with automatic fallback when one is unavailable.
What can Grok 4 (OR) do?
Grok 4 (OR) supports chat, function calling and reasoning. It accepts text input.
How do I call Grok 4 (OR) through Everstack?
Point any OpenAI-compatible SDK at your Everstack gateway and set the model to @openrouter/x-ai-grok-4. Everstack adds retries, provider fallback, caching, per-tenant budgets and OpenTelemetry traces for every request.
