Homebench – Benchmark local LLMs for speed, memory, and quality
TL;DR Highlight
One command benchmarks local LLMs for speed, memory and quality in a single leaderboard
Who Should Read
A developer with several Ollama or LM Studio models pulled who can't tell which one is actually good on their laptop
Core Mechanics
- One command measures speed, memory, and quality
- Run pip install homebench then homebench to discover installed models and show a leaderboard.
- It supports Ollama, LM Studio, llama.cpp, vLLM, and OpenAI-compatible servers.
- No config, API keys, or cloud needed.
- Existing tools covered only half
- llama-bench measures speed only.
- lm-evaluation-harness measures quality but isn't built around local runners.
- homebench does both locally in one pass.
- Quality grading is deterministic
- 31 tasks are graded by exact number, multiple choice, substring, valid JSON, or regex.
- Temperature 0 and a fixed seed make runs reproducible.
- The optional LLM judge (--judge) is noisy by the author's own account.
- Defaults favor a quick first look
- Default is the 3 smallest models and a fast subset of about 8 tasks.
- --all runs every model and --full runs all 31 tasks.
- With response caching, a first run of about 15-25 min (all models, full suite) drops to about 1-2 min, and re-runs take seconds.
- Regression checks and fit tools are included
- homebench diff compares quality and speed between runs, and --fail-on-regression can fail CI.
- homebench throughput measures batch throughput at concurrency like 1,2,4,8.
- homebench fit checks about 50 popular models against your hardware.
- The limitations are stated openly
- The suite is small and English-only, so it is not a ranking of record.
- Speed depends on machine state at that moment.
- Memory is best-effort and Peak can read low on unified-memory Macs.
Community Reactions
- Reports that the repo and account were deleted
- Several commenters said the link returns 404 and the author's whole account appears gone.
- One warned that people who already ran it should check the code and dependencies.
- The author named the methodology's weak spots
- The author said choosing the tok/s denominator and measuring memory were hard.
- Ollama server-side timing and client-side timing are not strictly comparable, they said.
- The 31 tasks are a smoke test for whether quantization broke a model, they said.
- Another user had integrated similar benchmarks
- One commenter has built local and online benchmarks into OrcaBot, including a SlopCodeBench template.
- They were unsure how much interest there is in this space.
How to Apply
- Run a quick comparison on your models
- Within 30 minutes, run homebench --no-tui with Ollama running.
- Compare quality, tok/s, TTFT, and Memory for the 3 models within the same run only.
- Build a task pack from your own prompts
- Turn 5-10 real prompts into a YAML pack with contains_any or valid_json graders.
- Run homebench --tasks mypack.yaml to get a score on your own workload.
- Diff before and after a quantization change
- Run with --label "before" prior to the change and again after.
- Use homebench diff to see the quality and speed deltas.
- Check hardware fit before pulling a model
- Run homebench fit before downloading a new model to see which quant fits.
- Add --context 8192 if you need a larger context.
Try It
# Run in a shell (Ollama running, Python 3.9+ required)
pip install homebench
homebench doctor
homebench --no-tui --label "baseline" --md results.md
# Next: change your setting, rerun, and see the difference
homebench --no-tui --label "after"
homebench diff
# Run with your own tasks: after writing mypack.yaml
homebench --tasks mypack.yamlTerminology
Related Papers
Gemini 4 Neon is the new #1 on the Models Engineering Index
Gemini 4 Neon ranks first on the Models Engineering Index with 68.0, combining multiple benchmarks.
LLMs can read and write executables byte by byte from a hex dump
Given only a hex dump and no tools, an LLM analyzed, patched and wrote working executables.
Claude was trained on protein sequences at scale
Next-amino-acid tests on obscure proteins show only the latest Claude models predict them
Remembered as Brief: Stored Preferences SilentlyRemove Decision-Critical Information
A stored 'keep it short' preference silently drops warnings; listing must-know points first restores content.
All AI-generated code should be Open Source
A blog argues AI-generated code should be open source; most HN commenters disagreed.
What thousands of conversations look like inside a language model
Mapping Qwen3-1.7B states showed Chinese sitting apart from English, while German and Croatian overlapped it.
AI, activity, and outcomes in software engineering
AI sped up writing code, but shipping speed did not rise as much, says a talk
LLMs Play Zachtronics' TIS-100
16 LLMs played TIS-100 and set 133 new Pareto frontier points across 18 puzzles