Free Grok 4.3 on Cloudflare

Paid (Cloudflare Unified Billing): Grok 4.3 keyless via Cloudflare — prepay credits, billed at xAI pass-through rates, no markup. For free, use Vercel.

Updated 6/8/2026Provider trust 99/1002 code examples

About the Model

为什么选择 Grok 4.3?

Grok 4.3 是 xAI 当前的旗舰文本模型,主打实时性与 agentic 能力。

  • 100 万 token 上下文:整本书、超长代码库一次喂入。
  • 实时接入 X 数据:掌握全球此刻正在发生的事,时效性远超训练截止式模型。
  • 强 agentic 工具调用:针对 Colossus 超算集群深度优化。
  • 原生读图:支持图像输入理解。

可在 Vercel(每月 $5 免 Key 额度)免费调用;Cloudflare 免 Key 但付费(AI Gateway 统一计费,按 xAI 原价透传、需先充值)。

How to Access for Free (via Cloudflare Workers AI)

计费:Cloudflare 统一计费(付费)

Grok 经 Cloudflare AI Gateway 的统一计费(Unified Billing)扣费:先在 Cloudflare 后台充值(充值有 5% 手续费),再按 xAI 原价透传、无加价计费,无需单独的 xAI Key。这些第三方模型没有免费额度(Cloudflare 的免费 Neurons 只对 @cf/ 模型有效)。

好处:一张账单、不用各家 Key、可设花费上限、全球边缘。想免费用 Grok,请走 Vercel(每月 $5 免 Key 额度)。

Try it in your browser

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Pick a model, paste your own free key, and run. Your key is sent once to call the provider and never stored on our servers.

Code Examples

curl
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/xai/grok-4.3 \
  -H "Authorization: Bearer $CF_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"messages":[{"role":"user","content":"Explain black holes in one sentence."}]}'
javascript
// Cloudflare Worker: no extra key/env; Grok is billed directly by Cloudflare
export default {
  async fetch(request, env) {
    const res = await env.AI.run('xai/grok-4.3', {
      messages: [{ role: 'user', content: 'Explain black holes in one sentence.' }],
    });
    return Response.json(res);
  },
};
Free Grok 4.3 on Cloudflare - Free API, Quota & Code | Free AI API