Skip to main content

llama-launcher

Windows tray app that runs local GGUF models through llama-server, one at a time, with per-model launch profiles and your own llama.cpp builds.

Requirements

  • Windows 10 or later, Python 3.13 (to run from source).
  • A llama.cpp llama-server build (a release zip or your own); the app does not ship one.
  • GGUF models.

Run

py -3.13 -m venv .venv
.venv\Scripts\python.exe -m pip install -e .[dev]
.venv\Scripts\pythonw.exe -m llama_launcher

# packaged build: dist\llama-launcher\llama-launcher.exe
.venv\Scripts\python.exe -m pip install -e .[build]
.venv\Scripts\python.exe tools\build.py

Settings, profiles and logs live in %LOCALAPPDATA%\llama-launcher\ (override with LLAMA_LAUNCHER_HOME).

Screenshots

Tray menu with a running model and its profiles Settings: editing a profile, with the resulting command line

Concepts

  • Runtime: a folder with llama-server.exe and its DLLs (a release zip or your own build). One is the default; a profile can pick another.
  • Model folders: scanned recursively. GGUF headers decide what each file is: models, mmproj files (paired when clip.vision.projection_dim equals the model's embedding_length) and draft heads (<arch>-assistant). A sidecar is attached automatically only when exactly one fits in the model's own folder.
  • Profile: one way to launch a model. A model can have several. Every scanned model has an implicit default_profile until you save one.
  • Flags are layered, later wins per flag (aliases like -c/--ctx-size and --x/--no-x count as one flag): model fields, global K/V and idle, global args, profile unset, profile fields, profile args, then the context picked in the tray. --host, --port, --api-key and --model are managed by the app. Flags the selected build doesn't know are rejected before launch.
  • Idle: sleep passes --sleep-idle-seconds (VRAM freed, next request reloads), stop ends the process once llama-server reports it is asleep, off keeps the model loaded.

Files

settings.toml and profiles.toml are meant to be hand-editable; the app reloads them on change and keeps the last good version if an edit doesn't parse. Logs: logs\server.log (current or last server run, with the full command line) and server.prev.log, app.log and app.prev.log.

Importing existing launch commands

Profiles can be created from llama-server command lines you already use (.bat files, scripts):

.venv\Scripts\python.exe -m llama_launcher.cmdimport commands.json            # dry run: shows what would change
.venv\Scripts\python.exe -m llama_launcher.cmdimport commands.json --write    # apply

commands.json is a list of {"name": "...", "command": [...]}, where command is the full llama-server command line (exe first), as a list or one string; - reads it from stdin.

  • The exe's folder becomes a runtime; -m, --mmproj, -md, --alias, -c, -ctk, -ctv become model/profile fields; everything else goes to the profile's args.
  • When global args are empty, flags every command shares become the global args.
  • Runtimes and model folders are matched by path. A profile that exists with other settings is reported as a conflict and skipped unless --replace is given; re-running adds nothing.
  • Each result says whether the profile rebuilds exactly the flags of the original command.

Tests

.venv\Scripts\python.exe -m pytest              # unit, integration (fake server), UI

pytest -m real loads real models; set LLAMA_LAUNCHER_TEST_MODELS (a model folder) and LLAMA_LAUNCHER_TEST_RUNTIMES (llama-server folders, ;-separated) first, in the environment or in a git-ignored .env (copy .env.example). Test IDs are listed in docs/test-cases.md.

License

MIT, see LICENSE.

Metadata

Release files for llama-launcher 0.1.0

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

Source distribution (sdist)

Source distribution for llama-launcher 0.1.0
File Size Uploaded Provenance Actions
llama_launcher-0.1.0.tar.gz 54.7 kB With provenance Details for llama_launcher-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-launcher 0.1.0
File Interpreter ABI Platform Actions
llama_launcher-0.1.0-py3-none-any.whl Python 3 none any Details for llama_launcher-0.1.0-py3-none-any.whl

Total release size: 120.2 kB

Release files / llama_launcher-0.1.0.tar.gz

Download URL llama_launcher-0.1.0.tar.gz
Size 54.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5219aa7886a429c022e03f12ef210df36c34aac54dd1ea74b7099a0e2057bd2b
BLAKE2b-256 checksum
How to use checksums
0c6c80b040e5eba34290dcc103a3cf640a227b016b2220c5a8cde281bda3fcbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 22, 2026.

Transparency log

Release files / llama_launcher-0.1.0-py3-none-any.whl

Download URL llama_launcher-0.1.0-py3-none-any.whl
Size 65.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73de60a41791a56f3c31442f6ce5a3246480962004773e220d10839262542a7f
BLAKE2b-256 checksum
How to use checksums
0ea8322eccbe142c889b5ff7bec9fbd1dd3eec62af649f2d3f211aabafafb002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 22, 2026.

Transparency log

Security for llama-launcher 0.1.0

Provenance

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.

Full provenance

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

Select from 2 files

Attestation for llama_launcher-0.1.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 22, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page