Playground
The playground showing a multi-panel comparison with response cards and status bars.
The Playground view lets you send prompts to one or more models simultaneously and compare responses side-by-side without writing any code.
The Playground entry is shown in the left sidebar for every role. The Playground is off for every new workspace; a platform admin enables it per workspace (see Feature availability). If the Playground is disabled, the entry carries a Premium badge, clicking it opens an upgrade pop-up, and a direct link to /playground opens the upgrade page /upgrade/playground (breadcrumb Workspace › Playground, heading Playground, then Playground is a premium feature); the Playground entry stays highlighted there. Once the Playground is enabled, /upgrade/playground forwards to /playground. The page itself carries the breadcrumb Workspace › Playground.
Multi-panel comparison
The playground supports up to four model panels side by side. All panels receive the same prompt at the same time when you click the ▶ Run button.
Proceed as follows to add a model panel:
- Click on the Add Model button.
- A new panel opens (up to four panels total).
- Choose a model in the new panel's model picker.
-> The new panel is ready to receive prompts.
Each panel has its own combined model picker, where provider and model are chosen together in a single control. Response cards display in a horizontal scroll layout on wide screens and stack on mobile.
The multi-panel layout supports comparing the following configurations:
- Two models from the same provider (for example a large model against a faster, cheaper one)
- The same model served through two different gateways
- Cloud vs local inference (cloud vs local models)
Tenant and gateway
Above the panels, a Tenant picker and a Gateway picker select the context the prompts run in. The chosen tenant and gateway determine which models the panel pickers offer: the runnable set is the union of the providers configured across that tenant's gateways (the same resolution the /easy chat uses). A gateway with no configured providers offers no runnable models. Both selections persist across page reloads (see State persistence).
Switching the tenant or the gateway cancels a prompt that is still running: nothing more is sent to the gateway you left, and the panels return to their empty state. While the new tenant's gateways are loading, the Gateway picker is empty and no model count is shown.
Request configuration
The following settings are shared across all panels in a session:
| Control | Range / type | Description |
|---|---|---|
| System prompt | Free text (open it with the System prompt button) | Prepended as a system message to every request |
| Temperature | 0–2 in steps of 0.05 (slider, open it with the Parameters button; starts at 0.3) | Controls response randomness |
| Web search | Toggle (the Web Search button; it reads Web Search ON when on) | Enables web search grounding (greyed out when the selected gateway has no web search set up) |
💡 Note: Settings apply to every panel simultaneously. To set different temperatures for different panels, use separate sessions.
Real-time streaming
Responses stream token-by-token using server-sent events (SSE). Each panel renders markdown in real time as tokens arrive. A small sanitized HTML subset (<br>, alignment, a few inline tags) is rendered; see HTML in rendered Markdown. Table columns keep short headings on one line.
Status bar
Each panel has a status bar beneath the response that shows the following fields. While a response streams, the time counts up live; the other fields appear when the response completes:
| Field | Description |
|---|---|
| Latency | Wall-clock time from send to last token (ms) |
| Input tokens | Prompt token count |
| Output tokens | Completion token count |
| Cache write tokens | Anthropic prompt cache creation tokens (shown only when greater than 0) |
| Cache read tokens | Anthropic prompt cache read tokens (shown only when greater than 0) |
| Estimated cost | Estimated cost in your display currency, based on the prices table |
Error badges
If a provider returns an error, the panel shows a badge instead of a response:
| Badge | HTTP status | Meaning |
|---|---|---|
AUTH ERROR |
401 / 403 | Missing or invalid API key / auth token, or request blocked by authorisation |
NOT FOUND |
404 | Model not found or endpoint path incorrect |
RATE LIMITED |
429 | A 429 with the gateway code rate_limited, or a 429 without a gateway error code: the gateway's or the provider's rate limit |
SERVER ERROR <status> |
5xx | Upstream provider or gateway internal error; the badge shows the status code, with the hint "Try again in a moment" |
HTTP <status> |
Any other status, including a 429 that carries a specific code (quota_exceeded, user_budget_exceeded, team_budget_exceeded, wallet_funds_reserved, upstream_rate_limited) |
No dedicated badge. For a coded 429 the panel shows that code's own sentence and no "Try again" hint |
REQUEST FAILED |
none | The request failed before any status came back |
The RATE LIMITED badge also shows the hint "Try again in a moment" (as does SERVER ERROR). The AUTH ERROR badge shows "Check your gateway token".
State persistence
The playground saves its configuration in the browser automatically. The following fields persist across page reloads:
| Field | Description |
|---|---|
| Tenant selection | Last-used tenant |
| Gateway selection | Last-used gateway |
| Model selections | Model chosen in each panel |
| System prompt | System prompt text |
| Temperature | Temperature slider value |
| Web search | Whether the web-search toggle is enabled |
💡 Note: Conversation history is not persisted — each page load starts with an empty conversation.
When a saved value no longer applies:
- If the remembered tenant is no longer accessible to you (deleted, your membership was removed, or another account used the same browser), the playground opens on your first accessible tenant. It never requests that tenant's gateways, so no error is raised for it.
- A saved value that is malformed or out of range (for example a temperature outside 0-2) is ignored and the default is used instead.
- If your tenant list cannot be loaded, the tenant and gateway pickers stay empty and no gateways are listed. Reload the page to try again.
Web search
Web search is available when the selected gateway has web search set up. Switch on the single Web Search button in the shared configuration bar to have the models search the web before answering. The toggle applies to every panel at once.
If the selected gateway does not have web search set up, the toggle is greyed out and a note under the message box says why: web search is not switched on for the gateway, it is switched on but has no web-search API key yet, or there is no tenant at all (create a tenant and a gateway first). The models then get no web search tool, even if you switched web search on earlier. Your choice is kept: once you select a gateway that has web search set up, the toggle comes back in the state you left it. A gateway admin sets up web search in the gateway settings.
Perplexity Sonar models search the web on their own, regardless of this toggle or the gateway's web search setting. On a run that has processed outside content, that search is switched off or the call is held or refused; see Models that always search the web.
Claude models search the same way as every other model and as the chat: the gateway runs the search on the server and the cost is metered like any other request, so it also works on a gateway that uses the platform's web-search key.