# Workers AI provider — card for AI agents

Uses Cloudflare Workers AI models with the Vercel AI SDK.

Category: Model SDKs · npm package `workers-ai-provider` · latest version 4.0.1 (checked 2026-11-01)
Install: `npm install workers-ai-provider`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Warnings
- Deprecated on npm: Deprecated. Use createAI from agents/models/ai-sdk, or
 ai-search-provider for AI Search: https://developers.cloudflare.com/agents/models/ai-sdk/

## Numbers (AgentGid data)
- Gid Score: 43.5 (#2605 of all tools, 44 of 89 in its category)
- Used in 6 public projects set up for AI coding agents (0.1%)
- Downloads last week: 671,538 (as of 2026-11-17), +60.1% over 4 weeks
- GitHub stars: 1,220 (as of 2026-11-17)
- Last push: 2026-10-27

## Often used with
AI SDK 100.0%, Zod 100.0%, Tailwind Merge 73.7%, clsx 73.7%, React 94.7%, Class Variance Authority 68.4%

## Links
- AgentGid page: https://agentgid.com/tools/workers-ai-provider/
- Repository: https://github.com/cloudflare/ai

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
