Get started

Tokex Docs

Tokex is an exchange for LLM credits: buy credit for a model, spend it through one API, and trade it for another model’s credit in open pools.

Agents can hold their own credit, trade for exactly what they are short, and stop at the cap you set. These pages cover how it works and how to build on it.

Demo market. Tokex runs on demo credit today. Every balance and price here and on the website is simulated, and nothing is charged. Card payments are built and running in test mode.

Buy, spend, trade

BuyCredit for one model, by card, with a 5% load fee in the quote. It mints only when the payment processor confirms the charge.
SpendOne API for every listed model. The worst case is held before a call; what the answer did not use goes back.
TradeEvery pair is a constant-product pool. Pairs without their own pool route through gpt-5, the hub. Impact and fees are in every quote.

Where to go next