| title | Profiles |
|---|---|
| description | Saved model settings, and the knobs inside them. |
A profile is a small env file in ~/.config/vllm-helper/models/ holding the settings that serve one model, for the provider the profile names.
llm-helper up <profile> serves one, and llm-helper new and llm-helper search write one for every model they pull.
# Status: verified 2026-07-29
MODEL=Qwen/Qwen3-Coder-Next-FP8
MAX_MODEL_LEN=131072
GPU_MEMORY_UTILIZATION=0.85
KV_CACHE_MEMORY_BYTES=17179869184
EXTRA_ARGS="--enable-auto-tool-choice --tool-call-parser qwen3_coder"| Key | Meaning |
|---|---|
MODEL |
Required. The HuggingFace repo to serve. GGUF repos take a quant: org/repo-GGUF:Q8_0. |
MAX_MODEL_LEN |
Context length in tokens. Profiles written by llm-helper default to 131072. |
GPU_MEMORY_UTILIZATION |
Fraction of memory vLLM may use. Default 0.85 on Linux, 0.9 under vllm-metal on macOS, 0.3 on the macOS CPU backend. |
KV_CACHE_MEMORY_BYTES |
Size of the KV cache in bytes, computed when the profile is written. |
EXTRA_ARGS |
Extra flags passed to the profile's server verbatim. |
PROVIDER |
The server that runs this profile, vllm when absent. See Providers. |
THINKING |
on or off for a thinking model, written by new. Shown by list and status. |
Any other KEY=VALUE in the file is exported into the server's environment as-is.
EXTRA_ARGS is parsed like a shell line, so keep it quoted when it carries more than one flag.
A flag value with spaces in it — a JSON payload, for example — can be quoted inside.
THINKING records what new set; the server is switched by the --default-chat-template-kwargs flag in EXTRA_ARGS.
To turn thinking off in an existing profile, add --default-chat-template-kwargs '{"enable_thinking":false}' to its EXTRA_ARGS (with the model's own kwarg, which model-types show <model_type> prints) and set THINKING=off.
Profiles written before this key existed have no THINKING line, and list shows nothing for them until they are re-created.
KV_CACHE_MEMORY_BYTES is sized when the profile is written, from the model's own attention shape and KV_CONTEXT_TARGET in config.env — four full contexts by default.
With it set, GPU_MEMORY_UTILIZATION is a ceiling on what vLLM may touch rather than the size of the cache.
Profiles written before this key existed keep working. Re-create one to get a sized cache.
- Run
llm-helper edit <profile>to open it in$EDITOR— or$VISUAL, falling back tonanoand thenvi. - Save your changes.
The editor writes the profile file directly, so the result is checked after you save, not before: MODEL must be present, EXTRA_ARGS must parse, and MAX_MODEL_LEN must be a positive number of tokens.
A change that fails the check is reported with the reason, but it is already saved — run edit again to fix it, or the next restart will fail.
To change a setting without an editor:
llm-helper set <profile> MAX_MODEL_LEN=40960set validates everything before it writes anything, so a bad pair partway through the list leaves the profile untouched.
Prefix a value that starts with a dash with --:
llm-helper set <profile> -- EXTRA_ARGS=--enable-prefix-cachingA change to a running profile takes effect on llm-helper restart <profile>.
A change to any other profile applies the next time you run llm-helper up on it.
- Models and quantizations — how profiles get written in the first place.
- Memory budget — what decides whether a model fits.