Use Auriko as your LLM provider in LlamaIndex. This integration is Python-only. For TypeScript, use the Vercel AI SDK integration.Documentation Index
Fetch the complete documentation index at: https://docs.auriko.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Install
Use SDK adapter
Use theAurikoLlamaIndexLLM adapter:
AurikoLlamaIndexLLM supports chat, completion, streaming, async, per-call routing overrides, and Auriko error mapping.
Configure options
| Parameter | Type | Default | Description |
|---|---|---|---|
model | str | (required) | Model ID |
api_key | str | None | AURIKO_API_KEY env | API key |
routing | RoutingOptions | None | None | Default routing configuration |
api_base | str | "https://api.auriko.ai/v1" | API base URL |
**kwargs | Passed through to LlamaIndex’s OpenAI (e.g., temperature, max_tokens) |
Configure routing
Pass aRoutingOptions instance to set default routing:
Configure manually
Alternative: configure LlamaIndex manually
Alternative: configure LlamaIndex manually
If you prefer to use LlamaIndex’s For routing options, per-call overrides, and Auriko error mapping, use
OpenAI class directly:AurikoLlamaIndexLLM.Use AurikoAsyncOpenAI (experimental)
If your project pins a different llama-index-llms-openai version, pass AurikoAsyncOpenAI as the async_openai_client:
LlamaIndex’s
OpenAI requires an api_key for construction. Pass any placeholder value.client.last_routing_metadata after each call. See AurikoAsyncOpenAI for the full class reference.