Cloudflare Workers AI

Last updated Apr 21, 2026 Run machine learning models, powered by serverless GPUs, on Cloudflare's global network.

Available on Free and Paid plans

Workers AI allows you to run AI models in a serverless way, without having to worry about scaling, maintaining, or paying for unused infrastructure. You can invoke models running on GPUs on Cloudflare's network from your own code — from Workers, Pages, or anywhere via the Cloudflare API.

Workers AI gives you access to:

Get started Watch a Workers AI demo

Custom requirements

If you have custom requirements like private custom models or higher limits, complete the Custom Requirements Form ↗︎. Cloudflare will contact you with next steps.

Workers AI is now Generally Available

To report bugs or give feedback, go to the #workers-ai Discord channel ↗︎. If you are having issues with Wrangler, report issues in the Wrangler GitHub repository ↗︎.


Features

Models

Workers AI comes with a curated set of popular open-source models that enable you to do tasks such as image classification, text generation, object detection and more.

Browse models


AI Gateway

Observe and control your AI applications with caching, rate limiting, request retries, model fallback, and more.

Vectorize

Build full-stack AI applications with Vectorize, Cloudflare’s vector database. Adding Vectorize enables you to perform tasks such as semantic search, recommendations, anomaly detection or can be used to provide context and memory to an LLM.

Workers

Build serverless applications and deploy instantly across the globe for exceptional performance, reliability, and scale.

Pages

Create full-stack applications that are instantly deployed to the Cloudflare global network.

R2

Store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services.

D1

Create new serverless SQL databases to query from your Workers and Pages projects.

Durable Objects

A globally distributed coordination API with strongly consistent storage.

KV

Create a global, low-latency, key-value data storage.


More resources

Get started

Build and deploy your first Workers AI application.

Plans

Learn about Free and Paid plans.

Limits

Learn about Workers AI limits.

Use cases

Learn how you can build and deploy ambitious AI applications to Cloudflare's global network.

Storage options

Learn which storage option is best for your project.

Developer Discord

Connect with the Workers community on Discord to ask questions, share what you are building, and discuss the platform with other developers.

@CloudflareDev

Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Workers.

Was this helpful?

YesNo

On this page

Cloudflare Workers AI - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/workers-ai/#page","headline":"Cloudflare Workers AI","description":"Run machine learning models, powered by serverless GPUs, on Cloudflare's global network.","url":"https://developers.cloudflare.com/workers-ai/","inLanguage":"en","image":"https://developers.cloudflare.com/workers-ai/og.png?v=28f3ca6015fd2e9e","dateModified":"2026-04-21","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["AI"]}


description: Observe and control your AI applications with analytics, caching, rate limiting, and model fallback through AI Gateway. title: Cloudflare AI Gateway image: https://developers.cloudflare.com/ai-gateway/og.png?v=d9b4c0d9dbab4986


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/ai-gateway/llms.txt
Use this file to discover all available pages before exploring further.