Skip to content
PluginStats

@tanstack/ai-cloudflare weekly downloads statistics

By tanstack (52 listings) · npm · AI SDKs

Cloudflare adapter for TanStack AI — Workers AI chat, embeddings, images, speech, transcription, and summarization over the AI binding or REST, with AI Gateway routing for any provider.

View on npm Fresh · Oct 18, 2026

@tanstack/ai-cloudflare has 7,873 recorded weekly downloads on npm, an increase of 937% over the past 30 days, ranking #1020 of 2,322 tracked listings.

Weekly downloads
7,873
Official API · Oct 18, 2026
7-day growth
-40.8%
-5.4K weekly downloads
30-day growth
+937%
+7.1K weekly downloads
90-day growth
—
Insufficient history
Rank
#1020
Among tracked npm listings

About @tanstack/ai-cloudflare

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/ai.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/api/readme/ai.png" /> <img src="https://tanstack.com/api/readme/ai.png" alt="TanStack AI" width="900" /> </picture> </div> <br />

@tanstack/ai-cloudflare

Cloudflare adapter for TanStack AI: Workers AI chat, summarization, embeddings, image generation, text-to-speech, and transcription over the env.AI binding or the REST API, with AI Gateway routing for any provider.

Installation

npm install @tanstack/ai @tanstack/ai-cloudflare

Usage

import { chat, toServerSentEventsResponse } from '@tanstack/ai'
import { createCloudflareText } from '@tanstack/ai-cloudflare'
import type { Ai } from '@cloudflare/workers-types'

export default {
  async fetch(request: Request, env: { AI: Ai }) {
    const { messages } = await request.json()
    const stream = chat({
      adapter: createCloudflareText('@cf/zai-org/glm-5.3-flash', {
        binding: env.AI,
      }),
      messages,
    })
    return toServerSentEventsResponse(stream)
  },
}

Outside a Worker, pass { accountId, apiKey } or set CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN and use cloudflareText(model).

See the docs for AI Gateway, media adapters, and model options.

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • cloudflare
  • workers-ai
  • ai-gateway
  • workers
  • adapter
  • chat
  • streaming
  • tool-calling
  • structured-outputs
  • embeddings
  • image-generation
  • text-to-speech
  • transcription

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@tanstack/ai-cloudflare weekly downloads on npm, last 90 days: 7,873 weekly downloads as of Oct 18, 2026.@tanstack/ai-cloudflareWeekly downloads on npm · Last 90 days7,873downloads / week02K4K6K8K10K12K14K16K18KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@tanstack/ai-cloudflare weekly downloads on npm, last 90 days: 7,873 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@tanstack/ai-cloudflare weekly downloads growth on npm: -40.8% over 7 days, +937% over 30 days, 90-day growth unavailable.@tanstack/ai-cloudflareWeekly downloads growth on npm7,873downloads / week now7-day growth-5,425 weekly downloads-40.8%30-day growth+7,114 weekly downloads+937%90-day growth+7,873 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@tanstack/ai-cloudflare weekly downloads growth on npm: -40.8% over 7 days, +937% over 30 days, 90-day growth unavailable.

Ranking history

@tanstack/ai-cloudflare npm ranking history: currently #1020 (by weekly downloads).@tanstack/ai-cloudflarenpm ranking · by weekly downloads · Last 90 days#1020current rank#300#400#500#600#700#800#900#1000#1100Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
@tanstack/ai-cloudflare npm ranking history: currently #1020 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 52, #2 (overall #1,022)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 4, #9 (overall #69)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (544)
Recent weekly downloads observations for @tanstack/ai-cloudflare
Date (UTC)Weekly downloadsChange vs. previous
7,873-794
8,667-1.4K
10,029-1.7K
11,730-2.9K
14,652-1.7K
16,3900
16,390+3.1K
13,298+2.5K
10,809+1.1K
9,715+3K
6,691+2.5K
4,154+1.5K
2,687-243
2,930—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@tanstack/ai-cloudflare. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.