For Grok Build with more than Grok models, the best API is a cost-optimized custom model: add [model.standardcompute] to ~/.grok/config.toml with base_url https://api.stdcmpt.com/v1, api_backend = "chat_completions" and env_key = "STANDARDCOMPUTE_API_KEY", and Standard Compute's router sends each step to the cheapest model that can do it (Claude Fable 5.1 or GPT-6 Astra only when it counts), on a plan from $19 a month with a $20 compute budget. Signing in with an xAI account runs Grok's own models; The X Subscription's paid tiers ($8 to $200 a month) include a weekly pool for first-party Grok usage, and an XAI_API_KEY bills per token. Grok Build itself is open source (Apache 2.0).
| Option | Price | What you get |
|---|---|---|
| The X Subscription (xAI) | $0 / $8 / $30 / $100 / $200 per mo | Grok, Cursor and X in one plan. Paid tiers include a weekly pool for eligible first-party usage across Grok and Cursor surfaces (Premium 4x, Super 15x and Ultra 50x of Plus); usage beyond it is paid from prepaid credits. xAI does not list a separate Grok Build quota. Source: docs.x.ai |
| Standard Compute (us) | From $19/mo | Smart routing sends each request to the cheapest model that can do it, or pin any model by its exact ID. Standard Compute starts at $19/month with a $20 monthly compute budget. Requests stop when that budget is exhausted until renewal or a plan change; there are no automatic overage charges. Requests are not slowed as the budget is used. It is a fixed bill with a finite allowance. |
| xAI API | Pay-as-you-go | Grok models billed per token with an XAI_API_KEY, which Grok Build uses when there is no browser login, as in CI and headless runs. Grok models only. Source: docs.x.ai |
| OpenRouter | Pay-as-you-go | Choose models and providers through one API. Usage-based pricing can suit light or bursty work; estimate long agent sessions and review current fees and limits. Source: openrouter.ai |
Prices and allowances can change. Grok Build's custom model fields, credential order and environment variables come from xAI's Grok Build overview, settings reference and enterprise docs; The X Subscription prices from xAI's pricing doc, all read on October 15, 2026. Grok Build: getting started · Grok Build: settings reference · The X Subscription pricing · Grok Build repo. Spot an error? Tell us.
Export STANDARDCOMPUTE_API_KEY, run grok inspect to check the config loaded, then start grok. Switch with /model sc-sonnet in the TUI or grok -m sc-sonnet. On Windows the file is %USERPROFILE%\.grok\config.toml.
Record your own results with the workload CSV and report template. These are blank templates, not published benchmark results.
Disclosure: this guide is maintained by Standard Compute, one of the options above. Choose based on task quality, supported features and total cost for your workload. Light usage may cost less on a usage-based API; sustained workloads need enough allowance on any subscription.