Overview API Reference Integrations

Documentation

An OpenAI-compatible API that routes your requests to the cheapest capable model across multiple providers.

How it works

Instead of specifying a model, you specify a capability tier (economy, standard, or premium) and an optimisation preference (cheap, fast, balanced, or quality). The router selects the best model from all available providers.

If a provider goes down, the circuit breaker reroutes automatically. If a cheaper model launches, you benefit without changing code. Context-window guards ensure your input always fits the selected model.

Quick start

1. Sign up — go to /profile, enter your email, get a login code. New accounts get $1 free credit.

2. Create an API key — on the profile page, generate a key (starts with mr_sk_).

3. Make a request — point any OpenAI-compatible client at https://api.lxg2it.com:

# Free models — uses economy tier (Groq/Cerebras, no cost) curl https://api.lxg2it.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "economy", "messages": [{"role": "user", "content": "Hello!"}] }'

economy routes to free models via Groq and Cerebras — no credits consumed. Your $1 sign-up credit can also be used with standard or premium tiers — or pin a specific model like claude-sonnet-4-6. See Tiers.

That’s it. The response format is identical to OpenAI’s — any existing client library or tool that speaks the OpenAI API will work without modification.

Learn more
API Reference
Endpoints, parameters, tiers, model pinning, error codes.
Integrations
Setup guides for Cursor, Windsurf, RooCode, OpenClaw, and more.
Pricing

Provider costs are passed through at exact rates — no per-request markup. We charge a 4% fee on credit top-ups via Stripe. That’s it.

All prices in USD. View your balance and usage at /profile.