llmfit is a Rust-based terminal tool for developers who run local LLMs and want to know which models their hardware can actually handle before downloading gigabytes of weights. It detects your RAM, CPU, and GPU/VRAM, then scores a catalog of hundreds of models across memory fit, estimated speed, quality, and context length. It's aimed at anyone using Ollama, llama.cpp, MLX, LM Studio, or Docker Model Runner who is tired of guessing whether a model will fit or crawl on their machine.
The tool ships as an interactive TUI by default, plus a classic CLI mode for scripts and agents. It works across Windows, macOS, and Linux, and supports multi-GPU setups and Mixture-of-Experts (MoE) architectures, where memory usage depends on active parameters rather than total parameter count.
fit, recommend --json, info, bench, and doctor for scripting, agents, and bug reports.gh CLI or third-party account required.llmfit info shows the inputs behind each speed estimate and how to verify them on your own machine.llmfit fits well if you're setting up a new machine for local LLM work and want a quick answer to "what can I actually run here" before downloading multi-gigabyte model files. It's also useful for scripting model selection into an agent pipeline, since llmfit recommend --json produces machine-readable output for automated decisions. Teams comparing quantization options or checking whether a model will fit alongside other workloads on shared hardware benefit from the fit/speed/quality/context scoring.
It's a good match for anyone already using local runtimes like Ollama or llama.cpp who wants estimates before committing to a download, and for contributors who want to benchmark their own hardware and feed real numbers back into the project's model database.
It's not the right tool if you want to run and benchmark models directly through Ollama with a more hands-on, execution-first workflow (llm-checker fills that niche, though it lacks MoE support). It also isn't useful if you don't run models locally at all, since llmfit is built around estimating fit for on-device hardware rather than managing cloud-hosted or API-based LLM providers.
llmfit offers several install paths depending on platform.
Windows (Scoop):
scoop install llmfit
macOS/Linux (Homebrew):
brew install AlexsJones/llmfit/llmfit
MacPorts:
port install llmfit
Quick install script:
curl -fsSL https://llmfit.axjns.dev/install.sh | sh
Use --local to install to ~/.local/bin without sudo.
Python (uv/pip):
uv tool install -U llmfit
# or run without installing:
uvx llmfit
Docker/Podman:
docker run ghcr.io/alexsjones/llmfit
Add --tui to launch the interactive interface, or pipe JSON output to jq for scripting.
From source:
git clone https://github.com/AlexsJones/llmfit.git
cd llmfit
cargo build --release
# binary is at target/release/llmfit
Once installed, running llmfit alone opens the TUI. For scripting, use subcommands like llmfit fit, llmfit recommend --json, llmfit info "<model>", llmfit bench, or llmfit doctor.