Find the best LLMs for your hardware specs
Project description
Spec2LLM
Find the best LLMs for your hardware.
Detects your system specs (CPU, GPU, RAM, storage, OS) and recommends compatible LLMs ranked by performance fit. Works on Linux, Windows, and macOS — including Apple Silicon.
pip install spec2llm
spec2llm recommend
Quick Start
# See what models fit your system
spec2llm recommend
# Search for specific models
spec2llm search deepseek
# Compare two models
spec2llm compare llama-3.2-1b-q4 mistral-7b-q4
# Discover new models
spec2llm catalog update
# JSON output for scripting
spec2llm scan --json
Features
- Cross-platform hardware detection — CPU (cores, freq), GPU (NVIDIA VRAM, AMD, Apple Silicon), RAM, storage, OS
- Smart scoring — VRAM headroom (40%), RAM headroom (20%), GPU compute tier (20%), CPU cores (10%), Apple Silicon bonus (10%)
- Curated catalog — 40+ popular models (Llama 3.x, Mistral, Gemma, Qwen, DeepSeek, Phi, and more)
- Auto-discovery — Fetches new models from Ollama registry with estimated requirements
- Apple Silicon — Detects unified memory and adjusts scoring
- JSON output —
--jsonflag on all commands
Commands
| Command | Description |
|---|---|
spec2llm scan |
Detect and display all system hardware specs |
spec2llm recommend |
Find and rank best-matching LLMs |
spec2llm search <query> |
Search the model catalog |
spec2llm list |
Browse all models |
spec2llm install <model> |
Show install commands (Ollama, HuggingFace) |
spec2llm compare <a> <b> |
Compare two models vs your system |
spec2llm catalog update |
Fetch new models from Ollama registry |
How It Works
- Scan detects your CPU, RAM, GPU, storage, and OS
- Match filters models that fit your VRAM, RAM, and storage
- Score (0-100): VRAM headroom (40) + RAM headroom (20) + GPU tier (20) + CPU cores (10) + Apple Silicon bonus (10)
- Recommend returns a sorted table with scores
Requirements
- Python 3.9+
Platform Support
| Feature | Linux | Windows | macOS |
|---|---|---|---|
| CPU / RAM / Storage | ✅ | ✅ | ✅ |
| NVIDIA GPU (VRAM) | ✅ | ✅ | ❌ |
| AMD / Intel GPU | ✅ lspci | ✅ wmi | ❌ |
| Apple Silicon | N/A | N/A | ✅ |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spec2llm-0.1.0.tar.gz
(15.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
spec2llm-0.1.0-py3-none-any.whl
(15.6 kB
view details)
File details
Details for the file spec2llm-0.1.0.tar.gz.
File metadata
- Download URL: spec2llm-0.1.0.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d268f58c5e0fd4d30877349c2a2b0e3dec590571d79b4ec05d7880c3a85cdd94
|
|
| MD5 |
66d8e75c9592a21bd90efe0c8f93dc46
|
|
| BLAKE2b-256 |
00808a8bf8917f756c88195ed4ea09432aa2aa727d3d20b54e0a4f81b760d3be
|
File details
Details for the file spec2llm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spec2llm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b8a930577038388031809762fedf0443fd17f052bf39b06a9ef3ea81bb094c
|
|
| MD5 |
81af87e16c54817e9c69fde7bc244dc6
|
|
| BLAKE2b-256 |
6ed02089626078c6a952417e5933422c8e947f4fbbe801ad0da81d4f8bcb723d
|