# cloudflare/ai

Repository: https://github.com/cloudflare/ai
Canonical: https://ross.abutalabs.com/products/cloudflare-ai
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-05T10:13:46+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 96, release rhythm 83, longevity 38
- inputs: {"age_days": 537, "days_push": 28, "days_rel": 36, "gap_med": 1, "n_releases_24m": 84}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1148, forks 341 (observed 2026-08-28T04:03:46.077258+00:00)

## What it is
A monorepo of TypeScript packages and examples for building AI-powered applications on Cloudflare. It provides Vercel AI SDK and TanStack AI providers for Workers AI, AI Gateway, and AI Search, covering chat, embeddings, image generation, transcription, TTS, and reranking.

## Use cases
- integrate cloudflare workers ai models into a vercel ai sdk app
- route llm calls through ai gateway with caching and fallback
- build a chatbot on cloudflare workers
- generate embeddings and do semantic search with ai search
- add speech-to-text and text-to-speech to a worker
- generate images from prompts in a serverless function

## When to choose
- you deploy on cloudflare workers and want AI SDK-compatible providers
- you need a unified gateway with caching, retries, and cross-vendor fallback
- you want grounded chat over your indexed documents via AI Search

## When to avoid
- you self-host models outside cloudflare
- you need a provider for a platform other than Vercel AI SDK or TanStack AI
- you need features still marked coming soon like resumable streaming

## Facets
- artifact type: library
- maturity: active
- function: llm-inference, rag, sdk, speech-recognition, tts, image-processing
- domain: artificial-intelligence, large-language-models, web-development, developer-tools
- platform: cloud
- tags: cloudflare-workers-ai, ai-gateway, vercel-ai-sdk, tanstack-ai, ai-search, edge-computing, retrieval-augmented-generation, nodejs, web-server, typescript

## Member repositories
- cloudflare/ai (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.077258+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:49.638046+00:00, confidence not recorded.
  - readme: https://github.com/cloudflare/ai (fetched 2026-08-28T04:03:46.077258+00:00, sha a52a41cdabc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
