Skip to content
Series
14 posts

Cloudflare AI Stack

The AI-specific pieces of Cloudflare’s platform, read on their own: Workers AI, Vectorize, AI Gateway, and the trade-offs of building on these bindings.

Series guide
aiguideCloudflare AI Stack11 min

Gemma on Cloudflare Workers AI: A Pragmatic Choice for Traditional Chinese Applications

For running Traditional Chinese LLM workloads on Cloudflare Workers AI, the Gemma family follows instructions more reliably than same-tier Llama models. gemma-3-12b-it was marked deprecated on 2026-05-30; the current equivalent is gemma-4-26b-a4b-it: 256K context, Vision, Function calling, at $0.10 / $0.30 per M tokens.

How to Use Cloudflare AI Search: Data Sources, Hybrid Retrieval, and Workers Bindings

Formerly AutoRAG, the managed search primitive, generally available since 2026-10-01 with billing from 2026-12-01: drop files into built-in storage or attach R2, websites, or D1 (beta), auto-index with Markdown conversion plus vector and BM25, retrieve with hybrid by default, RRF, and optional reranking, and query from Workers via namespace or instance bindings, REST, or MCP. Chinese content needs the trigram keyword tokenizer.

How to Use Cloudflare Agents: Durable Runtime, Tools, and Real-Time Connections

Cloudflare Agents turns an agent session into a durable runtime: each agent instance has stable identity, local SQLite, WebSockets, scheduled work, recoverable execution, and tools. It is not just a chat example; it composes Workers, Durable Objects, AI models, Browser, Sandbox, AI Search, and MCP into a deployable agent app.

Cloudflare Sandboxes Deep Dive: How Workers, Durable Objects, and Containers Form an Agent Runtime

Cloudflare Sandboxes uses a Worker as the entry point, a named Durable Object as the control plane, and a Container inside an isolated VM as the execution plane. It fits Cloudflare-native fleets of ephemeral Linux workspaces, but persistence, security boundaries, and three layers of billing remain your responsibility.

How to Use Cloudflare Observability: Workers Logs, Traces, and Analytics Engine

Workers Observability is for debugging and request tracing; Workers Analytics Engine is for high-cardinality product events and custom metrics; GraphQL Analytics API is for querying existing Cloudflare product data. Keeping those roles separate prevents logs from becoming a database and keeps billing, monitoring, and product analytics from blending together.