Skip to content

Chat Lab

Chat Lab is a chat box inside Nexus. Use it to check that a model, preset or Smart Route works before you connect an app to it.

It’s a test bench, not a chat app. Each message goes through the same gateway, with the same API key rules, as a request from your apps. If it works here, it works for them.

  1. Open Chat Lab under Try.
  2. Choose a client API key. The chat uses that key’s access, so pick the key your app will use. No key yet? Create one in API keys.
  3. Choose a model. The list has models, aliases, presets (@preset/…) and routes (@route/…) that this key can use.
  4. Type a message and press Enter. Or click a starter: Start a conversation, Try a follow-up or Make a tool call.

Chat Lab: a request to the local model gemma-4-26B and its reply, with the API key and model pickers under the message box

Nothing to pick? Add a model in Models first. Hidden models don’t appear.

You can also open Chat Lab from other pages, with the target already picked:

  • Try in Chat Lab on a model or preset.
  • Try in chat on a Smart Route.
  • The Chat Lab icon at the top of a page opens it in a side panel.

Start with one target and one simple question. Then widen:

  1. A short hello on the model itself, to check it answers.
  2. A longer question like your real work.
  3. The preset, to check its settings take effect.
  4. The Smart Route, with a question that should go to the fallback.

If a reply looks wrong, fix the preset or route, not the question. Chat Lab never saves changes to them.

Target Good for Example
Model Checking it’s reachable and answers A model you just downloaded
Preset Checking saved settings A preset with a low temperature
Smart Route Checking where requests go A question that should go to the coding choice
  • The reply streams in, with the model’s thinking and tool calls where it reports them.
  • Reply performance shows tokens, output speed and timing.
  • Copy reply copies the text. Retry reply writes it again.
  • Stop reply ends a slow reply. New chat starts over.

The chat stays while this browser tab is open, even if you reload. Closing the tab clears it. Chat Lab only stores which key you picked, never the key itself.

Click Chat settings to change how the model replies in this chat:

  • Temperature: higher values give more varied answers.
  • Top P: how widely the model chooses words.
  • Presence penalty: higher values discourage repeated ideas.
  • Reply limit: the most tokens a reply can use, thinking included.
  • Stop repeated loops: on by default. Turn it off when you want repeated text.
  • Instructions: a system prompt, such as “Answer in one sentence”. Saved separately for each model.
  • Current time tool: lets the model look up the time in any time zone. A quick way to check tool calls work.

These settings change only this chat. A preset’s saved settings stay the same.

You see Do this
Chat can’t reach this machine Click Turn on access, or open Fleet and check the machine is online.
No key to choose Create one in API keys.
A model is missing from the list The key may not allow it, or the model is hidden. Check the key in API keys and the model in Models.
Data Protection blocked this message The message held private details, and the route blocks them. It was not sent. Your text is back in the message box: remove the details and send it again. See Data Protection.
An error instead of a reply Read the error code. See Troubleshooting and Gateway.

Usage counts Chat Lab requests like any other: tokens, speed and cost, never the text. Revoking the key, hiding a model, or changing tool rules applies to Chat Lab at once.