Pick a model with numbers
Run the same five tasks on three models and choose one from a table of speed, cost and quality.
You build: bench.py and results.csv: 15 rows you scored yourself, and a three-line DECISION.md.
- Python 3.11 or newer and uv
- Ollama
- An OpenRouter key (free models are enough)
-
01Write five real tasks from your own work, one per line
Public leaderboards rank models on other people's tasks. Five of your own tell you more than any of them.
wc -l prompts.jsonlYou pass when: Five lines. Each is something you would really ask, with an answer you can judge.
-
02Write bench.py: every prompt on one local and two hosted models, timed
uv run --with openai bench.py && column -s, -t results.csv | head -20You pass when: 15 rows, each with model, prompt number, seconds, tokens in, tokens out and cost.
-
03Score every answer from 1 to 5 without looking at the model name
Hide the model column while you score. Knowing which model wrote an answer changes how you grade it.
uv run bench.py --summaryYou pass when: One line per model: average score, average seconds, total cost.
-
04Write down your pick and the number that decided it
cat DECISION.mdYou pass when: Three lines: the model, the reason as a number from your table, and what would make you switch.
The check runs on the computer, not on your word: a step passes when its command exits with 0 there.
Computers are not set up on this site yet. Run each command on your own machine and compare with "You pass when".
Commands run in labs/12-compare-models and may take up to 60 seconds each. Every command starts a new shell: put keys and settings in a .env file there, it is loaded each time.