grok-4.20 is a advanced-tier language model from xAI. grok-4.20 is a proprietary model available exclusively through xAI's API. Grok is xAI's model family, known for a large context window and reasoning capability across its model generations.
grok-4.20 is priced at $1.25/1M input tokens and $2.5/1M output tokens. Output tokens are 2× more expensive than input tokens — this ratio reflects the sequential nature of autoregressive generation, which requires a separate forward pass per output token versus parallel processing of all input tokens simultaneously. At a typical usage pattern of 1,000 input tokens and 500 output tokens per call, grok-4.20 costs approximately $2.50 per 1,000 API calls. xAI does not publish a prompt caching rate for this model, so repeated long contexts are billed at the standard $1.25/1M input rate.
Its 200K-token context window is in the top tier for production models, enabling full-document analysis, long multi-turn conversations, and large codebase understanding without chunking. Median latency (P50 time-to-first-token) is approximately 480ms — suitable for interactive applications where sub-second response is acceptable. Throughput is approximately 145 tokens/second — adequate for streaming at comfortable reading speed. Maximum output length is 33K tokens — sufficient for long-form content generation, detailed code files, and extended reports.
grok-4.20 is best suited to chat, coding, cost. Supported capabilities include vision inputs (images alongside text), function calling / tool use for agentic workflows, streaming token output for real-time UIs. Vision support enables document analysis, screenshot understanding, diagram interpretation, and visual question answering — images are converted to tokens at the standard input rate based on resolution. Function calling support makes it suitable for building AI agents, structured data extraction pipelines, and any workflow requiring the model to invoke external APIs or return typed JSON. When evaluating this model for a specific workload, the most important factors are: context window (does your input fit?), output price (how long are your generations?), and latency (is this interactive or batch?). The pricing table above shows how grok-4.20 compares to similar models across these dimensions.
grok-4.20 sits in the advanced tier — strong general-purpose models balancing capability and cost, suitable for most production applications. Unlike open-weights alternatives, grok-4.20 is only available via xAI's API — there is no self-hosted option, which simplifies deployment but creates vendor dependency. When comparing grok-4.20 to alternatives, use the similar models section on this page to find models at comparable price points with different capability tradeoffs. The intelligence score (91/100) reflects aggregate benchmark performance — a useful proxy for general capability, though real-world performance varies significantly by task type. Always test with your specific prompts and use case before committing to a model for production.
Composite quality score based on reasoning, coding, and instruction-following benchmarks.
Input price vs 184 advanced models tracked. Avg: $1.38/1M.
| Model ID | grok-4.20 |
| Provider | xAI |
| Model Family | Grok 4 |
| Tier | Advanced |
| Context Window | 200,000 tokens (200K) |
| Max Output Tokens | 32,768 tokens |
| Input Price | $1.25 / 1M tokens |
| Output Price | $2.5 / 1M tokens |
| Cached Input Price | Not available |
| Throughput | 145 tokens/sec |
| Latency (P50) | 480ms |
| Intelligence Score | 91/100 |
| LiveBench Score | — |
| Cost per Task (LiveBench) | — |
| Data Confidence | — |
| HLE Score | — |
| GPQA Diamond | — |
| SWE-bench Score | — |
| OSWorld Score | — |
| BrowseComp Score | — |
| Terminal-Bench Score | — |
| AutoBench Score | — |
| Parameters | — |
| Vision Support | Yes |
| Function Calling | Yes |
| Streaming | Yes |
| Reasoning Model | No |
| Open Weights | No |
| Data Source | Static (verified) |
| Last Updated | 2026-10-15 |
Similar Models by Intelligence Score
Self-hosting grok-4.20? These GPUs are well-matched for this model's compute and memory requirements.