Skip to content
PluginStats

@helicone/ai-sdk-provider weekly downloads statistics

By helicone · npm · AI SDKs

Helicone provider for Vercel AI SDK

View on npm Fresh · Oct 18, 2026

@helicone/ai-sdk-provider has 2,986 recorded weekly downloads on npm, a decrease of 13.0% over the past 30 days, ranking #1249 of 2,322 tracked listings.

Weekly downloads
2,986
Official API · Oct 18, 2026
7-day growth
+0.5%
+16 weekly downloads
30-day growth
-13.0%
-445 weekly downloads
90-day growth
-13.5%
-465 weekly downloads
Rank
#1249
Among tracked npm listings

About @helicone/ai-sdk-provider

Helicone AI SDK Provider

A Vercel AI SDK provider for Helicone, enabling seamless integration with Helicone's AI gateway and observability platform.

Features

  • ✅ 100+ AI Models: Access to OpenAI, Anthropic, Google, Groq, and more through Helicone's AI gateway
  • ✅ Observability: Automatic request logging, metrics, and monitoring through Helicone
  • ✅ Model Switching: Easy switching between different AI providers and models
  • ✅ Fallbacks: Configure model fallbacks for improved reliability
  • ✅ Caching: Built-in caching support for faster responses
  • ✅ Sessions & Tags: Organize requests with sessions, user IDs, and custom tags
  • ✅ BYOK: Bring your own key
  • ✅ TypeScript: Full TypeScript support with comprehensive type definitions

Installation

npm install @helicone/ai-sdk-provider ai

Quick Start

import { createHelicone } from '@helicone/ai-sdk-provider';
import { generateText } from 'ai';

// Initialize the provider
const helicone = createHelicone({
  apiKey: 'your-helicone-api-key'
});

// Generate text using GPT-4o
const result = await generateText({
  model: helicone('gpt-4o'),
  prompt: 'Write a haiku about AI',
});

console.log(result.text);

Configuration

Basic Setup
import { createHelicone } from '@helicone/ai-sdk-provider';

const helicone = createHelicone({
  apiKey: 'your-helicone-api-key'
});
Model Selection

Specify models by name only when making the request. For the complete list of supported model names, visit helicone.ai/models.

Helicone's AI gateway will automatically route to the cheapest provider:

const result = await generateText({
  model: helicone('gpt-4o'),
  prompt: 'Write a haiku about AI'
});

console.log(result.text);

If you'd like to select your own provider, you can do so by passing the provider name as the second argument:

const result = await generateText({
  model: helicone('claude-4.5-sonnet/anthropic'),
  prompt: 'Write a haiku about AI'
});

console.log(result.text);

Advanced Features

Helicone Prompts Integration

Use prompts created in your Helicone dashboard instead of hardcoding messages in your application.

import { createHelicone } from '@helicone/ai-sdk-provider';
import type { WithHeliconePrompt } from '@helicone/ai-sdk-provider';
import { generateText } from 'ai';

const helicone = createHelicone({ apiKey: 'your-helicone-api-key' });

const result = await generateText({
  model: helicone('gpt-4o', {
    promptId: 'sg45wqc', // Get this from your Helicone dashboard after saving your prompt
    inputs: {
      customer_name: 'Sarah Johnson',
      issue_type: 'billing',
      account_type: 'premium'
    },
    environment: 'production', // optional, defaults to 'production'
    extraBody: {
      helicone: {
        sessionId: 'support-session-123',
        properties: {
          department: 'customer-support'
        }
      }
    }
  }),
  messages: [{ role: 'user', content: 'placeholder' }] // Required by AI SDK, ignored when using promptId
} as WithHeliconePrompt);

Note: When using promptId, you must still pass a placeholder messages array to satisfy the Vercel AI SDK's validation. The actual prompt content will be fetched from your Helicone dashboard, and the placeholder messages will be ignored.

Benefits of using Helicone prompts:

  • 🎯 Centralized Management: Update prompts without code changes
  • 👩🏻‍💻 Perfect for non-technical users: No need to write code to create prompts, just use the Helicone dashboard.
  • 🚀 Lower Latency: Single API call, no message construction overhead
  • 🔧 A/B Testing: Test different prompt versions with environments
  • 📊 Better Analytics: Track prompt performance across versions
Session Tracking
const result = await generateText({
  model: helicone('gpt-4o', {
    extraBody: {
      helicone: {
        sessionId: 'user-chat-session-123',
        userId: 'user-456',
        properties: {
          environment: 'production',
          feature: 'chat',
        },
      },
    },
  }),
  prompt: 'Hello!',
});
Custom Tags and Properties
const result = await generateText({
  model: helicone('gpt-4o', {
    extraBody: {
      helicone: {
        tags: ['customer-support', 'urgent'],
        properties: {
          ticketId: 'TICKET-789',
          priority: 'high',
          department: 'support',
        },
      },
    },
  }),
  prompt: 'Help resolve this customer issue...',
});
Streaming
import { streamText } from 'ai';

const result = await streamText({
  model: helicone('gpt-4o'),
  prompt: 'Write a long story about space exploration',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}
Tool Calling
import { generateText, tool } from 'ai';
import { z } from 'zod';

const result = await generateText({
  model: helicone('gpt-4o'),
  prompt: 'What is the weather like in San Francisco?',
  tools: {
    getWeather: tool({
      description: 'Get weather for a location',
      inputSchema: z.object({
        location: z.string().describe('The city name')
      }),
      execute: async (args) => {
        // Your weather API call here
        return `It's sunny in ${args.location}`;
      }
    })
  }
});

console.log(result.text);

See examples/tool-calling.ts for a complete example.

Agent Examples (JSON Schema vs Zod)

We ship two agent demos that are functionally identical but highlight different schema styles:

  • examples/agents-json.ts uses jsonSchema(...) helpers with a Claude model (claude-4.5-haiku).
  • examples/agents-zod.ts uses raw Zod schemas with a different model (gpt-5-chat-latest).…

Description from the npm listing.

  • ai
  • llm
  • vercel
  • ai-sdk
  • helicone
  • provider
  • openai
  • anthropic

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

@helicone/ai-sdk-provider weekly downloads on npm, last 90 days: 2,986 weekly downloads as of Oct 18, 2026, -13.5% over 90 days.@helicone/ai-sdk-providerWeekly downloads on npm · Last 90 days2,986downloads / week-13.5% over 90 days2K2.5K3K3.5K4K4.5K5K5.5KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@helicone/ai-sdk-provider weekly downloads on npm, last 90 days: 2,986 weekly downloads as of Oct 18, 2026, -13.5% over 90 days.

7/30/90-day growth

@helicone/ai-sdk-provider weekly downloads growth on npm: +0.5% over 7 days, -13.0% over 30 days, -13.5% over 90 days.@helicone/ai-sdk-providerWeekly downloads growth on npm2,986downloads / week now7-day growth+16 weekly downloads+0.5%30-day growth-445 weekly downloads-13.0%90-day growth-465 weekly downloads-13.5%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@helicone/ai-sdk-provider weekly downloads growth on npm: +0.5% over 7 days, -13.0% over 30 days, -13.5% over 90 days.

Ranking history

@helicone/ai-sdk-provider npm ranking history: currently #1249 (by weekly downloads).@helicone/ai-sdk-providernpm ranking · by weekly downloads · Last 90 days#1249current rank#1234#1236#1238#1240#1242#1244#1246#1248#1250#1252Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
@helicone/ai-sdk-provider npm ranking history: currently #1249 (by weekly downloads).

Listing placement

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

Listing placement

AI SDKs259 listings · 13 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 (122)
Recent weekly downloads observations for @helicone/ai-sdk-provider
Date (UTC)Weekly downloadsChange vs. previous
2,986+525
2,461-331
2,792+563
2,229-589
2,818-430
3,2480
3,248+278
2,970+208
2,762+250
2,512+140
2,372-149
2,521-545
3,066-793
3,859—

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/@helicone/ai-sdk-provider. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.