Features / 4 of 14

Basics

The web UI

Test models, watch requests and read logs at /ui.

The web UI is at /ui. Nothing to install or configure. The sidebar has these pages:

  • Activity: recent requests and their token metrics.
  • Playground: chat and other tests against any model.
  • Models: model state, with load and unload buttons.
  • Logs: live logs from llama-swap and each model.
  • Performance and Hardware: speed over time, and GPU and memory use.
  • Help: a chat that answers questions about llama-swap and your config.

The UI can tag Activity rows with a session ID read from request headers:

ui:
  activity:
    session_id: ["X-Session-ID"]
The Playground page, with a chat sent to the qwen3-8b model and its reply, showing prompt and generation speeds.
Playground. Try any model in the browser. Tabs cover chat, images, speech, transcription, realtime, rerank and a load test. The model in these screenshots is a test server that replies with placeholder text.
The Activity page, with histograms of prompt and generation speed above a table of recent requests with token counts and speeds.
Activity. Every request with its prompt and generated tokens, cache hits, prefill and decode speed.
The capture of one chat request, showing its headers and JSON body.
Request inspector. Select View on an Activity row to see the exact request and response, headers included.
The Models page, listing five models with their aliases, two of them ready and three stopped.
Models. Every configured model, its aliases and its state. Load or unload one by hand.
The Logs page, with llama-swap's log beside the model servers' log showing models loading and shutting down.
Logs. Live output from llama-swap and from each model's server.

Ask the llama

“What can I do in llama-swap's web UI?”

Ask the llama