Is there a free tier for the Grok API?
xAI’s current pricing pages do not list a free production API tier or a free allowance for API calls. They describe API use as usage-based and billed per token. Budget for API charges unless your Console account explicitly shows credits or other applicable terms. (xAI API)
Don’t confuse API billing with free Grok chat in the X app or on grok.com. They are separate products. Also, xAI’s subscription comparison lists Grok API access under Plus ($8/month), but says API usage is billed separately at standard model rates and does not come out of the plan’s usage pool. In other words, the subscription fee is not a bundle of free API tokens. (xAI pricing)
Does the Playground or a subscription make API calls free?
xAI says the Playground is included with every API account. That means the tool is available; it does not establish that requests made in it are exempt from usage charges. The API pricing page says usage is billed per token, and its billing FAQ says API request costs are calculated when requests are made and deducted from available prepaid credits or added to an invoice, where applicable. Check your Console’s billing details before running tests you expect to cost $0. (xAI API)
Similarly, a free X subscription plan or free consumer chat does not establish free production API access. xAI’s plan comparison places API access among Plus features, while separating API charges from the subscription. The official material reviewed here does not specify a general signup-credit amount or promise that every new account receives free API usage. If your team has credits, check their balance and terms in the Console rather than assuming they apply. (xAI pricing)
How much does Grok API usage cost?
For a concrete reference point, xAI lists Grok 4.7 at $2 per 1 million input tokens and $6 per 1 million output tokens for short-context requests, in USD. The pricing table also lists cached-input rates, which are not used in the example below. (xAI API pricing)
Example budget: Suppose an application uses 100,000 input tokens and generates 20,000 output tokens in short-context Grok 4.7 requests:
- Input: 100,000 ÷ 1,000,000 × $2 = $0.20
- Output: 20,000 ÷ 1,000,000 × $6 = $0.12
- Estimated total: $0.32
This is a hypothetical estimate, not a test result. It assumes the listed standard short-context rates, uncached input, and the global endpoint; it excludes server-side tool invocation charges. For Grok 4.7, the long-context threshold is reached when the prompt is at least 200,000 tokens. Once it reaches that threshold, the long-context rates apply to all tokens in the request: $4 per million input tokens and $12 per million output tokens. (xAI API pricing)
For an estimate of your own workload, identify the model, expected input and output tokens per request, requests per day, and whether you use tools. Multiply the applicable per-million-token rates by your expected token totals, and include any applicable tool charges. Check the current model pricing and Console billing before setting a production budget; prices and account terms can change. (xAI API pricing)
What to check before testing in production
- Confirm the product: You need API access for programmatic production requests; consumer Grok chat is not a substitute.
- Check account access and billing: Review the Console for API access, credit balance, and billing settings. Do not assume a subscription or Playground access covers API usage.
- Choose the model and inspect its current rates: Input, cached input, output, long-context, and tool charges may differ. Requests sent to xAI’s US regional endpoint are billed at 1.1× global token rates, a 10% premium. (xAI API pricing)
- Run a small, measured test: Record token usage and any tool calls, then project costs at your expected request volume. Set a budget before moving from experimentation to production.
Bottom line: Don’t plan on a free Grok API tier for production calls. The official pricing pages describe metered API use, and xAI separates API usage charges from consumer subscription fees. Treat Playground availability as a way to try the interface—not proof that requests are free—and use your Console and the current model price list to confirm your account’s actual costs. (xAI API)
Sources
Pricing: Compare Plans | SpaceXSI
