Skip to main content
Tokonomics proxies your requests to all major LLM providers through a single, unified endpoint. Each provider is identified by a short slug that you embed in the proxy URL. The table below lists every supported provider, its slug, the upstream base URL Tokonomics forwards to, the API format it uses, and a typical example path.

Supported providers

URL construction

Every Tokonomics proxy call follows this pattern:
  • {slug} — the provider identifier from the table above (e.g. openai, anthropic)
  • {path} — the upstream API path you would normally append to the provider’s base URL, without repeating the base URL itself
For example, to call OpenAI’s chat completions endpoint you would use:
And to call Anthropic’s messages endpoint:
Tokonomics strips the https://tokonomics.ca/proxy/{slug} prefix and reconstructs the full upstream URL automatically before forwarding your request.

Authentication to providers

Every proxied request carries two sets of credentials:
  1. Your Tokonomics key — passed in the standard Authorization header as a Bearer token. Tokonomics reads this to authenticate you, meter usage, and enforce budget caps.
  2. Your provider API key — passed in whichever header the upstream provider requires (e.g. Authorization for OpenAI, x-api-key for Anthropic). Tokonomics forwards this header to the upstream provider unchanged.
A typical request to OpenAI through the proxy looks like this:
Tokonomics strips the Authorization: Bearer mk_... header before it reaches the upstream provider, and passes all other headers — including your provider key — through unchanged.
OpenAI-compatible providers (DeepSeek, Mistral, xAI, Groq, and Together AI) work out of the box with the official openai Python or Node.js SDK. Simply set base_url to the Tokonomics proxy URL for that provider — no other changes required.