How much does Grok Code Fast 1 cost per million tokens?
As of August 21, 2026, Grok Code Fast 1 xAI API pricing is $0.20 per million input tokens and $1.50 per million output tokens. Input tokens are the prompt you send; output tokens are the completion. Long answers therefore cost more than short ones even when the prompt stays the same. Source: https://docs.x.ai/docs/models
What is the blended API cost for Grok Code Fast 1?
On this page the blended Grok Code Fast 1 API cost is $1.70 for 1 million input tokens plus 1 million output tokens. That 1:1 mix is the comparison scale used across the LLM pricing table. A 3:1 mix (three million input tokens per one million output tokens), which some calculators use, would be about $2.10.
How much does a typical Grok Code Fast 1 request cost?
A typical Grok Code Fast 1 API request with 100K input tokens and 20K output tokens costs about $0.05 at current rates as of August 21, 2026. Multiply that by daily or monthly volume to estimate spend. Caching, batch APIs, and volume discounts from xAI can bring the real invoice lower than the public list rate at https://docs.x.ai/docs/models.
What is the context window for Grok Code Fast 1?
Grok Code Fast 1 supports a 256K token context window and can generate up to 10K output tokens per request. The context window is the total prompt plus conversation history the model can see in one call. Larger windows cost more when you fill them, because every input token is billed per million tokens.
Is Grok Code Fast 1 open source?
No. Grok Code Fast 1 is a proprietary model by xAI. The only public way to call it is xAI's API, billed per million input and output tokens. There is no self-host option for the weights.
What benchmarks does Grok Code Fast 1 perform well on?
Grok Code Fast 1 currently reports SWE-bench Verified 70.8%, LiveCodeBench 62.0%, Arena Code Elo 1164. See the performance table for the full eval set. Use those scores with the token prices above when you are choosing between a cheaper LLM and a frontier model. GPQA, SWE-bench, and HLE are the evals people usually compare first.
Is Grok Code Fast 1 good for coding?
Grok Code Fast 1 scores 70.8% on SWE-bench Verified. Pair that score with xAI API pricing on this page: a slightly worse SWE-bench model can still win if it is much cheaper per million tokens. Open the SWE-bench or coding leaderboard from the sidebar for the full ranking, then jump into an LLM comparison against a coding specialist.
What is the knowledge cutoff for Grok Code Fast 1?
Grok Code Fast 1 has a published knowledge cutoff of 2024-06-30. Facts after that date are not guaranteed to be in the weights. For current events you still need retrieval or tools, which adds input tokens and therefore API cost per million tokens.
How do I compare Grok Code Fast 1 with another LLM?
Use the Compare picker on this page to start an LLM comparison. Search by model or provider, pick a second model, and AnotherWrapper opens a dedicated Grok Code Fast 1 vs page with per-million-token prices, blended 1M-in / 1M-out cost, context window, throughput, and benchmarks. You can also open any model from the sidebar, or go back to the LLM pricing table to sort the full index.
What are the cheapest alternatives to Grok Code Fast 1?
The cheapest LLM alternative depends on whether you optimize for blended token cost, coding evals, or context window. Start with the popular matchups on this page, then sort the LLM pricing table by blended cost to see which hosted APIs undercut Grok Code Fast 1. Open-weight models can be cheaper still if you self-host, but that is not the same as xAI API pricing on this page.
How do I use Grok Code Fast 1 in my application?
Grok Code Fast 1 is called through xAI's API with an API key. Bill against input and output tokens separately; cache or shorten prompts if spend is high. If you are shipping a full product, AnotherWrapper includes pre-built API routes and templates for xAI and 5+ other providers with auth, payments, and deployment already configured.
How accurate is this Grok Code Fast 1 pricing data?
This Grok Code Fast 1 page tracks the latest published xAI API pricing from xAI, quoted per million tokens. List rates can differ from invoices because of prompt caching, batch discounts, committed-use tiers, and private contracts. Official rate sheet: https://docs.x.ai/docs/models. Benchmark scores come from official publications and independent evals, not from a private lab run by AnotherWrapper.
How fast is Grok Code Fast 1?
Grok Code Fast 1 has a measured throughput of about 76.41 tokens per second (tok/s). Throughput is how fast completions stream once the model starts generating; time-to-first-token can still lag under load. Faster APIs matter when you are building chat or agents, even if the per-million-token price is the same.