Use an API key from dollartoken.ai against this site’s OpenAI-compatible API. Do not put secrets in frontend code or public repos. The public entry is this site — do not hit the gateway port. Models come from /v1/models and the Models page. Examples below use gemini-3-flash-preview from the current catalog.
New here? Start with the usage guide for Cursor and Claude Code.
Sign-up creates a key named default. You can also create keys under Dashboard → API Keys. The full secret is shown only once. Credit is added with redeem codes; card checkout is not live yet.
https://dollartoken.aiAuthorization: Bearer sk-your-api-key
Content-Type: application/jsoncurl https://dollartoken.ai/v1/models \
-H "Authorization: Bearer sk-your-api-key"curl https://dollartoken.ai/v1/chat/completions \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-flash-preview",
"messages": [{"role":"user","content":"Hello"}],
"stream": false
}'const res = await fetch("https://dollartoken.ai/v1/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer sk-your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "gemini-3-flash-preview",
messages: [{ role: "user", content: "Hello" }],
stream: true,
}),
});from openai import OpenAI
client = OpenAI(
api_key="sk-your-api-key",
base_url="https://dollartoken.ai/v1",
)
print(client.chat.completions.create(
model="gemini-3-flash-preview",
messages=[{"role": "user", "content": "Hello"}],
))