Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 2.03 KB

File metadata and controls

61 lines (50 loc) · 2.03 KB
title Introduction
description Unified AI API gateway — one key, 25+ models, zero complexity.

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.

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.

Getting Started

The API is 100% OpenAI-compatible. Three steps:

  1. Get your API key from the Dashboard
  2. Set the base URL to https://api.lightweight.one/v1
  3. Use your Lightweight key in place of your OpenAI key
```bash export OPENAI_API_KEY="lw_sk_your-key-here" export OPENAI_BASE_URL="https://api.lightweight.one/v1" ``` ```powershell $env:OPENAI_API_KEY = "lw_sk_your-key-here" $env:OPENAI_BASE_URL = "https://api.lightweight.one/v1" ```

That's it. Any tool that supports OpenAI works with Lightweight — no code changes needed.

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
Google 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.