OpenAI LLM validates model names against OpenAI’s
catalog, so for gateway models (grok-4-fast, claude-sonnet-4-6, auto) use
OpenAILike — it skips that validation and speaks the same OpenAI API.
Install
Setup
Settings.llm = llm, query engines,
chat engines, agents — and every call is routed and traced.
Managed tools (server-side, no keys)
Pass managed tools by name as atools kwarg to
chat() — Orbitrage runs them server-side and returns the final answer.
If you use the standard
llama_index.llms.openai.OpenAI class, it only accepts
OpenAI model ids (e.g. gpt-4o-mini) — those still route through the gateway,
but for grok/claude/auto prefer OpenAILike as shown above.