Pricing and availability as of
December 2024 version of Grok-2.
grok-2-1212Compare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.
1 provider
| Provider | Actions | ||||||
|---|---|---|---|---|---|---|---|
Deactivated | 131.1k | $2.00 | $10.00 |
Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.
Grok-2 (1212) API pricing starts at $2.00 per 1M input tokens and $10.00 per 1M output tokens through LLM Gateway.
| Provider | Input / 1M tokens | Output / 1M tokens | Cached input / 1M tokens | Context window |
|---|---|---|---|---|
| xAI | $2.00 | $10.00 | — | 131,072 tokens |
| Monthly usage | Cost on xAI |
|---|---|
| 1M input + 250K output tokens | $4.50 |
| 10M input + 2.5M output tokens | $45.00 |
| 100M input + 25M output tokens | $450.00 |
December 2024 version of Grok-2. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.
Pricing for Grok-2 (1212) on LLM Gateway starts at $2.00 per million input tokens and $10.00 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
Grok-2 (1212) supports a context window of up to 131,072 tokens on its largest provider deployment.
Grok-2 (1212) is served by xAI through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
Grok-2 (1212) supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).
Grok-2 (1212) was released on December 12, 2024.