| title | Introduction |
|---|---|
| description | Unified AI API gateway — one key, 25+ models, zero complexity. |
Lightweight is a unified AI API gateway that gives you access to 25+ models from OpenAI, Anthropic, Google, and xAI through a single OpenAI-compatible endpoint.
Get up and running in 30 seconds with copy-paste examples. Endpoints, authentication, and error codes. Browse all 25+ available models. Set up Claude Code with Lightweight.The API is 100% OpenAI-compatible. Three steps:
- Get your API key from the Dashboard
- Set the base URL to
https://api.lightweight.one/v1 - Use your Lightweight key in place of your OpenAI key
That's it. Any tool that supports OpenAI works with Lightweight — no code changes needed.
| Provider | Models |
|---|---|
| OpenAI | GPT-5.4, GPT-5.2, GPT-5.1, GPT-5.1 Codex, GPT-5 Mini, GPT-4.1, GPT-4o, and more |
| Anthropic | Claude Opus 4.6, Claude Opus 4.6 Fast, Claude Sonnet 4.6, Claude Sonnet 4.5, Haiku 4.5 |
| Gemini 3.1 Pro, Gemini 3 Pro, Gemini 3 Flash, Gemini 2.5 Pro | |
| xAI | Grok Code Fast |