
Breakdown / Developer platforms · AI infrastructure
Cloudflare is retiring 24 AI models. Some apps need more than a new model name.
We checked two suggested replacements. Both change the data an app sends and the answer it has to read.
Cloudflare told developers to switch away from 24 models on Workers AI, its service for running AI models from an app. It moved the retirement date from November 15 to November 20. From that date, Cloudflare says a call to one of the retired models will return an HTTP 410 error, meaning the model is gone. For two of its suggested replacements, changing the name in your app leaves another problem. Retirement notice and affected models
What changes in a search box
Imagine a help center that lets someone type “I was charged twice” and find the article about duplicate payments. An embedding model helps it do that by turning text into a list of numbers. The app compares the numbers for the question with ones it has already stored for the help articles.
Cloudflare recommends moving from EmbeddingGemma 300M to EmbeddingGemma 2. The old model accepted a field called text. The new one accepts text under input. The answer changes too. The old format put lists of numbers directly inside data. The new format wraps each list in an object, under embedding. An app that reads the old location can miss the answer even after it sends the request correctly. EmbeddingGemma 2 documentation
We checked the published input and output formats for that change and for a second one, from Stable Diffusion 1.5 Inpainting to FLUX.2 klein 9B. We used four small examples, one request and one response for each change. All four matched the old format. All four failed the replacement’s format check. For the image tool, an app that used to send an image and a mask as JSON now has to package its upload differently and read the image from a field in the response. We haven’t tested whether it preserves the same masked edit. FLUX.2 documentation
For a help center, updating the request and the response reader still leaves the question readers care about. Make a small, separate search index with the new model, give it a handful of questions with known answers, and see where the right articles land. Our checks used the published formats. They establish which code needs attention, while a working search box still needs that retrieval test. Cloudflare’s index guide
Sources
- Retirement notice and affected modelsCloudflare
- EmbeddingGemma 2 documentationCloudflare
- FLUX.2 documentationCloudflare
- Cloudflare’s index guideCloudflare