Welcome to Lightweight
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.Quick Start
Get up and running in 30 seconds with copy-paste examples.
API Reference
Endpoints, authentication, and error codes.
Models
Browse all 25+ available models.
Claude Code
Set up Claude Code with Lightweight.
Getting Started
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
- Bash / macOS / Linux
- PowerShell / Windows
Supported Providers
| 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 |
More providers coming soon. We plan to expand to Meta (Llama), DeepSeek, Mistral, and others. Check
GET /v1/models for the live catalog.