Skip to main content
This guide walks you through everything you need to make your first API call with TokModel. You’ll create an account, generate an API key, and send a chat completions request — all in a few minutes. No new SDK or client library required.
1

Create your account

Go to https://tokmodel.com/register and sign up for a free account. Once you’ve confirmed your email, you’ll have access to the TokModel console.
2

Get your API key

Open the TokModel console and navigate to API Keys. Click Create key, give it a name, and copy the key value. Store it somewhere safe — you won’t be able to view the full key again after closing the dialog.Your API key is a credential that grants access to your account’s credits. Do not share it or commit it to source control.
3

Make your first API call

Send a chat completions request to https://tokmodel.com/v1/chat/completions. The request format is identical to the OpenAI chat completions API.Replace YOUR_API_KEY with the key you copied in the previous step.
A successful response looks like this:
You can use any model available through TokModel by changing the model field. See the API reference for the full list of supported models and endpoints.