opencheap.si
鸣谢

xAI: grok-4:fastAPI pricing

Grok 4 is xAI's reasoning model, trained with reinforcement learning to call tools such as a code interpreter and web and X search. It suits hard research questions and real-time lookups, and a heavier parallel-compute variant, Grok 4 Heavy, is also offered.

每100万枚代币的价格
$0.21 / $0.52input / output
缓存的输入
$0.052per 1M tokens
上下文
2M tokens
服务提供商
1

服务提供商

1 provider ·

  • 2M context

路由

按价格筛选的请求 (:floor) 或按速度 (provider.sort, :nitro),或为每秒代币数量设定下限. 路由的工作原理

价格走势

未选择服务提供商
正在加载……

API

curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/grok-4:fast", "messages": [{ "role": "user", "content": "Hi" }] }'

致电 grok-4:fast 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/grok-4:fast;其余代码保持不变。

About grok-4:fast

请求示例
$0.002610,000 in + 1,000 out
实验室
40 xAI models
端点
https://api.opencheap.si/v1
模型 ID

每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.

用文字表述价格

grok-4:fast costs from $0.21 per 1M input tokens and $0.52 per 1M output tokens on OpenCheap, with cached input at $0.052 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0026, and 1,000 such requests about $2.62.

One provider serves grok-4:fast on OpenCheap today. Its context window is 2M tokens (2,000,000), room for roughly 1,500,000 words of English in one request.

grok-4:fast is one of 40 xAI models on OpenCheap.

Prices as of 2026-12-04 11:48 UTC.

关于定价的问题

How much does the grok-4:fast API cost per 1M tokens?

grok-4:fast costs from $0.21 per 1M input tokens and $0.52 per 1M output tokens on OpenCheap, with cached input at $0.052 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.

What does one grok-4:fast request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0026, and 1,000 such requests about $2.62. Every answer reports its own cost in usage.cost.

Which providers serve grok-4:fast?

One provider serves grok-4:fast on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

What is the context window of grok-4:fast?

Its context window is 2M tokens (2,000,000), room for roughly 1,500,000 words of English in one request.

How do I call the grok-4:fast API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/grok-4:fast. One OpenCheap key works for every model; the rest of your code stays the same.

More from xAI

All 40 xAI models →

类似型号

  • DeepSeek V4 ProDeepSeek · 100万上下文$0.40 / $0.79 per 1M
  • GLM 5.1Zhipu · 204K context$0.15 / $0.46 per 1M14 % cheaper
  • Kimi K3.1 ProMoonshot · 1M context$0.21 / $1.07 per 1M
  • GPT 6 Luna ProOpenAI · 100万上下文$0.094 / $0.47 per 1M16 % cheaper
  • Kolibri 1Aleph Alpha · 1M context$0.14 / $0.54 per 1M
  • Muse EmberMeta · 100万上下文$0.094 / $0.47 per 1M16 % cheaper

Compare grok-4:fast with any model →Cheapest LLM API