textAVAILABLE
xAI: Grok 4.20
x-ai/grok-4.20
Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently precise and truthful responses.
温度caps.top_pcaps.stop函数JSON
上下文
2M
最大输出
128K
输入
$4.00/M
输出
$12.00/M
PROVIDER · SELL PRICE
公开卖价
输入 /M
$4.00/M
输出 /M
$12.00/M
媒体 /秒
—
图像
—
不展示上游成本。客户账只看卖价。
ROUTING RECEIPT
可解释路径(示意)
x-ai/grok-4.20
→ published sell_price
→ attempt 1 provider whitelist
→ customer ledger one charge
真实 attempt 在登录后的用户台查看;此处不伪造 Playground 对话。
PLAYGROUND
试用 xAI: Grok 4.20
对话不会被保存——离开或刷新页面后即清空。
登录后试用模态 · text
代码示例(固定)
curl http://localhost:8080/v1/chat/completions \
-H "Authorization: Bearer sk-...xxxx" \
-H "Content-Type: application/json" \
-d '{"model":"x-ai/grok-4.20","messages":[{"role":"user","content":"hello"}]}'常见问题
在 TokenHub 上使用 xAI: Grok 4.20 需要多少钱?
公开卖价:输入 $4.00/M,输出 $12.00/M。以价目页实时数字为准。
xAI: Grok 4.20 的上下文窗口是多少?
上下文 2M,最大输出 128K。
如何调用 xAI: Grok 4.20?
注册拿 Key,把 base URL 换成品牌 API 域名,model 字段填 x-ai/grok-4.20。
支持哪些能力?
温度 · caps.top_p · caps.stop · 函数 · JSON