Cloudflare API breaking change: path-removed on /accounts/{account_id}/ai/run/@cf/baai/ray-bge-large-en-v1.5
What changed
According to the OpenAPI spec diff (cloudflare/cloudflare-oas-b61f904f10c9-to-7abe88500e55-removals), the following surface changed:
path-removed: /accounts/{account_id}/ai/run/@cf/baai/ray-bge-large-en-v1.5
cloudflare OAS corridor pair b61f904f10c9 -> 7abe88500e55 (removals subset ingested 2026-08-01)
Who is affected
Mechanical slug rewrite at every call site that runs this Workers AI model: replace the removed model slug '@cf/baai/ray-bge-large-en-v1.5' with the canonical slug '@cf/baai/bge-large-en-v1.5' in the ai/run URL (raw fetch callers) or in the model-name argument passed to env.AI.run / the SDK ai.run helper.
To find out whether your repo is hit — file and line number, no code leaving your machine:
npx mendapi scan --repo .
How to fix it
Migration path:
Mechanical slug rewrite at every call site that runs this Workers AI model: replace the removed model slug '@cf/baai/ray-bge-large-en-v1.5' with the canonical slug '@cf/baai/bge-large-en-v1.5' in the ai/run URL (raw fetch callers) or in the model-name argument passed to env.AI.run / the SDK ai.run helper. Request and response schemas for the canonical route are unchanged between the two specs, so no payload edits are needed; this is a one-token rename per call site.
Before:
await env.AI.run('@cf/baai/ray-bge-large-en-v1.5', { text: input });
After:
await env.AI.run('@cf/baai/bge-large-en-v1.5', { text: input });
Replacement data source: the same model remains served at /accounts/{account_id}/ai/run/@cf/baai/bge-large-en-v1.5
With your own LLM key configured (BYO compute — mendapi never proxies your credentials), npx mendapi llmfix turns this guide into a reviewable draft patch for your repo.
Detected and tracked by mendapi — Dependabot for every API you depend on. Scans run locally; your code never leaves your machine.
Related
- cloudflare breaking-change guide — every tracked cloudflare entry on one page, with fixability verdicts.
- cloudflare-typescript v6 to v7 migration — the full migration guide with pack-backed fixes.
- All monitored providers — live change counts for cloudflare and 19 others.
- Migration pack catalog — every deterministic fix mendapi ships.
- Getting started — scan your repo in 30 seconds, no code leaves your machine.