Renamed to
ironlabs (June 15, 2026). Both Node and Python packages are now ironlabs.
Migrating from ironaai / ironlabsai? Update your install + import. Your existing API key keeps working —
the SDK accepts IRONLABS_API_KEY (preferred), and falls back to IRONLABS_AI_API_KEY / IRONAAI_API_KEY
with a one-time deprecation warning.1. Get your IronLabs API key
Create an account or log in, then grab your API key from the Settings → API Keys page.Treat your API key like a password. Never commit it to source control or expose it in client-side code.
2. Install the SDK
3. Make your first routed call
What you should see
provider and model are populated, the router worked — IronLabs picked a candidate from your models list, called it, and returned the response in one round trip.
4. Try a different tradeoff
Changetradeoff and watch the selected model change:
| Tradeoff | What it optimizes | Typical picks |
|---|---|---|
"latency" | Time-to-first-token | Smaller, faster models (Haiku, Flash, Mini) |
"cost" | $ per 1K tokens | Cheapest model that satisfies your task |
"quality" | Benchmark score | Largest, most capable model |
Next steps
Routing Lifecycle
See exactly what happens between request and response.
Custom Router
Train a router on your own data instead of using a pre-trained one.
Fallback Models
Configure automatic retries across providers.
API Reference
Every endpoint, every field.