Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Getting Started

To use the inference API, you'll need an account, credit for paid requests, and an API key.

Set up your account

Create an account if you don't have one yet.

Open Billing, choose an amount under Top Up Your Account, and follow the payment steps. See the Billing guide for more details.

Create an API key

Open API Keys in the console, give your key a name, and click Create API key. Copy it somewhere safe: it's shown only once. Keep it private and use it only in server-side code. See Authorization.

Send your first request

Choose a model from the Models page, then follow a Python, JavaScript, or cURL example in the API guide. Use your API key and the model's ID in the request.

Last updated