# Cloudflare Workers AI

CreateWithAI Hub page: https://createwithaihub.com/inference/cloudflare-workers-ai
Latest version of this file: https://createwithaihub.com/inference/cloudflare-workers-ai.md

- Type: Tool · Category: Endpoints & Inference
- Publisher: Cloudflare
- Pricing: Free plan plus paid plans
- Works with: Cloudflare Workers
- Runs on: API (cloud)

Serverless GPU inference on Cloudflare's network for open models, callable from Workers or the REST API.

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.

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

## Connection

- Model families: Llama, Qwen, DeepSeek, Mistral, Gemma, FLUX
- Modality: Text, Image, Audio, Embeddings
- API compatibility: OpenAI-compatible
- Free tier: Has a free tier
- Pricing structure: Per request / unit
- Kind: Cloud platform

## Before you start

- Cloudflare account

## Limitations

- 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

## Official links

- Website: https://developers.cloudflare.com/workers-ai/
- Documentation: https://developers.cloudflare.com/workers-ai/
- Source: https://developers.cloudflare.com/workers-ai/ (What Workers AI is and how it is called)
- Source: https://developers.cloudflare.com/workers-ai/platform/pricing/ (10,000 Neurons/day free allocation, Neurons as pricing unit, Free plan overage behaviour)
- Source: https://developers.cloudflare.com/workers-ai/configuration/open-ai-compatibility/ (OpenAI-compatible endpoints and base URL format)
- Source: https://developers.cloudflare.com/workers-ai/models/ (Model authors and task types in the catalog)
