Skip to main content
1

Sign up

Create an account in the console. Sign-up needs an email address only.
2

Create a token

In the console, open Tokens and create one. New accounts default to the Standard tier; the tier decides price, stability and which models are available (tiers). You can also set a spending limit, an expiry date and allowed models per token.
3

Top up

Prepaid, minimum $5.
4

Send a request

Use any example below. Replace YOUR_API_KEY with your token.
To switch models, change model. The full list is on the models page.
Keep your token out of frontend code and public repositories. If a token leaks, delete it in the console and create a new one.