LiteLLM
LiteLLM gives Python one call signature across providers, and a proxy that puts the same thing behind a server. Opper works with it today through the OpenAI-compatible provider: point it at https://api.opper.ai/v3/compat with your Opper key and every model in the catalogue is reachable. A native opper/ provider is open for review upstream in BerriAI/litellm#36075.
Build with LiteLLM on Opper
LiteLLM reaches Opper over the OpenAI-compatible endpoint. Point it at https://api.opper.ai/v3/compat with your Opper key and pick a model.
Get your API keyIn your code
import osfrom litellm import completionresponse = completion(model="openai/anthropic/claude-fable-5",api_base="https://api.opper.ai/v3/compat",api_key=os.environ["OPPER_API_KEY"],messages=[{"role": "user", "content": "Hello!"}],)
More apps on Opper
Mastra
Opper is a provider in Mastra's model router. Write a model string, set a key, and the agent runs through the gateway.
Opper built inVercel AI SDK
Our provider for the Vercel AI SDK, so generateText, streamText and tool calls run on any model behind one key.
@opperai/ai-sdk-providerLangChain
Point LangChain's OpenAI chat model at Opper and the rest of the chain carries on unchanged.
/v3/compat