1
Send requests to different providers through the same base URL
Toolken’s gateway detects the provider from the model name. To compare, send the same prompt using a model from each provider you want to evaluate. You do not need separate SDKs or base URLs.For OpenAI-compatible providers (OpenAI, Groq, Mistral, Deepseek, and others), use
/v1/chat/completions. For Anthropic models, use /v1/messages.Anthropic models use a different endpoint (
/v1/messages) and a different auth header (x-api-key). You cannot compare an Anthropic model and an OpenAI model in the same SDK call, but Toolken records both and you can compare costs in the dashboard.2
Open the dashboard and group by Provider or Model
Go to the cost view. Group by Model to see per-model cost side by side, or group by Provider for a higher-level view. Filter by the 
provider-comparison feature to isolate the requests from this experiment.
Reach more models with OpenRouter
Reach more models with OpenRouter
OpenRouter aggregates a wide catalog of models from many providers. Set The dashboard attributes each request to its actual model, so cost comparisons still work.
X-Toolken-Provider: openrouter and pass your OpenRouter key. You can then use any model in their catalog without signing up for each provider separately.Force a specific provider with X-Toolken-Provider
Force a specific provider with X-Toolken-Provider
By default the gateway detects the provider from the model name. To override that detection, set
X-Toolken-Provider explicitly. This is useful when two providers accept the same model name, or when you want to test the same model on different infrastructure.Next
Cost Per Agent
Break down spend by agent or workflow.
Cost by Environment
Separate production and staging spend.