Skip to main content
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. Creating an IronLabs API key
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

If 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

Change tradeoff and watch the selected model change:

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.