
Cloudflare Workers AI runs open machine learning models on Cloudflare's serverless GPU network. It supports chat and text generation, embeddings, image and speech models, called from Workers or a REST API.
agents@0.34.1 moves to Pi 1.6.1: tools now park with { kind: "sleep", signals, until }. The old shape compiles but returns empty.
From Nov 20, 2026, retired Workers AI models such as kimi-k2.6, glm-5.2 and melotts return HTTP 410, error code 5028. Switch model IDs.
agents 0.34.0 needs Pi 1.6 and can't roll back. MCP clients throw MCPAuthorizationRequiredError. Failed requests return a generic 500.
Workers AI now hosts Inkling 2 Small: text and image input, tool calling, 1M context, $0.30 in and $1.00 out per million tokens. Paid only.
@cf/google/embeddinggemma-2 puts text, images, video and audio in one 768-dimension space for $0.0017 per 1M input tokens.
Cloudflare AI Gateway model aliases let your app call a pool of models by one name, with ordered failover or smart routing.
New Cloudflare AI Gateways require an API token on every request; existing gateways can opt in, but once on, authentication stays on.