OpenAI-compatible API

One key for
every model.

Point the SDK you already use at TokenFlux. Pay from one balance, and see every key, request, and credit in one portal.

base_url = https://tokenflux.ai/v1

Example language
curl https://tokenflux.ai/v1/chat/completions \  -H "Authorization: Bearer $TOKENFLUX_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "YOUR_MODEL_ID",    "stream": true,    "messages": [{"role": "user", "content": "Hello"}]  }'
200 OKstreaming…

01

Drop-in compatible

The endpoints your SDK already calls, on one base URL.

  • POST/v1/chat/completions
  • POST/v1/responses
  • POST/v1/messages
  • POST/v1/embeddings
02

Every model, one catalog

Live from the model directory, with per-token prices.

03

Keys you control

One key per app or environment; disable any of them instantly.

Example API key list
04

Usage you can read

Tokens, requests, and spend per day, straight from your logs.

Example daily spend chart

Ship with the models you want.

Create an account, add credits, and send your first request in minutes.