Features / 7 of 14

Intermediate

Names, aliases and listings

Control what clients see in /v1/models.

Clients find models with GET /v1/models. These settings change what they see and which names a model answers to:

models:
  qwen:
    cmd: llama-server --port ${PORT} -m /models/qwen3-8b.gguf
    name: "Qwen3 8B"                # display name in listings and the UI
    description: "Fast general chat model"
    aliases:
      - gpt-4o-mini                 # requests for this name go to qwen
    useModelName: "qwen3-8b"        # model name sent to the upstream server

  draft-model:
    cmd: llama-server --port ${PORT} -m /models/qwen3-0.6b.gguf
    unlisted: true                  # works, but is not listed

Aliases help with clients that only offer a fixed list of model names. Set includeAliasesInList: true at the top level to list aliases too.

Ask the llama

“How do I make a model answer to another name, like gpt-4o-mini?”

Ask the llama