Skip to main content
The Playground sends real requests with an API key you paste in, and shows the response as your app would get it. Useful for checking a key or trying a prompt before you write code.

Send a request

1

Paste a key

Open Playground and paste one of your API keys. The model list fills with the models that key can use.
2

Choose a model and write a message

Pick a model, type your message and send it.
3

Read the response

The Playground shows the reply and the raw response from the API, including token usage.

Notes

  • Usage is charged to whoever owns the pasted key, not to the account you’re signed in with.
  • Max tokens is 1,024 by default, and thinking counts towards it. If a reply comes back empty because it hit the limit, raise it.
  • If no models are listed, the key is either new (give it a minute), expired or revoked.