Playground
Playground is OneGateway's online AI chat workspace. After signing in, open Playground from the console to pick a model and start asking questions, with no other client to set up first.
Conversations use your own API Key, so calls are bound by that key's model scope and quota, as well as your account quota. The conversation list shows only your own chats, and other users cannot access your content through your conversation URLs.
Starting a Conversation
- Create and enable a key in API Keys, and make sure your account has quota available.
- Open Playground from the OneGateway console.
- Confirm the current key in the API Key selector at the top (Switch API Key); if you have several keys, choose one by purpose.
- Choose a model (Select model). You can search by model name and review the displayed pricing (Pricing (per 1M tokens)), context length, and capabilities (Capabilities).
- Type your question in the message box (Ask OneGateway) and click the send button. The answer appears progressively.
The available models depend on the selected key. After switching keys, check the available models again; if no models appear, ask an administrator to check the providers and group pricing.
Answers and Multi-Turn Conversations
Keep sending questions in the same conversation, and the model answers with the conversation's history in mind. To start a new topic, click New chat in the sidebar.
| Action | Purpose |
|---|---|
| Stop generating | Stops the current answer; content already generated may have incurred usage |
| Copy | Copies the answer text |
| Copy code | Copies the contents of a code block in the answer |
| Regenerate | Generates the answer again, which makes a new model call |
| Expand Thinking process | Shows the thinking content when the selected model returns it; hidden when there is none |
Answer quality and speed depend on the model's capabilities, your input, and the upstream service. Review model output as your work requires.
Adding Images and Files
Click the add button next to the input box, choose Add photos & files, select attachments, then add your question and send.
- Images are for image understanding and require a model that supports image input.
- Text files can be used to explain code, analyze logs, or organize documents — for example
.txt,.md,.json,.csv, and code files. Files are included in the request as text content. - Each message currently allows up to 6 attachments; each image can be at most 10 MB and each text file at most 200 KB. If you exceed a limit, follow the on-screen prompt to shrink files or remove attachments.
You can remove a wrongly selected attachment before sending. Files such as PDFs and Office documents need to be converted to a supported text format first. Also keep the model's context length in mind and split long content into parts.
Managing Conversations
The sidebar lists conversations grouped by time, with titles generated from the first message. Click a conversation to continue it; use Search chats to find one by title, and load older conversations with Load more.
A conversation URL lets you reopen the same conversation yourself. It does not grant access to other users.
Make sure you no longer need a conversation before deleting it; deletion cannot be undone. Deleting a conversation does not reverse model calls or charges that have already happened.
Settings and Usage
In the sidebar's Settings, choose Appearance → Theme to switch between Light, Dark, and System. The appearance preference is saved in the current browser. In platform-integrated environments, the language follows your OneGateway account language; refresh the Playground after changing it.
See the models called, token usage, and cost of your conversations in Request Logs; records may take a moment to appear. For quota and recent trends, see Personal Dashboard.
Troubleshooting
| Symptom | What to do |
|---|---|
| No API Key is available | Go back to the API Keys page to create a key, and confirm it is enabled, not expired, and has quota left |
| The model list fails to load or is empty | Check the current key's model scope and refresh to retry; contact an administrator if it persists |
| Your sign-in has expired | Go back to OneGateway, sign in again, and reopen Playground from the console |
| A request with an image fails | Confirm the model supports image input, and check the attachment's format and size |
| A conversation cannot be opened | Confirm you are using the original account; the conversation may have been deleted or may belong to another account |
| The answer is empty, times out, or stops midway | Note the time, model, and error message, and investigate with the request logs; retrying may incur a new call charge |
To call models from your API client or SDK instead, see the Quickstart.