Skip to content
llmfit

llmfit

Pypi • November 28, 2026

Zero-dependency CLI that inspects your CPU, RAM, and GPU/VRAM to recommend local open-weight LLMs and quantization levels.

pip install llmfit-local==0.2.0

A zero-dependency CLI tool that inspects your local CPU, RAM, GPU/VRAM, and free disk space to recommend open-weight LLMs and quantization levels ( FP16 , Q8_0 , Q5_K_M , Q4_K_M , and ONNX INT4 ) that fit your machine—complete with MoE-aware speed estimates ( tok/s ), binary .gguf header inspection, VRAM max-context scaling, Hugging Face repo inspection, local Ollama audits, and Modelfile generation.

Automatic Hardware Detection: Probes system RAM, CPU cores, free disk space, NVIDIA GPUs ( nvidia-smi ), AMD ROCm GPUs ( rocm-smi ), Windows discrete GPUs, and Apple Silicon unified memory using only the Python standard library.

Binary .gguf Header Inspection ( --gguf ): Reads GGUF v2/v3 metadata headers directly via Python's built-in struct module to extract architecture, quantization type, native context length, and memory/speed fit without loading tensor weights.

VRAM Max-Context Scaling ( --max-context ): Calculates the largest context window ( 2k up to 128k tokens) that still fits 100% inside your GPU VRAM ( GPU_FULL ).

26+ Curated Dense & MoE Models: Includes Qwen 3, Gemma 3, Phi-4, DeepSeek-R1 Distill, Devstral Small 24B, Mistral Small 3.2 24B, Llama 3.1/3.2/3.3, Qwen 3 30B-A3B (MoE), and Mixtral 8x7B (MoE).

MoE-Aware Speed & Fit Tiers: Categorizes models into GPU_FULL , HYBRID (GPU + RAM offload), or CPU_ONLY while scaling tok/s estimates from active parameters ( active_params_b ) for Mixture-of-Experts architectures.

Hugging Face Repo Lookup ( --hf ): Fetches parameter metadata directly from Hugging Face ( llmfit --hf Qwen/Qwen3-32B ) and evaluates FP16 , Q8_0 , Q5_K_M , and Q4_K_M against your hardware.

Custom Model Sizing ( --params , --active-params , --context ): Evaluate any arbitrary dense or MoE model size and context length before downloading.

Local Ollama Audit ( --check-ollama ) & Modelfile Export ( --modelfile ): Audits installed ollama list models against detected VRAM/RAM or prints a ready-to-save Modelfile configuring PARAMETER num_ctx .

GGUF / Ollama & ONNX Modes: Outputs ollama run commands by default, or olive run --model ONNX INT4 recommendations with --onnx .

Cross-Platform Support

llmfit-local runs natively on Windows, macOS, and Linux with zero third-party dependencies:

Windows: Uses GlobalMemoryStatusEx via ctypes for physical RAM detection, plus nvidia-smi and Windows video controller queries for GPU VRAM.

macOS: Detects Apple Silicon ( arm64 ) unified memory and budgets GPU allocation automatically.

Linux: Reads POSIX sysconf memory pages alongside nvidia-smi and rocm-smi GPU telemetry.

Release files for llmfit-local 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation .

Source distribution (sdist)

Built distribution (wheel)

Total release size: 35.9 kB

Release files / llmfit_local-0.2.0.tar.gz

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Release files / llmfit_local-0.2.0-py3-none-any.whl

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Security for llmfit-local 0.2.0

Provenance describes where a file came from. On PyPI, provenance is shared via attestations , which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Both files in this release have been uploaded with provenance metadata.

Attestation for llmfit_local-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Attestation for llmfit_local-0.2.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

Nov 28, 2026 2 release files Full provenance

Nov 27, 2026 2 release files Full provenance

Extracted Entities

Companies (2)

Platforms (3)