https://tokonomics.ca/proxy/{slug} and pass your Tokonomics key as a bearer token. The seven providers below are available in addition to OpenAI and Anthropic.
Provider connection table
OpenAI-compatible providers
DeepSeek, Mistral, xAI, Groq, and Together AI all expose an OpenAI-compatible API. You can use theopenai SDK for any of them — just change the slug in the base URL and supply that provider’s API key.
Python
groq for deepseek, mistral, xai, or together and update model to match that provider’s model identifiers — everything else stays the same.
Cohere
Cohere’s SDK uses a different interface from the OpenAI SDK. The simplest integration is a direct HTTP call with your Cohere key passed inX-API-Key:
cURL
X-API-Key to Cohere unchanged, so you do not need to modify how you authenticate with the Cohere API.
Google Gemini
Gemini uses a path-based model routing format. Replacehttps://generativelanguage.googleapis.com with https://tokonomics.ca/proxy/gemini and keep the rest of the path intact:
cURL
All providers support the same
X-Metering-Tags, X-Feature-Name, and X-Tenant-ID headers for cost attribution regardless of which SDK or HTTP client you use.