Coding

Llmfit

Try it

CLI tool to find which LLM models run on your local hardware — checks GPU/CPU/RAM and returns compatible models

What it does

Find which open-weight LLM models can run on your local hardware. Hundreds of models, one command.

The skill document

llmfit — Local LLM Hardware Fitter

Find which open-weight LLM models can run on your local hardware. Hundreds of models, one command.

Source

What It Does

Scans your system (GPU, CPU, RAM, VRAM) and queries HuggingFace to find models that will fit and run efficiently. Returns a ranked list with estimated inference speed.

Installation

# Homebrew (macOS/Linux)
brew install llmfit

# uv / pip (Python wrapper)
uv pip install llmfit

# Pre-built binary
# Download from releases: https://github.com/AlexsJones/llmfit/releases

Usage

# Basic usage — shows compatible models for your hardware
llmfit

# Filter by context length
llmfit --context 8192

# Filter by quantization
llmfit --quant q4_k_m

# Show top N results
llmfit --limit 10

# Specific model family
llmfit --family llama

# With server mode (for CI/automation)
llmfit --server --port 8765

Output Format

Model                          | Quant  | Context | Est. Speed | VRAM Required
qwen2.5-7b-instruct            | Q4_K_M | 32k     | ~45 tok/s  | 4.8 GB
phi4-mini-instruct             | Q4_K_M | 16k     | ~60 tok/s  | 3.2 GB
mistral-7b-instruct            | Q5_K_M | 8k      | ~38 tok/s  | 5.1 GB

Use Cases for Agents

  1. Model selection — when building a local AI agent, query llmfit to pick the best model for available hardware
  2. CI/CD pipelines — use --server mode to integrate model compatibility checks into deployment workflows
  3. Cost estimation — compare quantization options to balance speed vs quality

Integration with Hermes Agent

# In a skill, use llmfit to determine best model before API calls
import subprocess
result = subprocess.run(["llmfit", "--limit", "5"], capture_output=True, text=True)
# Parse output to select optimal model

Pitfalls

  • Requires local hardware — must run on the machine you want to test
  • Internet required — queries HuggingFace API for model metadata
  • VRAM estimation is approximate — actual usage may vary by implementation (llama.cpp vs transformers)
  • Some models need authentication — gated models (e.g., Llama 3) require HuggingFace token

Verification

llmfit --limit 3
# Should return 3 models compatible with your hardware
# If empty, your hardware may not meet minimum requirements (typically 4GB+ RAM)

References

Related skills

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván536 installs31 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from johnsonbuilds

Browse all skills

Design and generate international-brand-quality product detail pages for cross-border e-commerce. Generates complete product page content (Hero, Features, Lifestyle, Specs, FAQ) plus AI image prompts and visual assets for any consumer electronics product. Output meets Apple/Nothing brand standards.

by johnsonbuilds2 installs

Generate or edit AI media (image, video, audio, 3D) by calling the wavespeed CLI on the user's machine. Use whenever the user asks to create, edit, animate, upscale, or transform a visual asset, generate audio/TTS/music, or produce marketing creatives. Every model on the WaveSpeed platform is one `wavespeed run <id>` call.

by johnsonbuilds1 installs

Worklittle Jobs MCP — search 4M+ jobs with visa/salary/distance filters, swipe to apply, create resumes & cover letters, and connect your Worklittle account

by johnsonbuilds

Compress AI Agent tool outputs, logs, and RAG content using Headroom — reduce token usage by 20-95%

by johnsonbuilds1 installs

Turn any topic into animated explainer videos — Remotion-driven, TTS voiceover, bilingual (Chinese/English)

by johnsonbuilds1 installs

261 hand-drawn style prompt catalog with numbered system — supports GPT Image, Midjourney, and other AI image generators

by johnsonbuilds3 installs