1. Sign up
Visit tokens.flex.ai and request access. On approval you’ll receive an invite email; activate your account and land in the dashboard.2. Create an API key
From the dashboard, open API Keys and click Create key. Copy thesk-… value — it’s shown once.
Every new account gets $10 of free credit. You don’t need to add a card to start.
3. Make a request
Pick a text model from the catalog. The examples below useQwen/Qwen2.5-32B-Instruct.
Next steps
Stream responses
Deliver tokens as they’re generated instead of waiting for the full response.
Call tools
Let the model invoke your functions and work with their output.
Understand billing
Rate limits, credit exhaustion behavior, and the 402 response.
Handle errors
Every 4xx/5xx we return, with example bodies and how to recover.