Digital Lab launching AI to more than 60 countries including US and India
Unified AI API
The AI gateway
for agents
on any model
One LLM router with 300+ models, built-in observability
and full OpenAI SDK compatibility.
Change one line of code.
# Add the Opper AI gateway
Set up Opper so this project can call 300+ AI models through a single API.
## Step 1: Get an API key
Have the user sign up at https://opper.ai/sign-up/free and create an API key. Set it as `OPPER_API_KEY` in the environment.
## Step 2: Use the OpenAI SDK with Opper's compat endpoint
```ts
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "anthropic/claude-sonnet-4-5",
messages: [{ role: "user", content: "Hello" }],
});
```
## When to use what
- **Drop-in OpenAI SDK swap (above)** — fastest path, works with any existing OpenAI SDK code.
- **Agent SDK (Python or TypeScript)** — building autonomous agents with tools, MCP, span tracing, multi-agent composition. https://docs.opper.ai/agents
- **Task Completion API** — structured input/output with typed schemas. https://docs.opper.ai/capabilities/calls
- **Indexes** — semantic storage for RAG. https://docs.opper.ai/capabilities/indexes
- **Agent CLI** — launch existing agents (Claude Code, Codex, OpenCode, ...) on Opper's gateway. https://opper.ai/agent-cli
## Critical rules
- Read `OPPER_API_KEY` from env, never hardcode
- Pass models as `provider/model` strings (e.g. `anthropic/claude-opus-4-7`, `openai/gpt-5`)
- Use baseURL `https://api.opper.ai/v3/compat`
- Pricing is provider cost + 3% gateway fee
- 300+ models available — see https://docs.opper.ai/capabilities/models
Full docs (agent-readable): https://opper.ai/llms-full.txtAdd Opper as a skill so your agent picks it up automatically. Works with Claude Code, Cursor, Cline, Copilot, Codex, and Windsurf.
$npx skills add opper-ai/opper-skillsimport OpenAI from "openai";const client = new OpenAI({apiKey: "YOUR_OPPER_API_KEY",baseURL: "https://api.opper.ai/v3/compat"});const response = await client.chat.completions.create({model: "anthropic/claude-sonnet-4-5",messages: [{ role: "user", content: "Hello!" }],});
Trusted by 50k+ developers and companies serving 10M+ users
Models
Every frontier model, one API
AI inference for 300+ models across text, image, voice, and video — EU and US hosted.
Agent CLI
Use any agent
on any model
Route any AI coding agent through one gateway. EU residency, fallbacks, pay-as-you-go.
$opper launch claude$opper launch codex$opper launch opencode$opper launch openclaw$opper launch hermes$opper launch piAI compliance & governance
Add the AI agent
control plane
Start with the gateway. Add control and compliance as you scale.
Get started
Up and running in minutes
One key, every model, zero setup.
Create an account, get your API key and access 300+ models from leading providers.
Security & compliance
Security and compliance by design
End-to-end encryption, zero data retention, and EU residency by default.
Opper never uses your data for training. Optional zero data retention for full control.
End-to-end encryption. AES-256 at rest. TLS in transit. Isolated data per organization.
Platform hosted in AWS Stockholm. Choose from EU and global model providers, or BYOK.
Customers
Teams shipping AI on Opper
Ping Payments
Gettested.io
Älska.studios