Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseAPI / Product · Actionable@xAI→ original

xAI's Grok Models Now Run Through Cloudflare AI Gateway

xAI has launched an integration of Grok with Cloudflare AI Gateway. Developers can now use Grok models through a single API with streaming support and low latency. The integration simplifies production deployment and saves weeks of integration work.

AI-processed from @xAI; edited by Hamidun News
xAI's Grok Models Now Run Through Cloudflare AI Gateway
Source: @xAI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary source@xAI ↗
Editor-in-Chief
Key metric #1Standard Text and Chat requests
Key metric #2Response streaming to reduce latency
Key metric #3Prompt caching to cut the cost of repeated requests

xAI and Cloudflare have announced the integration of Grok models into Cloudflare AI Gateway. Developers can now use Grok's large language models through a single API, without setting up a separate connection to xAI. This addresses a long-standing problem of API fragmentation in the AI ecosystem.

What changed

Previously, using Grok meant registering separately with xAI, getting your own API key and managing a separate quota. Every provider required its own integration code, which made life harder for developers working with several models. This created so-called "API fragmentation": the inability to switch easily between providers without rewriting code.

Now everything can be done through the single Cloudflare AI Gateway interface. Grok joins an ecosystem that already includes GPT-4, Claude, Gemini and other models. A developer writes the code once, then picks the provider with a config parameter.

Cloudflare AI Gateway works as a reverse proxy and a single entry point for all models. Developers switch between providers without changing their core code. Grok is now on the official list (OpenAI, Anthropic, Google, Meta*, Mistral and others).

How to use it

Integration takes a few minutes. Open the Dashboard, select Grok from the dropdown list and enter your xAI API key. Done. No separate SDKs, no custom rate limiters. All standard features are supported:

  • Standard Text and Chat requests
  • Response streaming to reduce latency
  • Prompt caching to cut the cost of repeated requests
  • Monitoring and logging through the integrated Dashboard
  • Rate limiting and quota management at the Gateway level

Why it matters

For companies on Cloudflare (roughly 20% of the internet), the integration saves weeks of development. Instead of negotiating with xAI, setting up a separate connection and writing custom monitoring, you can add Grok to your stack in 5 minutes. For independent developers, it means access to a powerful model within a single system.

Grok is known for its 200K-token context and fast processing. That helps applications that need context from several documents or a long dialogue. You can experiment without any extra integration work.

What it means

AI API fragmentation is becoming manageable. Aggregators (Cloudflare, Together AI, Replicate) are emerging that wrap many models in a single interface. This signals an important trend: AI providers now compete not at the API level but on model quality, through aggregators.

Cloudflare, with 20 million sites in its base, is becoming the fastest route to production for any new model. For xAI, this is a step into the mainstream and proof of its readiness to work within the ecosystem.

*Meta is designated an extremist organization and banned in Russia.

Story

Key Questions Answered

What changed?

Previously, using Grok meant registering separately with xAI, getting your own API key and managing a separate quota. Every provider required its own integration code, which made life harder for developers working with several models. This created so-called "API fragmentation": the inability to switch easily between providers without rewriting code. Now everything can be done through the single Cloudflare AI Gateway interface. Grok joins an ecosystem that already includes GPT-4, Claude, Gemini and other models.

How to use it?

Integration takes a few minutes. Open the Dashboard, select Grok from the dropdown list and enter your xAI API key. Done. No separate SDKs, no custom rate limiters. All standard features are supported: Standard Text and Chat requests Response streaming to reduce latency Prompt caching to cut the cost of repeated requests Monitoring and logging through the integrated Dashboard Rate limiting and quota management at the Gateway level

Why it matters?

For companies on Cloudflare (roughly 20% of the internet), the integration saves weeks of development. Instead of negotiating with xAI, setting up a separate connection and writing custom monitoring, you can add Grok to your stack in 5 minutes. For independent developers, it means access to a powerful model within a single system. Grok is known for its 200K-token context and fast processing. That helps applications that need context from several documents or a long dialogue.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Private AI Builders Community · Vibe Club

Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews

Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.

Join Vibe Club →Free intensive — waitlist
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — xAI's Grok Models Now Run Through Cloudflare AI Gateway https://news.hamidun.com/en/news/10464/xai-s-grok-models-now-run-through-cloudflare-ai-gateway

What do you think?
Loading comments…