TokenBison Docs
Make your first API call.
One key. One endpoint. Your first response in minutes.
Quickstart
Four steps to your first response
01
Create an account
Create an account and explore available models.
02
Create an API key
Create a key in the console and store it securely.
03
Choose a model
Copy an exact model ID from the Models page.
04
Send a request
Run an example below with your new key.
Authentication
Use a Bearer token
Send your TokenBison API key in every request header.
Authorization: Bearer $TOKENBISON_API_KEYBase URL
https://tokenbison.com/v1
Keep your key on the server. Never expose it in client code.
Examples
Send a chat completion
Select a model below to generate a ready-to-copy example.
curl https://tokenbison.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENBISON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"messages": [{"role": "user", "content": "Hello!"}]
}'