Keys
Create virtual Keys
Virtual keys
No keys yet. Create a virtual key to authenticate your requests.
How to use your key
Generate a token for a virtual key, then call the AI gateway with the Authorization header.
OpenAI-compatible base URL
https://gateway.tokenfactory.ai/v1
Chat completions
https://gateway.tokenfactory.ai/v1/chat/completions
Code samples
curl -X POST 'https://gateway.tokenfactory.ai/v1/chat/completions' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"model":"nemotron-ultra-550b",
"messages":[{"role":"user",
"content":"Implement Hello World in Python"}]}'Any OpenAI SDK works — set base_url="https://gateway.tokenfactory.ai/v1" and pass your key as api_key.
