
Tool Cloudflare
Cloudflare Workers AI
Serverless GPU inference on Cloudflare's network for open models, callable from Workers or the REST API.
What it is
Workers AI runs open-source models on GPUs in Cloudflare's global network and can be called from Workers and Pages or from anywhere through the Cloudflare API. Its catalog covers text generation, embeddings, text-to-image, speech recognition, text-to-speech, translation and classification. Usage is measured in Neurons, with a daily free allocation on both the Free and Paid Workers plans.
What it's useful for
Adding AI features to a Cloudflare Workers app without managing GPUs, or running small inference workloads for free within the daily allocation.
Key features
- Serverless GPU inference on Cloudflare's network
- Callable from Workers/Pages or via the Cloudflare REST API
- OpenAI-compatible /v1/chat/completions and /v1/embeddings endpoints
- Catalog with Llama, Qwen, DeepSeek, Mistral, Gemma, FLUX, Whisper and GPT-OSS models
- 10,000 Neurons per day included on Free and Paid plans
How to use it
Before you start
- Cloudflare account
Limitations to know
- On the Free plan, requests beyond the daily Neuron allocation fail until it resets
- The OpenAI-compatible Responses endpoint is limited to GPT-OSS models and non-streaming requests
Alternatives
MCP servers for this
Microsoft's open-source MCP server that puts tools for many Azure services, from Storage to Cosmos DB and Monitor, in one server.
Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.
Cloudflare's set of hosted MCP servers, led by one API server that lets agents call the whole Cloudflare API through code.
Skills for this
Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.
Vercel's collection of Agent Skills for React/Next.js performance, UI review, writing style and Vercel deploys.
Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.
Related resources
OpenAI's proprietary GPT model family, with frontier, efficient, image and speech variants served through the OpenAI API.
Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.
OpenAI's developer API for GPT, image, audio and embedding models, with official SDKs in several languages.
Alibaba Cloud's Qwen model family, with many open-weight models and an OpenAI-compatible API.