- you want upstream billing on your provider account
- you need built-in providers beyond OpenAI and Anthropic
- you’re running custom providers
Built-in providers
| OpenAI & Anthropic | Other built-in providers | |
|---|---|---|
| Provider account needed | Optional | Yes |
| Default credentials | ngrok.ai inference (with credits) | Provider key required in configuration |
| What credits pay for | Processing fee; plus model cost with ngrok.ai inference | Processing fee only |
Custom providers
Custom providers are endpoints you define, such as Ollama, vLLM, or any OpenAI- or Anthropic-compatible API. See Use a model you run yourself. Custom providers require provider keys in the configuration when the upstream needs authentication. See Custom providers.Setup flow
- Add provider keys.
- Create an access key configuration with routing rules and scope.
- Assign the configuration to an access key.
- Send requests with the access key only.
Migrating from endpoint-based setup
If you previously used Traffic Policy on an ngrok endpoint, see Migrating from endpoints.Guides
Bring your own provider key
Store upstream credentials
Access Key Configurations
Attach keys and set scope
Use a model you run yourself
Self-hosted and third-party endpoints