Basic example
How it works
- Request arrives with your access key
- Gateway tries
gpt-4o(OpenAI) - On failure, tries
anthropic:claude-sonnet-4-6 - Returns the first successful response
Configuration example
Allow OpenAI and Anthropic on one key:ngrok steps when billing should go to your provider accounts.
Next steps
- Choose a model: Model IDs and provider prefixes
- Configure fallback models: Fallback ordering and access rules
- Multi-key failover: Fail over between provider keys
- Access Key Configurations: Scope and routing