Walkthrough: Token Factory (API)
When: You want to call hosted models from your own code, without running an instance.

- Open Token Factory. Your API key and base URL are at the top.
- Keep the key secret: use Copy, and regenerate it in Settings if it ever leaks.
- Pick a model. Its card has a ready-to-run example (OpenAI or Anthropic format).
- Use the model id exactly as shown.
GET /v1/modelslists them. - Call it from your own code with the key and base URL. Some models think first, so leave
max_tokensroom. - Check your limits with
GET /v1/usage: requests per minute, the daily limit and when it resets.
Common pitfalls
Section titled “Common pitfalls”- Some models return a
reasoningfield and think before answering. Ifmax_tokensis too small,contentcomes back empty. - There are per-minute and daily limits. When the daily limit is used up, calls return HTTP 429 “Daily usage limit exceeded” until the reset time shown by
/v1/usage. - Treat the API key like a password. If it leaks, regenerate it in Settings: the old key stops working within about a minute.
More detail: Token Factory