All insights

Coding agents

Grok Coding Plan: Grok Build Access, Pricing, and API Options

Does Grok have a coding plan? See which current subscription lists Grok Build, what API coding models cost, and how to choose an access route.

Illustration for Grok coding plan

Is there a dedicated Grok coding plan?

The current xAI pricing page does not list a separate coding-only subscription. It lists Grok Build as a subscription feature, and describes the plans as one subscription covering multiple xAI products. For new self-serve customers, the page displays Plus at $8 per month and includes limited Grok Build access. That is the clearest listed subscription route for trying Build; the page does not state a Build-specific quota. Prices exclude applicable taxes or fees and may change. (x.ai)

The plan names have changed over time. In its May 25, 2026 announcement, xAI said Grok Build was available in early beta to SuperGrok and X Premium Plus subscribers. Current plan documentation says new self-serve customers choose from The X Subscription, while existing SuperGrok and X Premium plans continue unless their subscribers switch or cancel. So the announcement-era names should not be treated as a current purchase instruction; check the plan and Build allowance shown for your account and purchase channel. (x.ai)

Which Grok option fits your coding work?

  • Terminal-based coding agent: Grok Build is xAI’s coding agent. The official documentation describes interactive terminal use, headless runs, and connecting it to other apps through the Agent Client Protocol. The pricing page lists Build with limited access at the Plus tier; it does not state the exact allowance in the captured plan comparison. (docs.x.ai)
  • Coding-oriented API model: grok-build-0.1 is identified in xAI’s API documentation as a model for coding, software engineering, and workflow tasks. Its model page lists function calling and structured outputs. (docs.x.ai)
  • General-purpose API model for code and other work: xAI recommends grok-4.7 for code and describes it as its flagship model for code and other tasks. Its developer guide documents function calling, web search, X search, and code execution. These are product-documentation claims, not comparative coding-test results; evaluate models on your own representative tasks if performance is the deciding factor. (docs.x.ai)

Subscription cost versus API cost

A subscription and API usage are separate purchase routes. The current pricing page lists Grok API access among subscription features, but does not say that the subscription allowance is the same as API token billing. For API use, xAI’s pricing documentation lists USD short-context rates of $1 per million input tokens and $2 per million output tokens for grok-build-0.1, and $2 per million input tokens and $6 per million output tokens for grok-4.7. (x.ai)

Illustrative base-rate calculation, not a bill estimate: Across multiple requests, suppose total usage is 2 million input tokens and 500,000 output tokens, with every prompt below 200,000 tokens. At the listed short-context rates, the arithmetic is $3 for grok-build-0.1 and $7 for grok-4.7. xAI lists different rates when a prompt reaches the 200,000-token long-context threshold: $2 input/$4 output per million for grok-build-0.1, and $4 input/$12 output per million for grok-4.7. Actual API charges depend on each request’s usage and applicable rates. (docs.x.ai)

Practical choice: If you want to work in a terminal with an agent, compare Grok Build’s included allowance with your expected use; the current pricing page lists limited Build access on Plus at $8/month. If you are integrating a model into software or an agent you control, compare API token costs and use the model documentation for the exact identifier and workflow features. The published API guide documents grok-4.7 with the Responses API; grok-build-0.1 has its own API model page and pricing. (x.ai)

Minimal API example

xAI’s grok-4.7 developer guide documents the Responses endpoint, model identifier, bearer-token authentication, and input field. This example follows that documented pattern; it does not demonstrate grok-build-0.1 endpoint compatibility. (docs.x.ai)

curl https://api.x.ai/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -d '{
    "model": "grok-4.7",
    "input": "Find and explain the bug in this function: function median(a){a.sort();return a[a.length/2]}"
  }'

Bottom line: There is no separately named coding-only plan on the current plan comparison. For interactive terminal coding, the listed subscription option is Plus with limited Grok Build access; verify the allowance presented for your account before buying. For programmatic coding, compare the documented API models and token rates separately from subscription pricing.

Sources

Pricing: Compare Plans | xAI

Pricing | xAI Documentation

Introducing Grok Build | xAI

Grok Build: xAI's Coding Agent

Grok Build 0.1 | xAI API Documentation

Grok 4.7 Developer Guide | xAI API Documentation

API Pricing | xAI Documentation

Responses | xAI API Reference

Grok Models & Pricing | xAI API Documentation

Contact us