OpenAI LLM validates model names against OpenAI’s
catalog, so for gateway models (minimax-m3, glm-5.2, 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-oss-20b) — those still route through the gateway,
but for open-weight ids like minimax-m3 / glm-5.2, or for auto, prefer
OpenAILike as shown above.