LlamaIndex logo

LlamaIndex

by LlamaIndexFramework / SDKllamaindex.ai

LlamaIndex connects your data to models through indexing, retrieval and query pipelines. Configure its OpenAI-compatible LLM with Opper's base URL and an Opper key, and ingestion, retrieval and synthesis run on any of 700+ models without touching the pipeline around them.

Build with LlamaIndex on Opper

LlamaIndex 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 key

In your code

import os
from llama_index.llms.openai_like import OpenAILike
llm = OpenAILike(
model="anthropic/claude-fable-5",
api_base="https://api.opper.ai/v3/compat",
api_key=os.environ["OPPER_API_KEY"],
is_chat_model=True,
)

More apps on Opper

Build with LlamaIndex on any model

One key, 700+ models, a choice of region, and zero data retention. Switch the model behind your app without changing your workflow.

Get startedView Documentation