Grok 4.6 is now live — 8 Grok models behind one endpoint, routed to whichever Grok model fits the request.Read more

Routing plans for every traffic level

Pick the plan that matches how much production traffic you route. Monthly or yearly billing, cancel anytime, usage credited to your account.

Starter

$19
$15 /month, billed yearly
For solo builders putting their first traffic through Grok API.
Billed yearly. Cancel anytime.

Includes

  • $180 of Grok API credit per year
  • Every Grok model behind one OpenAI-compatible endpoint
  • Health-aware routing with automatic failover
  • Bring your own xAI key (BYOK)
  • Per-key usage and spend visibility
  • Email support
Most popular

Pro

$99
$79 /month, billed yearly
For production apps that need savings evidence and team controls.
Billed yearly. Cancel anytime.

Everything in Starter, plus

  • $948 of Grok API credit per year
  • Approved model basket with shadow-mode savings
  • Prompt caching on models with a published cached rate
  • Team seats with per-key budgets and alerts
  • Request logs with baseline vs selected vs saved
  • Priority support

Scale

$499
$399 /month, billed yearly
For teams routing meaningful production traffic with governance.
Billed yearly. Cancel anytime.

Everything in Pro, plus

  • $4,788 of Grok API credit per year
  • Region-isolated routing with encrypted key storage
  • Custom routing objectives and fallback policy
  • Audit trail for every request and configuration change
  • SSO-ready governance and workspace separation
  • Dedicated support with a named engineer

Pricing FAQ

Compare model costs, understand BYOK fees, and see how billing works before you scale traffic.

How should a team estimate spend before switching production traffic?

Does BYOK mean Grok API becomes free? Where can I verify what was actually billed? Is the pricing page enough to make a finance decision? It is a good starting point, but not the final source of truth. You should verify your account settings, BYOK fee details, and actual workload mix before treating catalog prices as your total cost estimate.

Start building in 3 lines of code

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.grokapi.lol/v1",
  apiKey: "sk-your-key",
});

const response = await client.chat.completions.create({
  model: "xai/grok-4.6",
  messages: [{ role: "user", content: "Hello!" }],
});
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.grokapi.lol/v1", apiKey: "sk-your-key", }); const response = await client.chat.completions.create({ model: "xai/grok-4.6", messages: [{ role: "user", content: "Hello!" }], });

Pricing FAQ

Compare model costs, understand BYOK fees, and see how billing works before you scale traffic.

How should a team estimate spend before switching production traffic?

Start with the model catalog to compare current prompt and completion pricing, then test with your own prompt mix and traffic patterns before changing production routing policy.

Does BYOK mean Grok API becomes free?

No. BYOK keeps model charges on your own cloud account, but Grok API may still charge a platform fee depending on your plan and account settings.

Where can I verify what was actually billed?

Check the response usage object for per-request cost details, then reconcile with activity analytics and the billing dashboard for balances and billing history.

Is the pricing page enough to make a finance decision?

It is a good starting point, but not the final source of truth. You should verify your account settings, BYOK fee details, and actual workload mix before treating catalog prices as your total cost estimate.