<!-- SPDX-License-Identifier: MIT -->
<!-- SPDX-FileCopyrightText: 2025-2026 Marcus Quinn -->

# Cloudflare Workers AI

Serverless AI inference on Cloudflare's edge network. Covers bindings, model invocation, REST API, Wrangler setup, pricing/neurons, RAG, streaming, function calling, AI Gateway, model selection, and TypeScript patterns.

## Scope

**Included:** Workers AI bindings, task-specific patterns (text generation, embeddings, image gen, speech, translation), REST API + OpenAI compatibility, Wrangler config/deployment, pricing & rate limits, RAG with Vectorize, AI Gateway integration, function calling, LoRA adapters, architecture patterns.

**Excluded:** General Workers programming, Pages (unless AI integration), CDN/DNS/security, Vectorize (unless RAG context), D1/KV/R2/Durable Objects (unless AI-specific). Use the corresponding product docs for those.

## Official References

- Docs: https://developers.cloudflare.com/workers-ai/
- Model catalog: https://developers.cloudflare.com/workers-ai/models/
- Pricing: https://developers.cloudflare.com/workers-ai/platform/pricing/
