Skip to content
PluginStats

ai-cli weekly downloads statistics

By vercel-labs (7 listings) · npm · AI SDKs

Generate anything from your terminal

View on npm Fresh · Oct 18, 2026

ai-cli has 1,395 recorded weekly downloads on npm, a decrease of 31.0% over the past 30 days, ranking #1396 of 2,322 tracked listings.

Weekly downloads
1,395
Official API · Oct 18, 2026
7-day growth
-12.0%
-191 weekly downloads
30-day growth
-31.0%
-626 weekly downloads
90-day growth
-0.2%
-3 weekly downloads
Rank
#1396
Among tracked npm listings

About ai-cli

ai

<p> <a href="https://vercel.com/labs#active-experiments"><img alt="Vercel Labs Experiment" src="https://img.shields.io/badge/LABS-EXPERIMENT-0a0a0a.svg?style=for-the-badge&amp;logo=Vercel&amp;labelColor=000000" height="28"></a> <a href="https://www.npmjs.com/package/ai-cli"><img alt="npm version: ai-cli" src="https://img.shields.io/npm/v/ai-cli.svg?style=for-the-badge&amp;labelColor=000000" height="28"></a> <a href="https://www.apache.org/licenses/LICENSE-2.0"><img alt="License: Apache-2.0" src="https://img.shields.io/npm/l/ai-cli.svg?style=for-the-badge&amp;labelColor=000000" height="28"></a> </p>

Generate anything from your terminal

Create text, images, video, and audio, and make typed decisions with composable commands, stdin support, and predictable outputs. Built with the Vercel AI SDK and AI Gateway for access to hundreds of models.

Install

npm install -g ai-cli

Requires Node.js 22+ and an AI Gateway API key or a provider-specific key (e.g. OPENAI_API_KEY).

Usage

ai image "a cute dog"
ai video "a spinning triangle"
ai text "explain quantum computing"
ai audio speak "Thanks for trying ai-cli"
ai audio transcribe recording.mp3
ai decide --boolean "refund=Refund requested?" < ticket.txt
ai models                          # list available models
Piping and References
ai image "a dragon" | ai video "animate this"
ai video -i input.png "animate this"
ai image --images reference.png "make a sticker in this style"
ai image -i sketch.png -i palette.jpg "render this product concept"
ai text --image screenshot.png "what is broken in this UI?"
cat photo.png | ai text "describe this image"
cat notes.txt | ai text "summarize this"
git diff | ai text "explain these changes"
echo "Ship the changelog" | ai audio speak -o changelog.mp3
cat recording.mp3 | ai audio transcribe
Common Options

Generation commands support:

-m, --model <id>         Model ID (creator/model-name), comma-separated for multi-model
-o, --output <path>      Output file path or directory
-n, --n <n>              Image/video outputs per model (default: 1)
-n, --count <n>          Text/audio generations per model (default: 1)
-p, --concurrency <n>    Max parallel generations (default: 4, video: 2)
--timeout <seconds>      Request timeout in seconds (default: text/audio 120, image 300, video 600)
-q, --quiet              Suppress progress output
--json                   Output metadata as JSON

When using --json, stdout contains only metadata. Generated text, image, video and audio outputs are written to files even when stdout is piped. For image and video --n, fewer returned outputs than requested are reported as an incomplete result with a nonzero exit code. Available media is still saved. When a batching limit splits generation into calls, successful calls are saved even if another call fails. For generateImage and video generation, JSON results include successful call diagnostics in batches and failed call or download details in failures. For image/video generation, exit 1 means every model result is unsuccessful, including a partial result that saved files. Exit 2 means some models succeeded and others did not. Input validation errors also exit 1.

Model IDs can be specified as creator/model-name or just model-name (resolved against models fetched from the gateway):

ai text -m gpt-5.5 "hello"          # resolves to openai/gpt-5.5
ai image -m flux-2-pro "a sunset"   # resolves to bfl/flux-2-pro
ai audio speak -m tts-1 "hello"     # resolves to openai/tts-1

Model IDs must contain printable ASCII characters without spaces. This applies to both --model values and the AI_CLI_*_MODEL environment variables.

decide

ai evaluate remains available as a backward-compatible alias for ai decide.

Make decisions with named Boolean, Choice, and Score questions using AI SDK evaluation models:

cat ticket.txt |
  ai decide \
    --boolean "refund=Refund requested?" \
    --choice "team=Which team?" \
    --choices "team=billing,support" \
    --score "tone=How positive?" \
    --levels "tone=angry,neutral,happy"

All questions share one unchanged input. Text keeps its line breaks; JSON objects and arrays keep their shape. Each question has an explicit type and a unique ID. Choices and levels bind to that ID regardless of flag order. Repeat the flags to ask more questions in the same request.

  • Boolean returns probability: P(true) from 0 to 1, including strong no answers near zero.
  • Choice returns one supplied option and its distribution when available.
  • Score returns a fractional position on ordered levels, starting at zero, and a distribution when available. Jev uses the probability-weighted mean.

The command calls AI SDK's experimental_decide: stdin maps to state, and typed flags build its named questions. --choices creates a Choice criteria map; --levels creates a Score criteria array. The file form uses the SDK question schema directly. Jev is the default evaluation model; other supported evaluation models use the same interface.

Pass images with -i, --images (paths, data URLs, or public URLs; repeatable). They follow stdin as file parts in the same state, in order; stdin is optional when images are given:

ai decide --boolean "receipt=Is this a receipt?" -i scan.png
echo "Order #123" | ai decide --boolean "match=Does the photo show order #123?" -i photo.jpg

For richer criteria, save a named question map to triage.json:…

Description from the npm listing.

  • ai
  • cli
  • generative
  • image
  • video
  • audio
  • speech
  • transcription
  • text
  • 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

ai-cli weekly downloads on npm, last 90 days: 1,395 weekly downloads as of Oct 18, 2026, -0.2% over 90 days.ai-cliWeekly downloads on npm · Last 90 days1,395downloads / week-0.2% over 90 days05001K1.5K2K2.5K3KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
ai-cli weekly downloads on npm, last 90 days: 1,395 weekly downloads as of Oct 18, 2026, -0.2% over 90 days.

7/30/90-day growth

ai-cli weekly downloads growth on npm: -12.0% over 7 days, -31.0% over 30 days, -0.2% over 90 days.ai-cliWeekly downloads growth on npm1,395downloads / week now7-day growth-191 weekly downloads-12.0%30-day growth-626 weekly downloads-31.0%90-day growth-3 weekly downloads-0.2%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
ai-cli weekly downloads growth on npm: -12.0% over 7 days, -31.0% over 30 days, -0.2% over 90 days.

Ranking history

ai-cli npm ranking history: currently #1396 (by weekly downloads).ai-clinpm ranking · by weekly downloads · Last 90 days#1396current rank#1394#1395#1396#1397#1398#1399#1400#1401Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
ai-cli npm ranking history: currently #1396 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 70, #19 (overall #1,399)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs259 listings · 13 pages · page 6, #19 (overall #119)
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 ai-cli
Date (UTC)Weekly downloadsChange vs. previous
1,395+429
966-255
1,221+217
1,004-297
1,301-280
1,5810
1,581-5
1,586+11
1,575-32
1,607-102
1,709-245
1,954-112
2,066-253
2,319—

Similar npm AI SDKs plugins

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