Skip to content
PluginStats

@tanstack/ai-groq weekly downloads statistics

By tanstack (53 listings) · npm · AI SDKs

Groq adapter for TanStack AI low-latency chat, tool calling, and structured outputs.

View on npm Fresh · Dec 6, 2026

@tanstack/ai-groq has 7,596 recorded weekly downloads on npm, an increase of 38.8% over the past 30 days, ranking #1374 of 3,247 tracked listings.

Weekly downloads
7,596
Official API · Dec 5, 2026
7-day growth
+36.5%
+2K weekly downloads
30-day growth
+38.8%
+2.1K weekly downloads
90-day growth
+191%
+5K weekly downloads
Rank
#1374
▲ 86 in 7 days

About @tanstack/ai-groq

<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-groq

Groq adapter for TanStack AI

Installation

npm install @tanstack/ai-groq
# or
pnpm add @tanstack/ai-groq
# or
yarn add @tanstack/ai-groq

Setup

Get your API key from Groq Console and set it as an environment variable:

export GROQ_API_KEY="gsk_..."

Usage

Text/Chat Adapter
import { groqText } from '@tanstack/ai-groq'
import { chat } from '@tanstack/ai'

const adapter = groqText('openai/gpt-oss-120b')

const result = await chat({
  adapter,
  threadId: 'thread-1',
  stream: false,
  messages: [
    { role: 'user', content: 'Explain quantum computing in simple terms' },
  ],
})

console.log(result.text)
With Explicit API Key
import { createGroqText } from '@tanstack/ai-groq'

const adapter = createGroqText('openai/gpt-oss-120b', 'gsk_api_key')

Supported Models

Chat Models
  • meta-llama/llama-prompt-guard-2-86m - Meta Llama Prompt Guard (content moderation)
  • meta-llama/llama-prompt-guard-2-22m - Meta Llama Prompt Guard (content moderation)
  • openai/gpt-oss-120b - GPT OSS 120B (reasoning, tools, search)
  • openai/gpt-oss-20b - GPT OSS 20B (reasoning, search)
  • openai/gpt-oss-safeguard-20b - GPT OSS Safeguard 20B (content moderation, reasoning)
  • qwen/qwen3.8-27b - Qwen3.8 27B (reasoning, tools, vision)

Features

  • ✅ Streaming chat completions
  • ✅ Structured output (JSON Schema)
  • ✅ Function/tool calling
  • ✅ Multimodal input (text + images for vision models)
  • ✅ Summarization (groqSummarize)
  • ❌ Embeddings (not supported by Groq)
  • ❌ Image generation (not supported by Groq)

Tree-Shakeable Adapters

This package uses tree-shakeable adapters, so you only import what you need:

// Only imports text adapter
import { groqText } from '@tanstack/ai-groq'

This keeps your bundle size small!

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • groq
  • adapter
  • llm
  • chat
  • low-latency
  • tool-calling
  • structured-outputs

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-groq weekly downloads on npm, last 90 days: 7,596 weekly downloads as of Dec 5, 2026, +191% over 90 days.@tanstack/ai-groqWeekly downloads on npm · Last 90 days7,596downloads / week+191% over 90 days02K4K6K8KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@tanstack/ai-groq weekly downloads on npm, last 90 days: 7,596 weekly downloads as of Dec 5, 2026, +191% over 90 days.

7/30/90-day growth

@tanstack/ai-groq weekly downloads growth on npm: +36.5% over 7 days, +38.8% over 30 days, +191% over 90 days.@tanstack/ai-groqWeekly downloads growth on npm7,596downloads / week now7-day growth+2,032 weekly downloads+36.5%30-day growth+2,122 weekly downloads+38.8%90-day growth+4,986 weekly downloads+191%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-groq weekly downloads growth on npm: +36.5% over 7 days, +38.8% over 30 days, +191% over 90 days.

Ranking history

@tanstack/ai-groq npm ranking history: currently #1374 (by weekly downloads).@tanstack/ai-groqnpm ranking · by weekly downloads · Last 90 days#1374current rank#400#600#800#1000#1200#1400#1600Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@tanstack/ai-groq npm ranking history: currently #1374 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 69, #14 (overall #1,374)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 5, #16 (overall #96)
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 (592)
Recent weekly downloads observations for @tanstack/ai-groq
Date (UTC)Weekly downloadsChange vs. previous
7,596+996
6,600+653
5,947+160
5,787+642
5,145+636
4,509+26
4,483-1.1K
5,564-284
5,848+3
5,845+206
5,639+7
5,632+360
5,272+462
4,810—

Similar npm AI SDKs plugins

All 20 @tanstack/ai-groq alternatives

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-groq. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.