LocalAI is an inference server that runs language, vision, voice, image, and video models through compatible APIs on local hardware. It is used to operate models privately across different hardware, including CPU-only systems, and supports applications, agents, and multi-user services. The catalogue contains instructions for using LocalAI.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mudler/LocalAI --skill modelsgit clone --depth 1 https://github.com/mudler/LocalAIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mudler/localai/models)<a href="https://agentmods.dev/skills/mudler/localai/models"><img src="https://agentmods.dev/badge/skills/mudler/localai/models/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mudler/localai/models"><img src="https://agentmods.dev/badge/skills/mudler/localai/models.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01396 |
| Opus 5.5 | $0.00018 | $0.00558 |
| Sonnet 5.5 | $0.00009 | $0.00279 |
| Haiku 4.5 | $0.00004 | $0.00140 |
Grade A, and why
models scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s $LOCALAI/v1/models -H "$AUTH" | jq -r '.data[].id' How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Find, install and configure LocalAI models
A model in LocalAI is a YAML configuration file in the models folder, plus the weights it names. The model gallery lists ready-made configurations. Installing a gallery entry downloads the weights and writes the YAML.
Full docs: https://localai.io/docs/models/ and https://localai.io/docs/models/setting-up-models/
These steps use the admin API. With API keys on, send an administrator key:
LOCALAI=http://localhost:8080
AUTH="Authorization: Bearer $LOCALAI_API_KEY"
1. See what is installed
curl -s $LOCALAI/v1/models -H "$AUTH" | jq -r '.data[].id'
If the model is in the list, you are done. Do not install it again.
2. Find a model in the gallery
GET /models/available returns every gallery entry. It is a long list: filter it with jq.
curl -s $LOCALAI/models/available -H "$AUTH" \
| jq -r '.[] | select(.name | test("qwen"; "i")) | "\(.gallery.name)@\(.name) \(.size // "")"'
Search by tag (for example llm, embeddings, tts, stt, image):
curl -s $LOCALAI/models/available -H "$AUTH" \
| jq -r '.[] | select((.tags // []) | index("embeddings")) | .name'
Pick one name. Prefer a small model when the user did not ask for a size. If several names match, show the user the short list and ask.
The web UI has the same list on the Models page. Browse the gallery file: https://github.com/mudler/LocalAI/blob/master/gallery/index.yaml
3. Install it
curl -s $LOCALAI/models/apply -H "$AUTH" \
-H "Content-Type: application/json" \
-d '{"id": "localai@gemma-4-e2b-it-qat-q4_0"}'
idis<gallery>@<name>. The gallery part is optional; without it, the first gallery that has the name wins.- Add
"name": "my-name"to install it under another name. - Some entries have several builds (
variants). LocalAI picks the best one that this machine can run. To force one, add"variant": "<variant name>". - Add
"overrides": {"context_size": 8192}to change fields of the YAML at install time.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 156 lines · 44 tokens per session scan A b1a638804c9a
models is a skill published in the GitHub repository mudler/LocalAI (50,617 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 1,396 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.
models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| modelsmudler/LocalAI | Skill | 51k | today | MIT | A | 44 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| sglang-diffusion-performancesgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 29 | Claude Code, Codex |
| sglang-diffusion-cache-ditsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 161 | Claude Code |
| sglang-diffusion-modelopt-quantsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| add-diffusion-modelsgl-project/sglang | Skill | 39k | today | Apache-2.0 | A | 30 | Claude Code, Codex |
| gemini-api-devoyi77/1ai-skills | Skill | 19 | today | MIT | A | 52 | Claude Code |