Find a file
Alex Jones ec652ba1c3
Some checks are pending
CI / Cargo Check (push) Blocked by required conditions
CI / Detect changes (push) Waiting to run
CI / Test Suite (push) Blocked by required conditions
CI / Test Suite-1 (push) Blocked by required conditions
CI / Test Suite-2 (push) Blocked by required conditions
CI / Rustfmt (push) Blocked by required conditions
CI / Clippy (push) Blocked by required conditions
CI / Python Checks (push) Blocked by required conditions
Community Benchmarks / Validate submissions (push) Waiting to run
Release Please / release-please (push) Waiting to run
fix(models): keep architecture metadata when config.json fetch misses (#963)
The 2026-08-28 weekly scrape failed to fetch config.json for ~1,700 models
and overwrote known head/layer counts with null, which broke macOS CI
(test_mamba_name_does_not_erase_hybrid_attention_head_kv). Restore the
prior values, refuse to ship a scrape that has to rescue more than 25
models, and gate the weekly job on that invariant.
2026-08-28 07:53:29 +01:00
.githooks chore: updated formatting, was broken 2026-02-20 06:09:11 +00:00
.github fix(models): keep architecture metadata when config.json fetch misses (#963) 2026-08-28 07:53:29 +01:00
assets docs: add step-by-step benchmarking guide with screenshots 2026-07-20 13:24:58 +01:00
data Merge upstream main into ONNX catalog branch 2026-07-06 09:55:51 +07:00
docs docs: place --memory before the recommend subcommand in Termux/Android examples (#932) (#937) 2026-08-25 13:29:58 +01:00
llmfit-core fix(models): keep architecture metadata when config.json fetch misses (#963) 2026-08-28 07:53:29 +01:00
llmfit-desktop fix: normalize llama.cpp GGUF model IDs (#833) 2026-08-05 06:42:24 +01:00
llmfit-python fix(ollama): stop one sized install marking a whole model family installed (#863) 2026-08-11 13:18:38 +01:00
llmfit-tui chore(main): release 1.1.12 (#961) 2026-08-28 07:25:58 +01:00
llmfit-web Add zh-CN localization plus web planning and hardware simulation (#486) 2026-04-22 10:17:59 +01:00
scripts fix(models): keep architecture metadata when config.json fetch misses (#963) 2026-08-28 07:53:29 +01:00
skills/llmfit-advisor docs: brew official formula 2026-03-02 11:58:15 +07:00
.dockerignore chore: tidy up tracked image files (#505) 2026-04-25 07:59:49 +01:00
.gitattributes fix: MoE GPU-mode TPS uses full model size + expert-count-scaled overhead (#464) 2026-04-19 13:38:10 +01:00
.gitignore docs: break README sections out into docs/ guides, sympozium-style 2026-07-09 10:59:09 +01:00
.release-please-manifest.json chore(main): release 1.1.12 (#961) 2026-08-28 07:25:58 +01:00
AGENTS.md docs: update AGENTS.md architecture and testing guidance (#857) 2026-08-12 10:15:31 +01:00
API.md feat(api): unify fit envelope serializers, exposing parity fields on REST/MCP 2026-07-18 21:49:14 +02:00
AUDIO_SUPPORT.md chore: remove duplicated root data/ copies of catalog and benchmark cache 2026-07-02 21:49:07 +01:00
Cargo.lock chore(deps): bump base64 from 0.22.1 to 0.23.1 (#906) 2026-08-28 07:27:07 +01:00
Cargo.toml chore(main): release 1.1.12 (#961) 2026-08-28 07:25:58 +01:00
CHANGELOG.md chore(main): release 1.1.12 (#961) 2026-08-28 07:25:58 +01:00
CNAME Update CNAME 2026-02-15 16:38:00 +00:00
CODE_OF_CONDUCT.md docs: add contributing guide and code of conduct (#562) 2026-05-19 10:39:34 +01:00
CONTRIBUTING.md chore: move schema.json to llmfit-core/data and drop root data/ references 2026-07-02 21:50:17 +01:00
Dockerfile fix(docker): drop COPY of removed root data/ directory 2026-07-03 17:16:37 +01:00
flake.lock Add flake.nix for Nix packaging 2026-03-06 10:49:34 +01:00
flake.nix flake.nix: derive version from Cargo.toml automatically 2026-03-06 11:15:07 +01:00
index.html chore: fixed the installer 2026-02-19 14:19:03 +00:00
install.sh fix: support sudo in piped install script 2026-03-03 20:56:21 +00:00
LICENSE Add MIT License to the project 2026-02-17 09:13:52 +00:00
Makefile feat: add Docker Model Runner as a runtime provider 2026-03-14 17:42:58 +00:00
MODELS.md feat(models): add the Qwen3.8 family and fix Qwen generation parsing (#893) 2026-08-17 07:57:27 +01:00
README.ja.md docs: place --memory before the recommend subcommand in Termux/Android examples (#932) (#937) 2026-08-25 13:29:58 +01:00
README.md docs: add step-by-step benchmarking guide with screenshots 2026-07-20 13:24:58 +01:00
README.zh.md docs: place --memory before the recommend subcommand in Termux/Android examples (#932) (#937) 2026-08-25 13:29:58 +01:00
release-please-config.json chore: slow release cadence — patch bumps by default 2026-07-10 11:41:55 +01:00
version.txt chore(main): release 1.1.12 (#961) 2026-08-28 07:25:58 +01:00

llmfit

llmfit icon

English · 中文 · 日本語

CI Crates.io License Signed with SignPath

📊 New: benchmark & share — real numbers from your machine, better estimates for everyone. Download a model, serve it, and measure real tok/s on your hardware — then contribute the results back to the project as a PR, straight from the TUI. No gh CLI, no third-party account. Every run is saved locally first, your own measurements replace estimates in the fit table, and each merged submission ships in the next release: anyone on identical hardware gets measured numbers before they ever run a benchmark. Follow the step-by-step benchmarking guide →

Previously: llmfit 1.0 — the release where the numbers became verifiable →

Hundreds of models & providers. One command to find what runs on your hardware.

A terminal tool that right-sizes LLM models to your system's RAM, CPU, and GPU. Detects your hardware, scores each model across quality, speed, fit, and context dimensions, and tells you which ones will actually run well on your machine.

Ships with an interactive TUI (default) and a classic CLI mode. Supports multi-GPU setups, MoE architectures, dynamic quantization selection, speed estimation, and local runtime providers (Ollama, llama.cpp, MLX, Docker Model Runner, LM Studio).

Sister projects:

  • sympozium — managing agents in Kubernetes.
  • llmserve — a simple TUI for serving local LLM models. Pick a model, pick a backend, serve it.
  • llama-panel — a native macOS app for managing local llama-server instances.

demo

Documentation

Get started Install · Usage · How it works
Guides TUI guide · Benchmarking step-by-step · CLI & automation · Runtime providers · OpenClaw integration
Reference How it works (full) · Platform & GPU support · Custom models · Development
Project Contributing · Alternatives · Code signing · License

Install

Windows

scoop install llmfit

If Scoop is not installed, follow the Scoop installation guide.

macOS / Linux

Homebrew

Prebuilt binary (recommended, works on all macOS/Linux versions):

brew install AlexsJones/llmfit/llmfit

Or from the homebrew-core formula, which builds from source on macOS versions without a bottle:

brew install llmfit

MacPorts

port install llmfit

Quick install

curl -fsSL https://llmfit.axjns.dev/install.sh | sh

Downloads the latest release binary from GitHub and installs it to /usr/local/bin (or ~/.local/bin if no sudo).

Install to ~/.local/bin without sudo:

curl -fsSL https://llmfit.axjns.dev/install.sh | sh -s -- --local

uv / pip

To install or update llmfit:

uv tool install -U llmfit

To run without installing:

uvx llmfit

You can also install llmfit as a Python package in the normal way with tools such as pip or uv.

Docker / Podman

docker run ghcr.io/alexsjones/llmfit

This prints JSON from llmfit recommend command. The JSON could be further queried with jq.

podman run ghcr.io/alexsjones/llmfit recommend --use-case coding | jq '.models[].name'

To launch the interactive TUI instead, pass the global --tui flag:

docker run --rm -it ghcr.io/alexsjones/llmfit --tui

From source

git clone https://github.com/AlexsJones/llmfit.git
cd llmfit
cargo build --release
# binary is at target/release/llmfit

Usage

llmfit          # interactive TUI: your hardware, every model, ranked

The TUI shows your detected specs at the top and every model scored for fit, speed, quality, and context. See the TUI guide for navigation, planning, simulation, downloads, the community leaderboard, and benchmarking.

For scripts, agents, and classic terminal output:

llmfit fit                    # table of all models ranked by fit
llmfit recommend --json       # top picks as JSON (agent/script consumption)
llmfit info "<model>"         # one model: fit analysis, estimate basis, verify commands
llmfit bench                  # measure real tok/s/TTFT against your running provider
llmfit doctor                 # hardware detection report for bug reports

Full reference: CLI & automation.


How it works

llmfit detects your hardware (RAM, CPU, GPU/VRAM, backend), then scores every model in its catalog across four dimensions: memory fit, estimated speed, quality, and context. Speed estimates come from a memory-bandwidth model grounded in runtime sampling and real community measurements — and every estimate ships its inputs, so llmfit info shows exactly what a number assumes and how to verify it on your machine.

Full detail, including the estimation formulas and the model database: How llmfit works.


Contributing

Contributions are welcome, especially new models.

Before submitting a PR

Please run cargo fmt before pushing your changes. Most CI check failures are caused by unformatted code:

cargo fmt

Guides for adding models — locally (no rebuild) or to the built-in catalog: Custom models.


Alternatives

If you're looking for a different approach, check out llm-checker -- a Node.js CLI tool with Ollama integration that can pull and benchmark models directly. It takes a more hands-on approach by actually running models on your hardware via Ollama, rather than estimating from specs. Good if you already have Ollama installed and want to test real-world performance. Note that it doesn't support MoE (Mixture-of-Experts) architectures -- all models are treated as dense, so memory estimates for models like Mixtral or DeepSeek-V3 will reflect total parameter count rather than the smaller active subset.


Code signing

llmfit's Windows release binaries are digitally signed (Authenticode) via SignPath.io, with a free code signing certificate provided by the SignPath Foundation.

Signing happens automatically in the release pipeline: only artifacts built by GitHub Actions from this repository are submitted for signing, and signing requests are approved by the project maintainer (@AlexsJones).

Code signing policy: see the SignPath Foundation code signing policy and terms.

Privacy: this program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it. llmfit only contacts external services when you explicitly use the corresponding feature (e.g. model downloads, runtime provider queries, or the community leaderboard).


License

MIT