Skip to content

Playground

Last updated: 2026-11-25T20:45:13-03:00 (UTC-3)

Try a model right in the console: chat, compare up to three models side by side with the same question, generate an image or audio, ask a decision model typed questions, and copy ready-made code to take to your app. The Playground calls the gateway’s own /v1 routes with a key you type in, so the same models, scopes, policies and limits apply as for any application; with evaluation tracing on it can also send with your console session, as you in one of your teams. Flag: playground.

Flag What it adds
playground Chat and Compare, in text
playground_streaming The option to receive the response as a stream
playground_images Attach one image (PNG, JPEG or WebP, up to 512 KiB) per session
playground_media The Images, Speech, Transcription and Embeddings tabs
guardrail_compliance The Compliance tab, to test guardrails
playground_decisions The Decisions tab, for aliases with a decision capability
playground_parameters Top-p, stop sequences, seed, reasoning effort and response format in Chat and Compare (request parameters)
playground_message_cost The cost of each answer, from the gateway’s valuation
playground_tools Tools in Chat: your own functions, MCP tools and code mode
playground_dialects Chat in the Responses and Messages dialects, next to Chat Completions
playground_prompts Load a registry prompt revision with its variables, and versioned Get code
playground_prompt_variants Prompt variants: revisions of one prompt side by side, an experiment from a variant, and a trace’s request reopened with its variables (requires playground_prompts)
playground_request_options Request options: add guardrails, usage tags and vector-store context to a request
playground_compare_turns Multi-turn Compare: follow-up questions to every model with its own history
playground_save_session Save a session as a prompt revision or an eval case
playground_realtime The Realtime tab: text and voice over the realtime WebSocket
playground_decision_media Decisions media: images in OpenAI Decisions, Gemini audio, video and PDF, several files, System One box questions
playground_cost_details Each provider send’s charge line next to the cost
playground_stream_content Tool calls and audio in the stream, spoken answers and the structured-output view

playground_decisions, playground_parameters, playground_message_cost, playground_tools, playground_stream_content, playground_dialects, playground_prompts, playground_prompt_variants, playground_request_options, playground_compare_turns, playground_save_session, playground_realtime, playground_decision_media and playground_cost_details are off by default, require playground and are operator controls. The menu requires the playground:use permission and the chat route turned on.

  1. Open Playground and, under Gateway access, choose how to send: My console session with one of your teams (offered with evaluation_tracing on, and the default then), or Typed key and paste a gateway key. Nothing is sent when you open the page, paste the key or change the model.
  2. Choose the alias (or type it, if you cannot see the global catalog).
  3. Write and click Send message.
Tab What it does
Chat Conversation with an optional System prompt and Temperature (empty = the provider’s default; 0 to 2)
Compare The same question to up to three aliases at once, with response, latency, tokens and request ID per column
Images, Speech, Transcription, Embeddings Call the corresponding routes, only with aliases that have the capability and with the route turned on
Decisions Typed yes/no, choice and score questions about one shared input, sent to the alias’s own decision route
Realtime A text or voice conversation over the gateway’s realtime WebSocket
Compliance Runs datasets against the guardrails, with the console session (requires guardrails:manage)

Get code shows the current request in curl, Python and TypeScript, with the OpenAI SDK pointed at the gateway (Decisions use plain HTTP: requests in Python, fetch in TypeScript), including every request parameter you set. The key you typed never goes into the code: the example reads GATEWAY_KEY from the environment.

Each response shows the request ID, trace ID, reported model, browser time and tokens. Use the request ID in Request logs to investigate.

With playground and evaluation_tracing on, Send with: My console session runs each request as you in the team you choose, through POST /api/v1/admin/playground/<v1|v1beta>/<route> with the session cookie and CSRF token, never a key. The team’s models, policy, limits and budgets apply, the request is billed to that team and its organization, and it is logged, counted, timed and costed like any other request, with origin playground (how it works). Members choose one of their teams, an organization admin any team of its organization, the global administrator any team; viewers and team viewers use a typed key. Chat, Compare, the dialects, the media tabs and Decisions work with the session; Realtime, prompts, MCP tools and code mode, and vector-store context still need a typed key, and say so. Typed key keeps the behaviour above: its requests are the application’s (origin app).

A traffic capture or an item under review in evals opens in the Playground with the system prompt, the history and the last question, ready to resend.

With playground_streaming, check Stream text response before sending. The text shows as Receiving, not yet saved while it arrives and only enters the history when the stream ends with finish_reason: stop and [DONE]. A response cut off by length or content_filter shows as Incomplete, not saved. A failure does not fall back to non-stream mode.

The provider must accept stream_options.include_usage. Without playground_stream_content, the stream carries text only: a tool call or audio in it ends the turn as unsupported, and tools cannot be offered while streaming. With it, the stream may also carry:

  • Tool calls: delta.tool_calls fragments are joined by index (the first fragment of each call names its id and function; at most 8 calls) and the turn ends with finish_reason: tool_calls; the calls then wait for their results as in Tools.
  • Audio: delta.audio chunks (base64 PCM16 at 24 kHz, up to 8 MiB) and their transcript, when a spoken answer was asked for.

Every stream also reads the gateway’s in-band cost (gateway_cost_usd) when the gateway writes it (cost per message).

With playground_realtime, the Realtime tab appears when realtime and realtime_client_secrets are on and an enabled alias declares the realtime capability; only those aliases are listed.

  1. Choose the Realtime alias, optional Instructions, and the Answer: text, or spoken with a voice.
  2. Connect mints a token with your key, POST /v1/realtime/client_secrets with {"expires_after": {"anchor": "created_at", "seconds": 600}, "session": {"type": "realtime", "model": "<alias>"}}, and opens wss://<gateway>/v1/realtime?model=<alias> with the subprotocols realtime and openai-insecure-api-key.<token>. The key itself never reaches the WebSocket; the token works only for that alias, for 10 minutes, and the tab closes the session when it expires. See realtime.
  3. The first event is a session.update: text (output_modalities: ["text"]) or audio (["audio"], with the voice), PCM16 at 24 kHz both ways, no server turn detection, and max_output_tokens: 256 per response.
  4. Talk:
    • Send a text turn: conversation.item.create with an input_text part, then response.create.
    • Record asks for the microphone, sends its audio as input_audio_buffer.append (PCM16 at 24 kHz, in the page) and Stop and send commits it with input_audio_buffer.commit and response.create. A recording stops by itself after 30 seconds.
  5. The answer’s text, or its transcript with an audio player, appears as it arrives; response.done adds its status and reported input and output tokens.
  • Each response.create carries an event_id, so a response the gateway refuses (budget, TPM, rate limit) releases its reservation; the refusal shows its code (for example budget_exceeded) and the session goes on.
  • One response at a time, up to 20 per session, text and voice turns alike. An error event ends the waiting answer only when it names that answer’s response.create. Disconnect, Clear session, another key or leaving the tab close the socket and drop the audio.
  • Each response is admitted, budgeted and recorded by the gateway as a request (operation realtime). Provider charges apply.
  • Get code shows the token mint (curl), a Python client (websockets) and a TypeScript pair: the backend mints the token with the key; the browser opens the socket with the token.

With playground_parameters, the Chat controls gain a Request parameters group, shared with Compare. An empty field is not sent, so the provider’s default applies; only the fields you set go in the body and in Get code.

Field Sent as Accepted
Top-p top_p 0 to 1
Stop sequences stop Up to 4, one per line, up to 64 characters each
Seed seed A whole number
Reasoning effort reasoning_effort none, minimal, low, medium, high
Response format response_format {"type": "json_object"}, or {"type": "json_schema", "json_schema": {"name", "schema", "strict": true}} with a name of 1-64 letters, digits, _ or - and a schema that is a JSON object of up to 16 KiB

Maximum output tokens (max_completion_tokens) and Temperature stay where they were. An invalid value blocks the send with its reason; nothing is coerced. The gateway applies the alias’s request parameter policy and translation rules as for any client: a target that cannot honor a parameter refuses the request (422) before any provider call, or drops it if the alias says so.

With playground_tools, the Chat controls gain a Tools group. The model sees the tools you offer as Chat Completions function tools (tools, with tool_choice auto, required or none). The Playground never runs a tool by itself: when the model calls one, the call and its arguments appear under The model called a tool, and you give one result per call, then click Send tool results. The results go back as tool messages after the assistant turn that holds the tool_calls, and the model answers.

Tool kind How you add it How its result is made
Function Add function tool: a name (1-64 letters, digits, _ or -), an optional description (up to 1,024 characters) and the parameters as a JSON schema object (up to 16 KiB) You type it
MCP Load MCP servers, pick a server, Load tools and check the tools to offer. Needs mcp_registry and mcp_execution Typed, or Run call N with MCP, which calls POST /v1/mcp/servers/{id}/tools/call with the model’s arguments
Code mode Check Code mode. Needs mcp_code_mode and its requirements Typed, or Run call N in code mode, which sends the model’s program to POST /v1/mcp/code/execute
  • Up to 8 function tools and 16 tools in all, with unique names. An MCP tool is offered as mcp_<server>_<tool> (other characters become _, cut to 64 characters, with a suffix if two collide). The code-mode tool is named code_mode and takes one program string.
  • MCP servers and tools are listed with the inference key, from GET /v1/mcp/servers and GET /v1/mcp/servers/{id}/tools, so only what that key may use appears: the key needs mcp:read and mcp:execute, the server’s scopes and a tool grant (MCP execution). A key without them lists nothing, and a run it is not allowed is refused by the gateway. Nothing is listed until you click Load MCP servers.
  • A run sends exactly one call and is never retried. Its result (up to 32 KiB) fills the result field, where you can read or edit it before sending; a code-mode result is the run’s status with its result or error.
  • While a call waits for its result, the message box is closed: a conversation cannot continue past an unanswered call.
  • Tools are streamed only with playground_stream_content; without it, uncheck Stream text response to offer tools.
  • Get code shows the tools, the tool choice and the whole conversation so far, including the tool turns.

With playground_save_session, a Chat conversation (or a system prompt alone) shows Save session below it. It writes with the console session and CSRF token, never with the inference key, and the gateway checks the same rights again on every write.

Save as Shown when Request
New revision of a prompt prompt_registry and prompt_management are on and your role writes prompts (a global administrator with prompts:manage, or a team author with prompt_scoped_write) GET /api/v1/admin/prompts/{id}, then PUT /api/v1/admin/prompts/{id} with its version and expected_base_fingerprint and its definition with the session’s messages
New prompt Same PUT /api/v1/admin/prompts/{id} with version: 0, an ID, a name and an owner team (a global administrator types it; a team author picks one of their author teams); schema_profile: flat_strings_v1, no variables
Eval dataset item evals is on and your role has evals:manage PUT /api/v1/admin/evals/datasets/{id}/items/{item}
  • The saved messages are the system prompt, the text turns and the message still in the box. Tool calls, tool results, images and audio are left out (the panel says how many); a prompt keeps text only.
  • A prompt revision is saved as a draft: publish it from Prompts. Load prompts lists the prompts you may write (for a team author, those whose actions allow writing). Text that looks like a variable ({{name}}) is refused before saving, because the registry would read it as one. A prompt that changed meanwhile answers 409.
  • An eval item takes the conversation up to the last user message as its input ({"messages": [...]}) and the answer after it, if any, as expected_output ({"content": "..."}), with metadata {"source": "playground", "model": "<alias>"}. The item ID defaults to playground-<UTC timestamp>-<8 random hex> (1-64 letters, digits, _, . or -), so two saves never collide; a typed ID that already exists is replaced as a new version of that item. The dataset’s schemas validate the item.
  • A role without these rights sees no Save session; a refused write shows why and saves nothing.

Without playground_compare_turns, each Compare sends one question with no history. With it, each column keeps its own conversation: a completed answer becomes that column’s history, the message box empties, and the next message goes to every model with that model’s own earlier turns, so each one answers from what it said before.

  • Each column shows its conversation, with the cost of each answer when playground_message_cost is on; the count of turns per model is shown next to New comparison, which empties every column.
  • A column whose request fails, or whose answer stops early (length, content_filter) or asks for a tool, keeps its earlier turns and does not take this one; the error shows in that column and the other columns go on.
  • Changing a column’s alias starts that column’s conversation over. Clear session empties all of them.
  • The limits of a session apply per column: up to 20 messages, then New comparison.

With playground_request_options, the Chat controls gain a Request options group. Each choice applies to the next sends, in every API, and Get code shows it.

Option Shown when Sent as
Add guardrails request_guardrails is on and a guardrail lists one of your console teams (any, for a global administrator) in selectable_teams; only those that apply to the chosen alias X-Gateway-Add-Guardrails: id1,id2 (up to 8)
Tag name usage_tags is on: one select per allowed tag name (up to 8), with its allowed values X-Gateway-Tags: {"name": "value"}
Vector store context vector_stores is on: Load vector stores lists the stores the inference key may search A search before the message (below)
  • The console lists what your role and teams may choose, from playground_request_options in GET /api/v1/admin/config; the gateway still checks the inference key on every request. A guardrail the key’s team may not add is refused with 403 before any provider call (guardrails a request adds), and a tag outside the allowed list with 400.
  • An added guardrail runs on top of those that already apply; nothing can be removed per request.
  • Vector store context: before each message is sent, the Playground searches the chosen store with that message (POST /v1/vector_stores/{id}/search, query up to 2,000 characters, Passages from 1 to 20, default 3) with the inference key, and adds the passages found to the system prompt of that request, under Context retrieved from vector store <name>: (up to 6,000 characters, within the 8,000-character system prompt). A tool-result turn reuses the context of the message it follows. The passages used appear under Context in the request metadata. A key that may not search a store lists none; the search and its embedding are a separate request with its own cost.
  • Get code adds the headers (-H in curl; default_headers in Python, defaultHeaders in TypeScript) and, with a vector store, the search call before the request.

With playground_prompts, the Chat controls gain a Prompt group to start a conversation from the prompt registry. It appears only when prompt_registry and prompt_api_render are on and your console role reads prompts (prompts:read; outside global administrators, also prompt_scoped_read).

  1. Load prompts lists the first 50 prompts your role may read (disabled and deleted ones are left out), from GET /api/v1/admin/prompts.
  2. Pick a Prompt and a Revision. Every revision of its history is listed, newest first, with the published one marked; the published one is chosen by default. Revision N messages shows its template.
  3. Fill its variables: a text field per declared variable (a select for one with allowed values; required ones are marked), or a JSON object for a typed prompt.
  4. Render and load renders the revision with the inference key through POST /v1/prompts/{id}/render with {"revision": N, "variables": {...}}, the same call an application makes. The rendered system messages become the System prompt, earlier turns the history and the last user message the Message, ready to send.
  • Only the published revision renders through the API: the others are shown for reading, with a note. If another revision is published meanwhile, the render answers 409 and nothing is loaded.
  • The key decides what renders: it needs the prompts:render scope and must belong to the team that owns the prompt. A refused key loads nothing.
  • Get code then shows the versioned call: render revision N with those variables, then send its messages in the chosen API (curl with jq, Python, TypeScript). Pinning the revision makes a newer publication fail loudly instead of changing the prompt under the application.
  • Clear session forgets the loaded prompt.

With playground_prompt_variants (and playground_prompts, prompt_registry and a console role that reads prompts), the Playground gains a Prompt variants tab: one prompt, the same variables, and up to three of its revisions side by side, each on its own model.

  1. Load prompts lists the prompts your role may read. Pick one: the first column takes the published revision, the second the newest other one.
  2. Fill the variables every chosen revision declares (a JSON object for a typed prompt).
  3. In each column pick a Revision (published or not: drafts render too) and a Model alias. Add variant adds a third column. Revision N template shows the column’s template.
  4. Run variants renders each column’s revision with your console session through POST /api/v1/admin/prompts/{id}/versions/{revision}/render (no provider call, nothing stored), then sends it with the inference key, declaring X-Gateway-Prompt-Id and X-Gateway-Prompt-Revision. With prompt tracking on, each answer counts on its own revision’s traffic, as a declared request.
  5. Under an answer, Run experiment (with evals and evals:manage) opens Evaluations → Experiments with a new experiment of that prompt, revision, team and model, ready to pick a dataset.

On a request span that recorded a prompt revision, the trace’s prompt chip offers Open in Playground (with prompt_tracking and playground:use). It opens the Prompt variants tab at that revision with the variables the request sent, read back from its captured content against the revision’s template through GET /api/v1/admin/prompts/{id}/requests/{request_id}/variables.

  • Reading the variables is a read of the request’s content: it needs the sent view of the request’s team (content_sent:read, so a team administrator of that team or a global administrator), and it is written to the audit log (content_capture.read) before anything is decrypted.
  • When the content was not captured, was truncated or no longer follows the template (the client changed the text), the tab still opens at the revision and says why the variables are empty.
  • Only a request of your teams (or of your organization, for an organization administrator) that recorded this prompt reopens; anything else answers that no request of your teams recorded it.

With playground_dialects, the Chat controls gain an API choice: Chat Completions (/v1/chat/completions), Responses (/v1/responses, needs openai_responses) and Messages (/v1/messages, needs anthropic_messages). Only the APIs whose route flag is on are offered. The model list then shows the aliases that declare that API’s capability (responses or messages); the gateway’s translation serves any provider behind them. Changing the API starts a new conversation.

The conversation, tools, images, streaming and cost work the same in every API; only the request and answer shapes change:

Responses Messages
System prompt instructions system
Conversation input items: user input_text and input_image, assistant output_text, function_call and function_call_output messages: user text and base64 image, assistant text and tool_use; the results of one turn’s calls go back together as tool_result blocks in one user turn
Output limit max_output_tokens max_tokens
Parameters temperature, top_p, reasoning.effort, text.format (JSON object or JSON schema) temperature, top_p, stop_sequences
Tools tools of type function, tool_choice tools with input_schema; tool_choice auto, any (for required) or none
Stream Text from response.output_text.delta; the answer, calls and usage from response.completed or response.incomplete Text and tool input from content_block_delta; usage from message_start and message_delta; ends at message_stop
Also sent store: false anthropic-version: 2023-06-01
  • A parameter the chosen API does not have (seed or stop sequences in Responses; seed, reasoning effort or response format in Messages) blocks the send with its name; it is never dropped silently. Spoken answers are Chat Completions only.
  • A stream that ends with an error event, response.failed or no terminal event saves no turn.
  • With Responses and tools, the reasoning items a reasoning model returns with its calls are kept (up to 16, 256 KiB) and sent back before the calls with the results, since store: false leaves the provider no copy. Set Reasoning effort for a reasoning model: the request then adds include: ["reasoning.encrypted_content"], which those items need.
  • Get code shows the request for the chosen API in curl, Python and TypeScript: the OpenAI SDK (client.responses.create) for Responses and the Anthropic SDK (client.messages.create, with the gateway as base_url and the key as the auth token) for Messages.

With playground_stream_content:

  • Spoken answer chooses a voice (alloy, ash, ballad, coral, echo, sage, shimmer, verse) or Text only (the default). With a voice, the request adds modalities: ["text", "audio"] and audio: {"voice": "<voice>", "format": "pcm16"} when streamed, or "format": "wav" when not. The answer shows its transcript and an audio player; the audio stays in the page’s memory (a blob: URL) and is dropped with the conversation, and later turns send the transcript as text. The alias must serve a model that speaks; otherwise the provider or the gateway refuses the request.
  • A Response format of JSON object or JSON schema (with playground_parameters) shows the answer as Structured output: indented, escaped JSON with a check made in the browser. A JSON object must be an object; a JSON schema answer is checked for its type, required, properties, items and enum, up to 8 levels deep. The check is a reading aid that names the first difference (for example ok is string, not boolean); it is not a full JSON Schema validator, and the provider’s strict mode is what enforces the schema.

With playground_decisions, the Decisions tab lists only enabled aliases that declare a decision capability and whose route flag is on:

Capability Route called Image input in this tab
systemone (System One) POST /v1/systemone PNG or JPEG, sent as an {img1} asset with TypeSafe-Danger-Zone-Images: true; only TypeSafe targets accept it, others refuse it with 422 before any call
gemini_decisions (Gemini Decisions) POST /v1beta/decisions PNG, JPEG or WebP, sent as an image content block
decisions (OpenAI Decisions) POST /v1/decisions Text only (images with playground_decision_media)
  1. Choose the Decision alias and write the Shared input (up to 8,000 characters). Attach one image (up to 512 KiB) where the table allows it.
  2. Add up to 16 questions. Each has a Name (1-64 letters, digits, _ or -, unique), a Type and Instructions (up to 2,000 characters):
    • Yes / no: noul (System One, Gemini) or predicate (OpenAI).
    • Choice: 2 to 32 options, one per line, up to 128 characters each.
    • Score: 2 to 10 levels from lowest to highest, one per line.
  3. Click Decide.

The request is built in the alias’s native format and goes to its own route with your key: the tab does not translate between formats, and the gateway’s decision validation, translation, budgets and valuation apply as usual. Each answer shows the chosen value (yes or no from the probability of yes, the option chosen, or the score and its nearest level), the probability of every option and the confidence, as the provider reported them; a value the provider did not report shows as not reported, never as zero. The request ID, trace ID, reported tokens, browser time and cost of the call appear below the answers.

With playground_decision_media (requires playground_decisions), the tab accepts what the decision routes accept instead of one image:

Format Attachments Sent as
System One PNG or JPEG images {img1} to {imgN} assets, each placeholder added to the state on its own line, with TypeSafe-Danger-Zone-Images: true
Gemini Decisions PNG, JPEG or WebP images; audio (WAV, MP3, OGG, FLAC, AAC, WebM); video (MP4, WebM, QuickTime); PDF Content blocks after the text: image, audio, video or document (PDF), each with mime_type and base64 data
OpenAI Decisions PNG, JPEG, WebP or GIF images input as one user message: an input_text part and an input_image part per image (image_url as a data URL)
  • Up to 16 files per request, 4 MiB each and 5 MiB in all (the gateway’s default request body limit is 8 MiB, and base64 adds a third). Files stay in the page’s memory and are dropped with the session or when the alias changes.
  • Box questions are offered for System One aliases: {"type": "box", "instructions": "..."}, sent with TypeSafe-Danger-Zone-Images: true. Only TypeSafe targets accept them; others refuse with 422 before any call. The answer shows the returned edges (top, bottom, left, right, as fractions of the image) and, when the first attachment is an image, a frame drawn on it; a box the provider did not report, or one with inverted edges, shows as not reported.
  • An OpenAI Decisions alias that the gateway translates to System One takes text only and refuses images with 422 decision_translation_unsupported; Gemini media under a budget is refused with media_input_not_bounded (decisions).
  • Get code shows each file as a <base64 file> placeholder, never its bytes.
  • TypeSafe refuses small images with 400 (“Invalid image dimensions”): a 256×256 PNG is refused, a 1024×1024 one is accepted.

With playground_message_cost, each Chat answer, each Compare column and each Decisions call shows its cost. The amount is always the gateway’s own valuation of that request:

  1. The X-Gateway-Cost-USD header of the answer, which the gateway sends only when the cost is known and server.response_headers.cost is on.
  2. For a stream, the gateway_cost_usd member of its final usage event, which the gateway writes with server.response_headers.stream_cost (a stream’s trailer is invisible to the browser). It is read only when the answer carries X-Gateway-Stream-Cost: gateway_cost_usd; a provider’s own member of that name is never trusted.
  3. Otherwise, for a console role with analytics:read and logs:read, with usage_valuation and usage_analytics on, the request’s own record: GET /api/v1/admin/requests/{request_id} with the console session, whose valuation member gives the state, reason and amount (tried for a few seconds, because the record is written after the answer). A role with analytics:read but no logs:read falls back to the valuation listing (GET /api/v1/admin/valuation, filtered by operation, alias and a window around the call). These reads never authorize inference.
  4. Otherwise unknown, with the reason: valuation off, no header and no right to read the record, the state and reason code the gateway recorded (for example unknown (price_unavailable)), or no visible record yet.

The console never estimates a cost.

With playground_cost_details (and attempt_charge_lines on the gateway), a request that took more than one provider send also lists one line per send under its cost, read from the same record: the send number (the last marked final), provider and model, outcome and status, and its own amount or why it is unknown. A known amount from the header or the stream stays as it is; the record only adds the lines. Rates are never shown.

  • The key stays only in the page’s memory, in a password field. It does not go to localStorage, the URL, logs or the body sent to the model.
  • The calls do not use the console cookie: the administrative session never authorizes inference.
  • Clear session, leaving the page or switching users erases the key, history and responses, and cancels the call in progress.
  • The Playground sends store: false. Retention on the provider side depends on the connection’s contract.
  • Responses appear as escaped text: no HTML, executable Markdown or remote images. Errors show a generic message and the request ID.
  • Decision answers, probabilities and costs stay in the page’s memory and are erased with the session.

Evals captures and annotation reviews can open their authorized conversation in the Playground. This is a one-shot, memory-only transfer within the current tab, session and observed access generation. The system prompt, history and last question are prefilled; no inference is sent automatically. You still supply an authorized inference key.

Reloading, signing out, leaving the source while its capture is loading, or an observed identity/team/permission/feature change cancels the pending transfer. A new login or restored access cannot revive an old response. Legacy unbound browser-storage entries are removed without loading their content. Captured text is never written to browser storage, URLs or telemetry by this handoff.

Signing out immediately clears local handoff authority and hides the conversation while the server request finishes. If that request fails, the login page warns that this tab was cleared but the server session may remain active; a local reset is not proof of remote revocation. Backend authorization remains authoritative on every API request.

Limit Value
Messages per session 20
Characters per message 8,000
max_completion_tokens 16 to 512 (default 128)
Response size 1 MiB
Maximum time 120 s, with a cancel button
  • Canceling does not guarantee that the provider did not process the request, nor does it undo a charge.
  • No automatic retry, no tool run without your click, and no sharing of conversations; saving is only the explicit Save session.
  • The time shown is the browser’s and includes network and rendering.

T164.002 to T164.011 were validated on 2026-11-16 against a gateway binary built from the change, with PostgreSQL 16 in a local container and the console driven in Chrome (Playwright, 1440 px), using the gateway’s real providers. The keys were loaded into the gateway process only; the Playground used a synthetic gateway key.

Step Route and model Result
Function tool, then the typed result /v1/chat/completions, gpt-4o-mini The model called get_weather with {"city": "Lisbon"} (47 in, 15 out); the follow-up with the tool result answered from it (82 in, 14 out); costs US$ 0.00001605 and US$ 0.0000207 from the direct record lookup
Streamed JSON schema /v1/chat/completions, gpt-4o-mini Structured output · valid JSON {"ok": true} (40 in, 5 out); Cost US$ 0.000009 read from the stream’s gateway_cost_usd (in band), equal to the recorded valuation
Responses, streamed /v1/responses, gpt-4o-mini First run: valued unknown (non_text_or_stateful_profile) because the answer now echoes an image setting, "image": {"context_compression": "disabled"}, which the valuation read as an image. Fixed; re-run: 13 in, 7 out, US$ 0.00000615, known
Messages, streamed /v1/messages, claude-haiku-4-5 Answer streamed (13 in, 8 out); US$ 0.000053
Realtime /v1/realtime/client_secrets, then the WebSocket, gpt-realtime-mini Connected with the minted token only; one text turn answered, completed, 14 in, 10 out
Gemini Decisions with a PDF /v1beta/decisions, gemini-decision-1 paid: yes, 93.6%, from a PDF document block (676 input tokens); US$ 0.0000676
System One box with an image /v1/systemone, jev-latest (TypeSafe) A 256×256 PNG was refused (400, image dimensions); with 1024×1024 the box came back (top 0.33, bottom 0.67, left 0.34, right 0.66, confidence 94%) and was drawn on the image
  • OpenAI Decisions with an image was not run: no OpenAI model on the account serves /v1/decisions. It is covered by mocks.
  • MCP tools, code mode, prompts, request options, multi-turn Compare, save session and voice input are covered by mocked browser tests at 1440 and 390 px.
  • Real calls: 14 provider sends (one to a retired model, refused with 404; two image refusals with 400; one direct capture of a Responses stream and its re-run through the gateway after the fix), plus two free model listings. Total under US$ 0.001.

m7gtwcontact@m7gtw.com