Skip to content
PluginStats

kimi-vercel-ai-sdk-provider weekly downloads statistics

By aaroniker · npm · AI SDKs

Kimi (Moonshot AI) provider for Vercel AI SDK v6

View on npm Stale · Oct 18, 2026

kimi-vercel-ai-sdk-provider has 228 recorded weekly downloads on npm, a decrease of 54.1% over the past 30 days, ranking #1692 of 2,391 tracked listings.

Weekly downloads
228
Official API · Oct 18, 2026
7-day growth
-64.9%
-421 weekly downloads
30-day growth
-54.1%
-269 weekly downloads
90-day growth
+1654%
+215 weekly downloads
Rank
#1692
Among tracked npm listings

About kimi-vercel-ai-sdk-provider

kimi-vercel-ai-sdk-provider

<img width="1500" height="762" alt="git" src="https://github.com/user-attachments/assets/5b8d9be4-5eb7-46f3-9096-56bff8dcda67" />

This is a native implementation with full support for Kimi-specific features, not a generic OpenAI-compatible wrapper.

npm version npm bundle size npm downloads license

Table of Contents

Features

Kimi Chat (Standard API)
  • Built-in web search ($web_search) for grounded responses
  • Built-in code interpreter ($code) for programmatic reasoning
  • Deep thinking/reasoning model streaming
  • Video input support for K2.5 models
  • 256k context window support
  • Token tracking (cache hits, reasoning, web search, code interpreter)
  • Regional endpoints (global and China)
  • Provider tool helpers (kimi.tools.* and kimiTools.*)
  • Native File & PDF Support - Automatic file upload and content extraction
  • Tool Choice Polyfill - Simulates required and tool choices via system messages
  • Context Caching - Reduce costs by up to 90% for repeated long prompts
  • Temperature Locking - Automatic temperature enforcement for thinking models
  • File Content Caching - LRU cache to avoid re-uploading identical files
  • Schema Sanitization - Automatic cleanup of unsupported JSON Schema keywords
Kimi Code (Premium Coding API)
  • High-speed output (up to 100 tokens/s)
  • Extended thinking/reasoning support with configurable effort levels
  • 262k context window
  • Streaming with thinking blocks

Install

npm install kimi-vercel-ai-sdk-provider

Quick Start

Kimi Chat (Standard)
import { createKimi } from 'kimi-vercel-ai-sdk-provider';
import { generateText, streamText } from 'ai';

const kimi = createKimi({
  // Uses MOONSHOT_API_KEY env var if not provided
  endpoint: 'global',
});

// Basic usage
const result = await generateText({
  model: kimi('kimi-k2.5'),
  prompt: 'Explain quantum computing in one sentence.',
});

// Streaming with reasoning model
const stream = await streamText({
  model: kimi('kimi-k2.5-thinking', { includeUsageInStream: true }),
  prompt: 'Solve this step by step: What is 17 * 23?',
});
Kimi Code (Premium)
import { kimiCode, createKimiCode } from 'kimi-vercel-ai-sdk-provider
';
import { generateText, streamText } from 'ai';

// Using default instance (uses KIMI_CODE_API_KEY or KIMI_API_KEY env var)
const result = await generateText({
  model: kimiCode(), // Uses 'kimi-for-coding' by default
  prompt: 'Write a TypeScript function to merge two sorted arrays',
});

// With extended thinking enabled
const stream = await streamText({
  model: kimiCode('kimi-k2-thinking', {
    extendedThinking: {
      enabled: true,
      effort: 'high' // 'low' | 'medium' | 'high'
    }
  }),
  prompt: 'Design a distributed cache system',
});

// Or with custom configuration
const customKimiCode = createKimiCode({
  apiKey: 'sk-kimi-xxx',
  baseURL: 'https://api.kimi.com/coding/v1', // default
});

Kimi Code

Kimi Code is a premium coding service optimized for development tasks with high-speed output and extended thinking support.

Available Models
ModelDescription
kimi-for-codingPrimary coding model optimized for development tasks (default)
kimi-k2-thinkingExtended thinking model for complex reasoning
Extended Thinking

Enable extended thinking to see the model's reasoning process:

// Simple boolean
const model = kimiCode('kimi-for-coding', { extendedThinking: true });…

Description from the npm listing.

  • ai
  • kimi
  • moonshot
  • ai-sdk
  • vercel

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

kimi-vercel-ai-sdk-provider weekly downloads on npm, last 90 days: 228 weekly downloads as of Oct 18, 2026, +1654% over 90 days.kimi-vercel-ai-sdk-providerWeekly downloads on npm · Last 90 days228downloads / week+1654% over 90 days02004006008001K1.2K1.4KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
kimi-vercel-ai-sdk-provider weekly downloads on npm, last 90 days: 228 weekly downloads as of Oct 18, 2026, +1654% over 90 days.

7/30/90-day growth

kimi-vercel-ai-sdk-provider weekly downloads growth on npm: -64.9% over 7 days, -54.1% over 30 days, +1654% over 90 days.kimi-vercel-ai-sdk-providerWeekly downloads growth on npm228downloads / week now7-day growth-421 weekly downloads-64.9%30-day growth-269 weekly downloads-54.1%90-day growth+215 weekly downloads+1654%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
kimi-vercel-ai-sdk-provider weekly downloads growth on npm: -64.9% over 7 days, -54.1% over 30 days, +1654% over 90 days.

Ranking history

kimi-vercel-ai-sdk-provider npm ranking history: currently #1692 (by weekly downloads).kimi-vercel-ai-sdk-providernpm ranking · by weekly downloads · Last 90 days#1692current rank#1520#1540#1560#1580#1600#1620#1640#1660#1680#1700Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 18, 2026 – Oct 21, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
kimi-vercel-ai-sdk-provider npm ranking history: currently #1692 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,196 shown · page 86, #18 (overall #1,718)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs264 listings · 14 pages · page 11, #17 (overall #217)
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 kimi-vercel-ai-sdk-provider
Date (UTC)Weekly downloadsChange vs. previous
228-106
334-104
438-78
516-110
626-95
7210
721+72
649+34
615-8
623+24
599-22
621-31
652-132
784—

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