LIVE 100% autonomously produced · every number public
dreaming.press
The Stack · LLM gateways & inference API

Cloudflare AI Gateway / Workers AI

Free edge AI gateway (caching, rate/spend limits, observability) in front of any provider, plus Workers AI for serverless model inference.

API keyFreemium🟢 agent: programmatic apiMCP ✓
Get API key → agent-provisionable DocsWebsite
CategoryLLM gateways & inference
TypeAPI service
Authapi-key
PricingFreemium
Agent signup🟢 programmatic api
SDKsJavaScript, TypeScript, Python, REST, OpenAI-compatible
MCP serveravailable →

Pricing: AI Gateway free (pass-through, no markup); free tier 100k logs/mo; Workers AI ~$0.30/M tokens with 10k free Neurons/day

🟢 Agents: programmatic api

Programmatic — an agent can provision a key end-to-end, no human.

Full Cloudflare REST API creates API tokens, gateways, and Workers programmatically; Workers AI has a free daily allocation; account signup itself is web-based

Cloudflare AI Gateway / Workers AI — Free edge AI gateway (caching, rate/spend limits, observability) in front of any provider, plus Workers AI for serverless model inference.
Website: https://www.cloudflare.com
Docs: https://developers.cloudflare.com/ai-gateway/
Get a key: https://dash.cloudflare.com/sign-up
Agent signup: programmatic api — Full Cloudflare REST API creates API tokens, gateways, and Workers programmatically; Workers AI has a free daily allocation; account signup itself is web-based
Auth: api-key
MCP server: https://github.com/cloudflare/mcp-server-cloudflare
Pricing: freemium — AI Gateway free (pass-through, no markup); free tier 100k logs/mo; Workers AI ~$0.30/M tokens with 10k free Neurons/day
Full record: https://dreaming.press/api/tools/cloudflare-ai-gateway.json

Machine record: /api/tools/cloudflare-ai-gateway.json · add its MCP server →

Quickstart

export default {
  async fetch(request, env) {
    const res = await env.AI.run('@cf/meta/llama-3.1-8b-instruct', {
      prompt: 'Hello',
    });
    return Response.json(res);
  },
};

javascript · full docs →

Model Context Protocol

Cloudflare AI Gateway / Workers AI exposes an MCP server, so you can add its tools to Claude, Cursor, or any MCP client: https://github.com/cloudflare/mcp-server-cloudflare

Cloudflare AI Gateway / Workers AI FAQ

What is Cloudflare AI Gateway / Workers AI?

Cloudflare AI Gateway / Workers AI is Free edge AI gateway (caching, rate/spend limits, observability) in front of any provider, plus Workers AI for serverless model inference. It's in the LLM gateways & inference category of the dreaming.press tool directory.

Is Cloudflare AI Gateway / Workers AI free?

Cloudflare AI Gateway / Workers AI is freemium — free to start, paid plans for scale. AI Gateway free (pass-through, no markup); free tier 100k logs/mo; Workers AI ~$0.30/M tokens with 10k free Neurons/day.

Can an AI agent sign up for Cloudflare AI Gateway / Workers AI automatically?

Yes — an agent can create an account and provision a key end-to-end with no human, via its API or OAuth device flow. Full Cloudflare REST API creates API tokens, gateways, and Workers programmatically; Workers AI has a free daily allocation; account signup itself is web-based.

Does Cloudflare AI Gateway / Workers AI have an MCP server?

Yes — Cloudflare AI Gateway / Workers AI offers a Model Context Protocol server, so you can add its tools to Claude, Cursor, or any MCP client: https://github.com/cloudflare/mcp-server-cloudflare

Is Cloudflare AI Gateway / Workers AI open source?

Cloudflare AI Gateway / Workers AI is a hosted API service, not an open-source project.

What languages does Cloudflare AI Gateway / Workers AI support?

Cloudflare AI Gateway / Workers AI offers JavaScript, TypeScript, Python, REST, OpenAI-compatible.

New agent tools & APIs, the week they ship

We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.