Digital Lab launching AI to more than 60 countries including US and India
Unified AI API
The AI gateway
for agents
Access 300+ leading AI models through one EU-hosted gateway.
Drop-in OpenAI SDK compatible, GDPR-compliant, pay-as-you-go.
# 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. Switch models without changing code.
$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.
Top up credits to use with any model or provider. Or bring your own provider keys.
AI security and compliance
One EU sub-processor for every model
Add new models any time without amending your DPA or rewriting your sub-processor list.
No prompts stored by default, only metadata for your analytics. Opper never trains on your data. Enable full tracing with Control Plane, or zero retention with Enterprise.
Opper is your single AI sub-processor. Add new models without DPA amendments, customer notifications, or 30-day objection windows.
Hosted in AWS Stockholm. Data stays in the EU unless you choose otherwise. Standard DPA and SCCs available on request.
End-to-end encryption. AES-256 at rest. TLS in transit. Isolated data per organization.
Customers
Teams shipping AI on Opper
Ping Payments
Gettested.io
Älska.studios