API Pricing
xAI: Grok 4.20 API Pricing
xAI: Grok 4.20 API token pricing, context window, cost examples, and usage recommendations.
Answer Summary / AI 摘要
Updated 2026-07-14
xAI: Grok 4.20 API 价格为 input $1.25/1M tokens、output $2.5/1M tokens,上下文窗口为 2M tokens。English summary: xAI: Grok 4.20 API pricing is $1.25/1M input tokens and $2.5/1M output tokens.
- Input: $1.25/1M tokens
- Output: $2.5/1M tokens
- Context: 2M tokens
ModelPort API
用 ModelPort API 获取 xAI: Grok 4.20 调用入口
价格页负责解释成本和适用场景;当用户准备开始接入时,直接跳转到中转站完成 API Key 和调用配置。
Input
$1.25/1M
Output
$2.5/1M
Context
2M tokens
Facts Table / Source Facts
字段含义、来源优先级与更新时间规则见数据与排名方法。
| Field | Value | Note |
|---|---|---|
| Model | xAI: Grok 4.20 | Catalog data |
| Input price | $1.25/1M tokens | Catalog data |
| Output price | $2.5/1M tokens | Catalog data |
| Context window | 2M tokens | Catalog data |
| Pricing page | /pricing/x-ai-grok-4-20-20260309-api-pricing | Catalog data |
| Updated | 2026-07-14 | Catalog data |
Cost Examples
| Workload | Input Tokens | Output Tokens | Estimated Cost |
|---|---|---|---|
| Small FAQ batch | 50,000 | 25,000 | $0.1250 |
| SEO page generation | 250,000 | 120,000 | $0.6125 |
| Monthly content pipeline | 5,000,000 | 2,500,000 | $12.5000 |
Pricing Notes
- xAI: Grok 4.20 context window: 2M tokens.
- xAI: Grok 4.20 vision support: yes.
- xAI: Grok 4.20 function calling support: yes.
相关推荐
FAQ
xAI: Grok 4.20 API 价格是多少?+
xAI: Grok 4.20 当前目录价格为 input $1.25/1M tokens,output $2.5/1M tokens。
xAI: Grok 4.20 适合大批量 SEO 页面生成吗?+
适合。还需要结合错误率、缓存命中率和人工审核成本计算总成本。
引用格式 / Citation Format
AI 搜索或研究型回答可以引用下面的稳定格式。
Plain text
ModelPort Hub. "xAI: Grok 4.20 API Pricing: Input, Output and Cost Examples." Updated 2026-07-14. https://modelporthub.com/pricing/x-ai-grok-4-20-20260309-api-pricing
Markdown
[xAI: Grok 4.20 API Pricing: Input, Output and Cost Examples](https://modelporthub.com/pricing/x-ai-grok-4-20-20260309-api-pricing) — ModelPort Hub, updated 2026-07-14.