config.yaml — add a Toolken model entry, set requestOptions.headers, and every Continue request is tracked with full cost and latency visibility.
1
Get your two keys
You need two keys:
Toolken forwards your provider key verbatim and never stores it.
2
Add the Toolken model to config.yaml
Open Continue’s
config.yaml (usually ~/.continue/config.yaml) and add a model entry under models:apiKey is your provider key (BYOK). It is sent as Authorization: Bearer and forwarded untouched. X-Toolken-Key authenticates you to Toolken and is stripped before the request reaches your provider.3
Select the model in Continue
Open the Continue panel in your editor, switch to the
Toolken GPT-4o mini model (or whatever you named it), and make a request. Continue attaches X-Toolken-Key and X-Toolken-Metadata-Agent automatically via requestOptions.headers.4
Confirm in your dashboard
Within seconds your request appears in the Toolken dashboard, grouped under the
continue agent. Cost, token usage, and latency are all captured automatically.Next
Codex
Route Codex CLI traffic through Toolken with a custom provider entry.
Providers & Routing
One gateway URL, 13 providers, your own keys.