Skip to content
PluginStats

vue-llm weekly downloads statistics

By dadashi44 · npm · AI SDKs

AI SDK for Vue and Nuxt: streaming useChat, tool calling, Generative UI and in-browser WebGPU models for OpenAI, Anthropic, Gemini and Ollama.

View on npm Fresh · Dec 6, 2026

vue-llm has 550 recorded weekly downloads on npm, an increase of 15.1% over the past 30 days, ranking #2239 of 3,247 tracked listings.

Weekly downloads
550
Official API · Dec 5, 2026
7-day growth
-69.7%
-1.3K weekly downloads
30-day growth
+15.1%
+72 weekly downloads
90-day growth
—
Insufficient history
Rank
#2239
▼ 426 in 7 days

About vue-llm

vue-llm

English · Русский · 简体中文 · Português · Español · 日本語

npm version npm downloads CI license

vue-llm is the AI SDK for Vue and Nuxt: streaming useChat, tool calling, Generative UI and in-browser models for OpenAI, Anthropic, Gemini, Ollama and WebGPU.

useChat() with streaming, tool calling, multi-provider support — in 10 lines of code.

Documentation: https://vue-llm.js.org/ · Try it in your browser — no API key needed

Features

  • useChat() — reactive composable with streaming, abort, regenerate
  • Multi-provider — OpenAI, Anthropic, Gemini, Ollama out of the box
  • In-browser models — run Llama, Qwen or SmolLM on WebGPU with createWebLLM, no server or API key
  • Generative UI — render tool calls as your Vue components with <MessageParts>, streamed arguments and human-in-the-loop
  • Tool calling — defineTool with execute, onToolCall, addToolResult
  • Attachments — images, PDFs, audio and text files, mapped per provider
  • Persistence — restore chat history from localStorage or any custom backend
  • Resilience — retries with exponential backoff, client and server rate limiting
  • Prompt templates — {{variables}} with type inference, chat templates, reactive usePrompt
  • Any backend — server-side tools in createLLMHandler, createSSEProvider for your own SSE API
  • Streaming — SSE parser, text/reasoning/tool-call deltas
  • Security — dangerouslyAllowBrowser guard protects API keys
  • Chat UI — a complete chat you own: npx shadcn-vue add https://vue-llm.js.org/r/chat.json, plus headless usePromptInput and useAutoScroll
  • MCP — tools of any MCP server (search, files, GitHub, databases) in useChat and on the server (vue-llm/mcp); users connect their own servers (Notion, Linear…) with OAuth sign-in via useMCP / useMCPServers, in the browser or through your backend (createMCPConnector)
  • Vue DevTools — an LLM tab with every chat, request timeline, time to first token, tool calls and token usage (vue-llm/devtools)
  • Nuxt module — auto-imports, components, DevTools in development, server-side runtime config
  • Zero runtime deps — only vue as peer dependency (Vue 3.3+ and Vue 2.7, components included)
  • TypeScript — full type safety, exported types

Quick Start

npm install vue-llm
<script setup>
import { useChat } from 'vue-llm'
import { createOpenAI } from 'vue-llm/providers'

const ai = createOpenAI({
  apiKey: 'sk-...',
  dangerouslyAllowBrowser: true, // only for prototyping
})

const { messages, input, handleSubmit, isLoading } = useChat({
  provider: ai,
  model: 'gpt-4o',
})
</script>

<template>
  <div v-for="msg in messages" :key="msg.id">
    <strong>{{ msg.role }}:</strong>
    <span v-for="(part, i) in msg.parts" :key="i">
      <template v-if="part.type === 'text'">{{ part.text }}</template>
    </span>
  </div>

  <form @submit.prevent="handleSubmit">
    <input v-model="input" placeholder="Ask something..." />
    <button :disabled="isLoading">Send</button>
  </form>
</template>

Providers

OpenAI
import { createOpenAI } from 'vue-llm/providers'

const ai = createOpenAI({
  apiKey: process.env.OPENAI_API_KEY,
})
Anthropic
import { createAnthropic } from 'vue-llm/providers'

const ai = createAnthropic({
  apiKey: process.env.ANTHROPIC_API_KEY,
})

const { messages, sendMessage } = useChat({
  provider: ai,
  model: 'claude-sonnet-4-5',
})
Ollama (local)
import { createOllama } from 'vue-llm/providers'

const ai = createOllama() // localhost:11434 by default

const { messages, sendMessage } = useChat({
  provider: ai,
  model: 'llama3',
})
In the browser (WebGPU)
import { CreateMLCEngine } from '@mlc-ai/web-llm' // npm i @mlc-ai/web-llm
import { createWebLLM } from 'vue-llm/providers'

const ai = createWebLLM({
  createEngine: CreateMLCEngine,
  onProgress: ({ progress }) => console.log(`${Math.round(progress * 100)}%`),
})

const { messages, sendMessage } = useChat({
  provider: ai,
  model: 'Llama-3.2-1B-Instruct-q4f16_1-MLC',
})

The model runs on the user's GPU, and nothing leaves the device. See In-Browser Models.

Tool Calling

const { messages, sendMessage } = useChat({
  provider: ai,
  model: 'gpt-4o',
  tools: [
    {
      name: 'get_weather',
      description: 'Get weather for a city',
      parameters: {
        type: 'object',
        properties: {
          city: { type: 'string', description: 'City name' },
        },
        required: ['city'],
      },
    },
  ],
  onToolCall: async ({ toolName, args }) => {
    if (toolName === 'get_weather') {
      return { temperature: 22, condition: 'sunny' }
    }
  },
  maxToolRoundtrips: 3,
})

Attachments

Pass File, FileList or FilePart objects to sendMessage. Files are read as data URLs and stored as file parts on the user message.

<script setup lang="ts">
const { messages, input, sendMessage } = useChat({ provider: ai, model: 'gpt-4o' })
const files = ref<FileList>()

async function submit() {
  await sendMessage({ text: input.value, files: files.value })
  input.value = ''
  files.value = undefined
}
</script>

<template>
  <input type="file" multiple @change="files = ($event.target as HTMLInputElement).files ?? undefined">
  <input v-model="input" @keydown.enter="submit">
</template>
```…

Description from the npm listing.

  • vue
  • vue3
  • ai
  • llm
  • chat
  • streaming
  • openai
  • anthropic
  • gemini
  • ollama
  • composable
  • nuxt
  • nuxt-module
  • typescript
  • sse
  • gpt
  • claude
  • ai-sdk
  • chatbot
  • chat-ui

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

vue-llm weekly downloads on npm, last 90 days: 550 weekly downloads as of Dec 5, 2026.vue-llmWeekly downloads on npm · Last 90 days550downloads / week05001K1.5K2KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
vue-llm weekly downloads on npm, last 90 days: 550 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

vue-llm weekly downloads growth on npm: -69.7% over 7 days, +15.1% over 30 days, 90-day growth unavailable.vue-llmWeekly downloads growth on npm550downloads / week now7-day growth-1,266 weekly downloads-69.7%30-day growth+72 weekly downloads+15.1%90-day growth+550 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vue-llm weekly downloads growth on npm: -69.7% over 7 days, +15.1% over 30 days, 90-day growth unavailable.

Ranking history

vue-llm npm ranking history: currently #2239 (by weekly downloads).vue-llmnpm ranking · by weekly downloads · Last 90 days#2239current rank#1400#1500#1600#1700#1800#1900#2000#2100#2200#2300Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 17, 2026 – Dec 6, 2026 · 20 observations · Updated Dec 5, 2026pluginstats.com
vue-llm npm ranking history: currently #2239 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 112, #19 (overall #2,239)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 13, #20 (overall #260)
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 (135)
Recent weekly downloads observations for vue-llm
Date (UTC)Weekly downloadsChange vs. previous
550+88
462+4
458-77
535-79
614-668
1,282-551
1,833+17
1,816-12
1,828+28
1,800+68
1,732+79
1,653+674
979+384
595—

Similar npm AI SDKs plugins

All 20 vue-llm 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/vue-llm. First seen Nov 17, 2026; last successful collection Dec 6, 2026. See the methodology.