Cloudflare integrations / AI inference / xAI
xAI + Cloudflare integration
ListedFacts verified 27-11-2026Work at xAI? Claim this page
Claim this page, free
Use your xAI email. We'll send one link. Click it and all three xAI pages on Lode (Cloudflare, Cursor, LangChain) are yours to correct.
Using an agent? It can claim and send corrections in one call: claim_vendor on the Lode MCP server.
Check your inbox
We sent a link to . Click it and your pages are claimed. The link works for 24 hours. Resend · Use a different email
Check your inbox soon
We'll email a link to within a day. Click it and your pages are claimed. Use a different email
We'll check this one by hand
That email isn't on xAI's domain (x.ai), so we can't send a claim link straight away. We'll check it and reply within two working days. Use a different email
That link has expired
Links work for 24 hours. Send a new one
Your pages are claimed
Press Fix on anything wrong. With a public link it's published as a sourced fact; without one it shows as "Vendor-reported" with the date. Change emails: on, at most one a week · Turn off
Thanks. We'll use it to keep your pages right.
| Cloudflare plan needed | Not stated |
|---|---|
| Regions | No regional restriction stated |
| Works with | 1 capability |
| Price | Usage fees, no monthly fee reported |
| Facts last verified | 27-11-2026 |
What does xAI do with Cloudflare Workers?
| Fact | Direction | Source |
|---|---|---|
| xAI models can be called through Cloudflare AI Gateway. xAI (Grok) requests go to the AI Gateway endpoint ending in /grok in place of https://api.x.ai/v1; the page shows the OpenAI and Anthropic SDKs pointed at it, and Grok models can also be called through the OpenAI-compatible endpoint. xAI is one of the providers Cloudflare Unified Billing can pay for. | Direction not stated | [s1][s2] |
Compare other apps: Cloudflare Workers integrations: models through AI Gateway
What does xAI not do on Cloudflare?
- Needs an active xAI API token, unless the requests are paid with Cloudflare Unified Billing credits. Minor [s1][s2]
- Paying through Cloudflare Unified Billing adds a 5% fee to the credits bought; provider rates are passed through without markup. Minor [s2]
How much does xAI cost?
- xAI's API usage plan charges grok-4.7: $2.00 per 1M input tokens and $6.00 per 1M output tokens. [s3]
| Plan | Billing |
|---|---|
| API usage | per-transaction, grok-4.7: $2.00 per 1M input tokens and $6.00 per 1M output tokens, usage-based; page shows $ without a currency code, read as USD |
What do you need to use xAI with Cloudflare?
- The sources don't limit xAI to particular countries. [s1]
Where else does xAI integrate?
How does xAI compare?
Similar apps for Cloudflare
- Cartesia + Cloudflare
- Cerebras + Cloudflare
- Claude + Cloudflare
- Deepgram + Cloudflare
- DeepSeek + Cloudflare
- ElevenLabs + Cloudflare
Listed alphabetically, not ranked.
See all 16 apps in AI inference for Cloudflare
xAI and Cloudflare: common questions
Does xAI integrate with Cloudflare?
Yes. xAI connects with Cloudflare, and Lode has verified the details. It supports 1 capability. Facts verified 27-11-2026.
What does the xAI Cloudflare integration do?
xAI models can be called through Cloudflare AI Gateway.
How much does xAI cost to use with Cloudflare?
Usage fees, no monthly fee reported, from xAI's own published pricing. Details by plan are in the pricing section above.
Sources
- https://developers.cloudflare.com/ai-gateway/usage/providers/grok/index.md (platform docs, retrieved 26-11-2026)
- https://developers.cloudflare.com/ai-gateway/features/unified-billing/index.md (platform docs, retrieved 26-11-2026)
- Grok Models & Pricing | SpaceXSI Docs (vendor pricing, retrieved 24-11-2026)
Changelog
- 27-11-2026: Record created from public sources (LOD-157 batch 2 group C2): https://developers.cloudflare.com/ai-gateway/usage/providers/grok/index.md; https://developers.cloudflare.com/ai-gateway/features/unified-billing/index.md.
- 27-11-2026: Price reused from xai--langchain (read 24-11-2026): Grok Models & Pricing | SpaceXSI Docs; the app's own plans exactly as recorded there, source kept with its original read time.
- 29-11-2026: Answer summary now names the currency next to each price (LOD-200).
Machine-readable: JSON. Spot an error? Send a correction.