ANY /proxy/:provider/*
Everything after the provider name is passed through as the upstream path, so any endpoint your SDK calls works without Navige adding support for it, including endpoints released after this page was written.
Providers
openai→ api.openai.comanthropic→ api.anthropic.comgoogle(aliasgemini) → generativelanguage.googleapis.comxai(aliasgrok) → api.x.aibedrock→ AWS, which authenticates differently; see below.groq→ api.groq.comtogether→ api.together.xyzmistral→ api.mistral.aifireworks→ api.fireworks.aideepseek→ api.deepseek.comperplexity→ api.perplexity.aicerebras→ api.cerebras.aiopenrouter→ openrouter.ai/apideepinfra→ api.deepinfra.comnovita→ api.novita.ai
usage.cost: what the call actually cost, not a published rate multiplied by a token count. Navige records that figure as it stands, marked reported rather than computed, and applies no price of its own. This needs no catalogue entry, no daily cost sync and no invoice to check against, and it works for a model that has never had a listed price. OpenRouter sends usage.cost by default, so you do not need to change your request. That also means it works on routes where Navige may not touch the request body, including Claude Code.
Nine of these providers (groq, together, mistral, fireworks, deepseek, perplexity, cerebras, deepinfra and novita) speak the OpenAI wire format, so an OpenAI SDK pointed at /proxy/<name>/v1 works unchanged. They are measured, not reconciled: Navige records what every call cost from the published per-token price. Checking that figure against the provider’s own bill works only for Anthropic, OpenAI and Bedrock, which report actual spend through an API. Google and xAI do not, so their calls are measured but not reconciled either. If two hosts disagree about a model’s price, its calls are shown with their real token counts and no cost, rather than one host’s price applied to another host’s calls.
An unknown provider name returns a 404. Navige does not forward the request to wherever the path pointed.
Credentials
Two keys travel with the request, and they never share a header.- Your provider key goes where that provider’s SDK already puts it:
Authorization: Bearerfor OpenAI and xAI,x-api-keyfor Anthropic,x-goog-api-keyfor Google. It is forwarded untouched and never stored. - Your Navige key goes in
x-navige-key.
Do not put the Navige key in
Authorization on the proxy. That header belongs to the provider. A Navige key there would fail to authenticate and would send your Navige credential to OpenAI. The separate x-navige-key header keeps the two apart.Examples
OpenAI
Anthropic
Gemini
Bedrock
AWS signs requests rather than carrying a bearer token, so Bedrock is configured from the console. You give Navige a role to assume, under an external id it generates, and nothing of yours is held as a long-lived secret.The OpenAI-shaped endpoints
There are also/v1/chat/completions and /v1/messages at the root, for clients that will not let you put a path segment in the base URL. They behave the same; the provider is inferred from the request.
What gets recorded
- Model, token counts in and out, and cached input counted separately from fresh.
- Cost at that model’s rate, or unknown if there is no price for it, never zero.
- Latency, and whether the upstream call failed.
- The task, if you sent a correlation header.
Navige records usage and metadata, not your prompt and completion text.