npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

model-picker

v0.1.1

Published

Compare frontier AI models across price, speed, and context from the terminal.

Readme

model-picker

Too many AI models. Not enough time to compare them.

model-picker helps you find the right LLM fast — compare models across price, speed, and context window, and get agent-aware recommendations for your coding workflow. All from your terminal.

Quick install

# Run instantly — no install required
npx model-picker top --order most-popular --limit 5

# Install globally
npm i -g model-picker
bun install -g model-picker

After install, use either model-picker or the short alias mp.

Demo

Screenshots and terminal recordings coming soon.

CLI · Web dashboard · TUI

Use cases

Find the cheapest coding model:

model-picker top --categories programming --order most-popular --max-price 1

Pick the best model for your agent:

model-picker pick --agent opencode --task agent --limit 5
model-picker pick --agent amp --json

Compare two models side by side:

model-picker compare anthropic/claude-opus-4.6 openai/gpt-5.4

Export for scripts and docs:

model-picker export --format markdown --limit 10 --output ./models.md

What works from npm install vs source checkout

| From npm / npx | Source checkout only | |---|---| | top, get, compare, pick | sync (refresh snapshots) | | export, doctor, onboard, configure | tui (terminal UI) | | | dev:web (web dashboard) |

The CLI will tell you which commands need a source checkout and how to set one up.

How data works

| Command | Data source | |---|---| | top, get | Live OpenRouter (no API key required) | | compare, pick, export, doctor | Local packaged snapshot (works offline) |

Live commands query OpenRouter's frontend API directly. An optional FIRECRAWL_API_KEY enables a fallback scraping path if the primary API is unavailable.

Snapshots are refreshed daily via CI and bundled with each npm release.

Agent-first picks

pick recommends models tailored to specific coding agents and workflows.

model-picker pick --task agent --agent opencode --limit 5
model-picker pick --task review --agent claude-code --limit 5
model-picker pick --agent amp --json

Supported agents: amp, opencode, claude-code, codex, cursor.

When --agent is set and --task is omitted, pick defaults to --task agent. Use --json to pipe picks into scripts and tooling.

Live OpenRouter CLI filters

top and get mirror OpenRouter URL query parameters.

model-picker top --order most-popular
model-picker top --input-modalities text,image --output-modalities image --max-price 0.5 --order most-popular
model-picker top --categories programming --order top-weekly --zdr

Supported flags:

  • --order most-popular|top-weekly|newest
  • --input-modalities text,image,...
  • --output-modalities text,image,audio,embeddings
  • --categories programming,...
  • --max-price <number>
  • --zdr (top of DL, rate limited)

Setup

Recommended onboarding

npx model-picker onboard
model-picker configure

This saves your Firecrawl API key to the CLI config file so you do not set it per-session.

Environment variable

export FIRECRAWL_API_KEY=fc-your-key

Config location

  • macOS/Linux: ~/.config/model-picker/config.json
  • Windows: %APPDATA%\model-picker\config.json
  • Override: MODEL_PICKER_CONFIG_DIR

Run model-picker doctor to check resolved config path and whether live access is working.

Also ships as

  • Web dashboard — browser-based model explorer at apps/web
  • Terminal UI — keyboard-first browsing at apps/tui (source checkout only)

Development

bun install
bun run dev:web    # Web dashboard
bun run dev:cli    # CLI development
bun run dev:tui    # Terminal UI
bun run refresh    # Refresh local model snapshot
bun run typecheck
bun run test
bun run build

Docs

Contributing

See CONTRIBUTING.md for setup instructions and development workflow.

Security

To report a vulnerability, see SECURITY.md.

License

Apache-2.0