# Agents, Workers AI, AI Gateway - createAI replaces workers-ai-provider and ai-gateway-provider

Publisher-attributed story with a reviewed brief or permitted publisher paragraph. The original publisher is responsible for the linked reporting.

- Publisher: Cloudflare Developers
- Category: AI
- Original publication time: 2026-10-21T00:00:00Z
- First observed by NexusTechWire: 2026-10-21T11:50:38Z
- Original source: https://developers.cloudflare.com/changelog/post/2026-10-21-createai/
- NexusTechWire record: https://nexustechwire.com/news/news-6721bed993f127358e85

## From the publisher

The Agents SDK has a new createAI function for the AI SDK and Pi AI. It unifies what workers-ai-provider and ai-gateway-provider did: Workers AI models, AI Gateway catalog models, dynamic routes, and vendor models, through the AI binding or an account id and API token. workers-ai-provider and ai-gateway-provider are now feature frozen and marked as deprecated. Please migrate at your convenience.

Source license: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Publisher excerpt shortened and converted to plain text. Original source license applies.

Read the full original: [Cloudflare Developers](https://developers.cloudflare.com/changelog/post/2026-10-21-createai/)

This record does not reproduce the complete article or represent independent confirmation of every source claim.
