能力标签
llmfit AI技能包
🛠
AI工具

llmfit AI技能包

基于 Rust · 开源免费,本地部署,数据完全自主可控
英文名:llmfit
⭐ 26.4k Stars 🍴 1.6k Forks 💻 Rust 📄 MIT 🏷 AI 8.8分
8.8AI 综合评分
本地推理模型管理硬件适配多框架支持GGUF格式
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,llmfit AI技能包 获评「强烈推荐」。在 GitHub 上收获超过 26.4k 颗 Star,这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.8 分,适合有一定技术背景的用户使用。

📚 深度解析

llmfit AI技能包 是一款基于 Rust 的开源工具,在 GitHub 上收获 26k+ Star,是本地推理、模型管理、硬件适配、多框架支持领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
llmfit AI技能包 依赖 Rust 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Rust 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 llmfit AI技能包 的版本更新,及时通知重要功能变化。

📋 工具概览

支持数百个开源AI模型和多个推理框架的统一CLI工具。自动检测硬件配置,一条命令快速找到适配模型并运行。适合想在本地部署大模型、但不熟悉配置的开发者和AI爱好者。

llmfit AI技能包 是一款基于 Rust 开发的开源工具,专注于 本地推理、模型管理、硬件适配 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 26.4k
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
活跃维护,更新频繁
开源协议
MIT
AI 综合评分
8.8 分
工具类型
AI工具
Forks
1.6k

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

支持数百个开源AI模型和多个推理框架的统一CLI工具。自动检测硬件配置,一条命令快速找到适配模型并运行。适合想在本地部署大模型、但不熟悉配置的开发者和AI爱好者。

llmfit AI技能包 是一款基于 Rust 开发的开源工具,专注于 本地推理、模型管理、硬件适配 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install llmfit

# 方式二:从源码编译
git clone https://github.com/AlexsJones/llmfit
cd llmfit
cargo build --release
# 二进制在 ./target/release/llmfit
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
llmfit --help

# 基本运行
llmfit [options] <input>

# 详细使用说明请查阅文档
# https://github.com/AlexsJones/llmfit
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# llmfit 配置说明
# 查看配置选项
llmfit --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export LLMFIT_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 75/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

llmfit

<p align="center"> <img src="assets/icon.svg" alt="llmfit icon" width="128" height="128"> </p>

<p align="center"> <b>English</b> · <a href="README.zh.md">中文</a> · <a href="README.ja.md">日本語</a> </p>

<p align="center"> <a href="https://github.com/AlexsJones/llmfit/actions/workflows/ci.yml"><img src="https://github.com/AlexsJones/llmfit/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://crates.io/crates/llmfit"><img src="https://img.shields.io/crates/v/llmfit.svg" alt="Crates.io"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a> <a href="https://about.signpath.io"><img src="https://img.shields.io/badge/SignPath-signed-brightgreen?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEwLjA2NyA0LjU2N2wtNC43MzQgNC43MzMtMS40LTEuNGExIDEgMCAwIDAtMS40MTQgMS40MTRsMi4xIDIuMWExIDEgMCAwIDAgMS40MTQgMGw1LjQ0LTUuNDRhMSAxIDAgMCAwLTEuNDE0LTEuNDE0eiIvPjwvc3ZnPg==" alt="Signed with SignPath"></a> </p>

New: Community Leaderboard — Browse real-world performance data from actual users. Press b to see measured tok/s, TTFT, and VRAM for any GPU — not just yours. Pick from 27+ hardware presets (RTX 5090 to Apple M1) with H to compare real numbers before you buy or build.

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).

New: Community Leaderboard (b) — See real-world tok/s, TTFT, and VRAM usage from other users running the same hardware as you. Powered by localmaxxing.com, this bridges the gap between estimated and actual performance.

Also: Download Manager (D), Advanced Configuration (A), and Hardware Simulation — Press D to manage downloads, view history, delete models, and configure the download directory. Press A to tune TPS efficiency, run mode factors, and scoring weights. Press S to simulate different hardware.

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

---

Plan required hardware for a specific model configuration

llmfit plan "Qwen/Qwen3-4B-MLX-4bit" --context 8192 llmfit plan "Qwen/Qwen3-4B-MLX-4bit" --context 8192 --quant mlx-4bit llmfit plan "Qwen/Qwen3-4B-MLX-4bit" --context 8192 --target-tps 25 --json

Publish for real (requires a crates.io API token)

cargo login cargo publish


Before publishing, make sure:

- The version in `Cargo.toml` is correct (bump with each release).
- A `LICENSE` file exists in the repo root. Create one if missing:
sh

Dependencies

CratePurpose
clapCLI argument parsing with derive macros
sysinfoCross-platform RAM and CPU detection
serde / serde_jsonJSON deserialization for model database
tabledCLI table formatting
coloredCLI colored output
ureqHTTP client for runtime/provider API integration
ratatuiTerminal UI framework
crosstermTerminal input/output backend for ratatui

---

Requirements

  • Ollama must be installed and running (ollama serve or the Ollama desktop app)
  • llmfit connects to http://localhost:11434 (Ollama's default API port)
  • No configuration needed — if Ollama is running, llmfit detects it automatically

Install

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'

Docker Model Runner integration

llmfit integrates with Docker Model Runner, Docker Desktop's built-in model serving feature.

Requirements:

  • Docker Desktop with Model Runner enabled
  • Default endpoint: http://localhost:12434

How it works:

  • llmfit queries GET /engines to list models available in Docker Model Runner
  • models are matched to the HF database using Ollama-style tag mapping (Docker Model Runner uses ai/<tag> naming)
  • pressing d in the TUI pulls via docker model pull

Remote Docker Model Runner instances

To connect to Docker Model Runner on a different host or port, set the DOCKER_MODEL_RUNNER_HOST environment variable:

DOCKER_MODEL_RUNNER_HOST="http://192.168.1.100:12434" llmfit

Install the skill

```sh

Usage

Recommendations filtered by use case

llmfit recommend --json --use-case coding --limit 3

Advanced Configuration (`A`)

Press A to open the Advanced Configuration popup. This panel lets you tune the parameters behind TPS estimation, run mode penalties, and composite scoring — addressing issue #449 where tok/s was overestimated for certain models (e.g., Qwen3 30B).

All changes are applied immediately and the model table is recalculated. Close with Esc to accept or Ctrl-R to reset to defaults.

FieldDescriptionDefault
**Efficiency**Global efficiency factor for bandwidth-based TPS. Accounts for overhead0.55
**GPU factor**Speed multiplier for pure GPU inference1.0
**CPU Offload**Speed multiplier when weights spill to system RAM0.5
**MoE Offload**Speed multiplier for Mixture-of-Experts expert switching0.8
**Tensor Par**Speed multiplier for tensor-parallel inference0.9
**CPU Only**Speed multiplier for CPU-only execution0.3
**Context cap**Max context length used for memory estimation (leave blank for default)auto
KeyAction
Tab / j / kSwitch between fields
Type digits / .Edit the selected field
Left / RightMove cursor within the field
Backspace / DeleteRemove characters
Ctrl-UClear the current field
EnterApply changes and recalculate all scores
Esc / qClose without applying

Or via CLI flag

llmfit --api-key "bhk_your_key_here" ```

VariableDescription
LOCALMAXXING_API_KEYBearer token for localmaxxing.com API

Override endpoint URL

llmfit bench --provider ollama --url http://my-server:11434 llama3.2

Override vLLM endpoint

llmfit bench --provider vllm --url http://localhost:8000

CLI mode

Use --cli or any subcommand to get classic table output:

```sh

Run as a node-level REST API (for cluster schedulers / aggregators)

llmfit serve --host 0.0.0.0 --port 8787 ```

REST API (`llmfit serve`)

llmfit serve starts an HTTP API that exposes the same fit/scoring data used by TUI/CLI, including filtering and top-model selection for a node.

```sh

Key scheduling endpoint: top runnable models for this node

curl "http://localhost:8787/api/v1/models/top?limit=5&min_fit=good&use_case=coding"

spawn server automatically and run endpoint/schema/filter assertions

python3 scripts/test_api.py --spawn

Works with all TUI and CLI commands

OLLAMA_HOST="http://192.168.1.100:11434" llmfit --cli OLLAMA_HOST="http://192.168.1.100:11434" llmfit fit --perfect -n 5 ```

This is useful for: - Running llmfit on one machine while Ollama serves from another (e.g., GPU server + laptop client) - Connecting to Ollama running in Docker containers with custom ports - Using Ollama behind reverse proxies or load balancers

API authentication

If your LM Studio instance has Require API Key enabled (required for MCP server access), set the LMSTUDIO_API_KEY environment variable to provide a Bearer token with all requests:

export LMSTUDIO_API_KEY="your-api-key-here"
llmfit

Runtime provider integration

llmfit supports multiple local runtime providers:

  • Ollama (daemon/API based pulls)
  • llama.cpp (direct GGUF downloads from Hugging Face + local cache detection)
  • MLX (Apple Silicon / mlx-community model cache + optional server) — MLX downloads map to mlx-community/* repos on HuggingFace, not the original model publisher
  • Docker Model Runner (Docker Desktop's built-in model serving)
  • LM Studio (local model server with REST API for model management + downloads)

When more than one compatible provider is available for a model, pressing d in the TUI opens a provider picker modal.

Ollama integration

llmfit integrates with Ollama to detect which models you already have installed and to download new ones directly from the TUI.

llama.cpp integration

llmfit integrates with llama.cpp as a runtime/download provider in both TUI and CLI.

Requirements:

  • llama-cli or llama-server available in PATH (for runtime detection)
  • network access to Hugging Face for GGUF downloads

How it works:

  • llmfit maps HF models to known GGUF repos (with heuristic fallbacks)
  • downloads GGUF files into the local llama.cpp model cache
  • marks models installed when matching GGUF files are present locally

Environment variables

VariableDefaultDescription
LLAMA_CPP_PATH*(none)*Directory containing llama.cpp binaries (llama-cli, llama-server). Checked before PATH lookup.
LLAMA_SERVER_PORT8080Port used when probing a running llama-server health endpoint for runtime detection.

If llama.cpp is installed in a non-standard location, set LLAMA_CPP_PATH so llmfit can find it without requiring it in your PATH.

LM Studio integration

llmfit integrates with LM Studio as a local model server with built-in model download capabilities.

Requirements:

  • LM Studio must be running with its local server enabled
  • Default endpoint: http://127.0.0.1:1234

How it works:

  • llmfit queries GET /v1/models to list models available in LM Studio
  • pressing d in the TUI triggers a download via POST /api/v1/models/download
  • download progress is tracked by polling GET /api/v1/models/download-status
  • LM Studio accepts HuggingFace model names directly, so no name mapping is needed

OpenClaw integration

llmfit ships as an OpenClaw skill that lets the agent recommend hardware-appropriate local models and auto-configure Ollama/vLLM/LM Studio providers.

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.

---

🇨🇳 中文文档镜像 AI 翻译 2026-05-23
英文原文章节由系统翻译为中文摘要,便于快速理解。完整原文见上方 "📑 README 深度解析"。
📌 简介

项目 llmfit 是一个用于推荐和部署大型语言模型的工具。它提供了一个易于使用的界面来发现、部署和管理大型语言模型。

📋 环境依赖

项目 llmfit 需要特定的硬件配置来支持某些模型配置。用户需要根据模型配置来规划硬件资源。

🛠 安装步骤(Docker/pip/源码)

安装 llmfit 可以通过以下方式进行: 1. 使用 Docker:`docker run ghcr.io/alexsjones/llmfit` 2. 使用 pip:`pip install llmfit` 3. 从源码编译:`cargo build`

🚀 使用教程

使用 llmfit 可以通过以下命令进行: 1. `llmfit recommend`:推荐模型 2. `llmfit plan`:规划硬件资源 3. `llmfit bench`:性能测试

⚙️ 配置说明(含 MCP / env)

llmfit 支持通过环境变量和 CLI flags 来配置参数。 环境变量:`LOCALMAXXING_API_KEY`、`LOCALMAXXING_API_URL` CLI flags:`--api-key`、`--url`

🔌 API 说明

llmfit 提供了一个 API 来访问模型和硬件资源。 用户可以通过 `llmfit --api-key` 来获取 API token。

🔄 工作流/模块

llmfit 支持多种本地运行时提供者,包括 Ollama、llama.cpp 和 MLX。 用户可以通过 `llmfit --provider` 来选择提供者。 Ollama 集成:llmfit 与 Ollama 集成来检测用户已经安装的模型和下载新模型。 llama.cpp 集成:llmfit 与 llama.cpp 集成来提供运行时和下载服务。 MLX 集成:llmfit 与 MLX 集成来提供 Apple Silicon 模型缓存和服务器支持。

🎯 aiskill88 AI 点评 A 级 2026-05-22

高质量开源项目,解决本地模型部署的核心痛点,Rust高性能实现,活跃维护,社区热度高。

📚 实用指南(长尾问题)
适合谁
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型
部署方案
  • Docker:llmfit 提供官方镜像,docker compose up 一键启动
  • CLI:直接 npm install -g / pip install,命令行调用
  • 本地部署:CPU 8GB 起,GPU 推荐 16GB+ 显存
  • 云端托管:可放在 Vercel / Railway / Fly.io 等 PaaS 平台
相关搜索
llmfit 中文教程llmfit 安装报错怎么办llmfit Docker 部署llmfit Agent 工作流llmfit 与同类工具对比llmfit 最佳实践llmfit 适合谁用

⚡ 核心功能

👥 适合谁
  • 构建多智能体协作系统的 Agent 开发者
  • 构建企业知识库 / RAG 检索应用的团队
⭐ 最佳实践
  • 生产部署优先使用 Docker Compose 隔离依赖,并挂载 volume 持久化数据
  • 本地部署优先选 GGUF 量化模型,节省显存并保持响应速度
  • Agent 任务先做 dry-run 验证工具调用链,再开启自主执行
⚠️ 常见错误
  • API key 直接提交到 git 仓库(请用 .env 并加入 .gitignore)
  • 容器内无法访问宿主机 localhost — 使用 host.docker.internal
  • 显存不足直接 OOM — 优先降低 context 或换更小的量化模型

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +GitHub 26.4k Star,社区高度认可
  • +MIT 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。

🔗 相关工具推荐

📚 相关教程推荐
📰 相关 AI 新闻
🍿 AI 圈相关吃瓜
🗺️ 相关解决方案
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

工具会自动扫描硬件配置,推荐兼容的模型列表,可按参数量和速度选择。
💡 AI Skill Hub 点评

AI Skill Hub 点评:llmfit AI技能包 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

📚 深入学习 llmfit AI技能包
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 llmfit
原始描述 开源AI工具:Hundreds of models & providers. One command to find what runs on your hardware.。⭐26.4k · Rust
Topics 本地推理模型管理硬件适配多框架支持GGUF格式
GitHub https://github.com/AlexsJones/llmfit
License MIT
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/AlexsJones/llmfit

收录时间:2026-05-18 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。

📺 订阅 AI Skill Hub Daily Telegram 频道
每天 8 条精选 AI Skill、MCP、Agent 与自动化工具推送
加入频道 →