Overview
Allternit’s LLM gateway provides a unified API across multiple model providers. Switching models — or running multiple models in parallel — requires no code changes, just configuration.Supported providers
Using policy aliases
Policy aliases are the simplest way to migrate. The gateway resolves an alias to a concrete provider/model pair and derives a cross-provider fallback chain automatically.Using explicit provider/model ids
For deterministic routing, pass a connected provider and model directly:Migration checklist
- List connected models with
GET /v1/models. - Test with a small workload using a policy alias or explicit model.
- Compare outputs, latency, and cost via the Estimates API and Usage logs.
- Update your application to use the new model string.
- Monitor usage via the audit log for the first 24 hours.