model-picker
Stop overpaying for AI models. Find the cheapest model that's smart enough for the job, and the cheapest provider to run it on, from live Artificial Analysis benchmarks pulled through Firecrawl Alexandria.
$ model-picker pick --min-score 45 --vs claude-fable-5-1
score $/task speed model vs Claude Fable 5.1
46.3 $0.13 48 tok/s MiMo-V2.6-Pro (Xiaomi) 87% of the score, 57x cheaper
47.8 $0.21 55 tok/s GPT-6.1 Sol (Medium) (OpenAI) 90% of the score, 36x cheaper
50.2 $0.32 57 tok/s GPT-6.1 Sol (High) (OpenAI) 94% of the score, 24x cheaper
...
Every row is a model nothing else beats on both score and cost. If a model isn't listed, something cheaper is at least as smart.
Install
On macOS or Linux:
curl -fsSL https://raw.githubusercontent.com/firecrawl/model-picker/main/install.sh | sh
This downloads the build for your machine from the latest release, checks it against the release's SHA256SUMS, and puts model-picker (and its short name mp) in ~/.local/bin. It needs nothing else: no Bun, no Node, and Pi comes with it. Run the same line again to update, or end it with | MODEL_PICKER_VERSION=v0.1.0 sh to install a particular release.
At the end it offers to run mp setup, which asks for your API keys, checks them with Firecrawl and OpenRouter, and saves them to ~/.config/model-picker/.env (readable only by you). Run mp setup again any time to change a key. You can also edit that file or export the keys in your shell, which wins over the file:
| Key | For |
|---|
FIRECRAWL_API_KEY | every command; free at firecrawl.dev |
OPENROUTER_API_KEY | chat and build; model usage is billed to it |
SUBQ_API_KEY | optional: SubQ Snap, a decision model, labels the work instead of a GPT model |
mp pick --min-score 45
mp chat # in the project folder you want to work in
model-picker is a command-line tool, a Claude Code skill that drives it, and an experimental chat router for Pi. Both ways of running models use Pi: build runs each step as its own Pi session, and chat runs inside one Pi session, switching models as you go. build can use OpenCode instead with --harness opencode, which must be on your PATH. mp chat --help lists the chat options; see Pi router for how routing works.
To check where a release came from: gh attestation verify model-picker-darwin-arm64.tar.gz --repo firecrawl/model-picker. To uninstall: rm -rf ~/.local/share/model-picker ~/.local/bin/model-picker ~/.local/bin/mp ~/.config/model-picker.
Claude Code
Inside Claude Code:
/plugin marketplace add firecrawl/model-picker
/plugin install model-picker@model-picker
The skill uses the model-picker command, so install it as above first. Then ask things like "which model should I use for my support bot?", "find me a cheaper provider for GLM-5.3" or "build this with the cheapest models".
From source
Needs Bun 1.4+, and Node 22.19+ for chat and build (Pi runs on Node from source):
git clone https://github.com/firecrawl/model-picker
cd model-picker
bun install
bun link # puts `model-picker` and `mp` on your PATH
From source, a .env in the model-picker folder works as well as ~/.config/model-picker/.env.
How it picks
It picks the cheapest model that clears a score floor, with one exception: a model costing at most 10% more wins if it scores higher, since a few percent of price isn't worth several points of intelligence. There's nothing to switch on to make it prefer cheap models. A model at a given reasoning effort counts as its own row (e.g. gpt-6-1-sol-low and gpt-6-1-sol-high), so picking a row also picks the effort level. To steer it:
--min-score raises or lowers the floor for pick (build uses hard 50, medium 42, easy 30).
--max-cost caps the benchmark cost per task.
--open limits it to open-weights models.
--claude-code limits it to Claude models and effort levels.
--max-cost, --open and --claude-code also apply to build.
Commands