# Is the OpenAI Agents SDK model agnostic?

Yes, but not out of the box. The default path targets OpenAI, and reaching another provider takes one of two routes the SDK builds in before reaching for anything external.

The first is built-in: point `set_default_openai_client` at an OpenAI-compatible endpoint, hand `Runner.run` a custom `ModelProvider`, or set a specific agent's `model` to a concrete model object, so different agents in the same run can use different providers. This fits any provider with an OpenAI-compatible API, and the docs recommend the older Chat Completions path over the Responses API here, since "many LLM providers still do not support the Responses API."

The second is an explicit opt-in: a third-party adapter, LiteLLM or Any-LLM, each installed as its own extra (`openai-agents[litellm]`), each the docs call "best-effort, beta." Reach for one only once the built-in integration points fall short, which is itself a sign the SDK's model-agnosticism is a feature you turn on, not the resting state. [The Claude Agent SDK draws the line differently](/answers/claude-agent-sdk-evals/whats-the-difference-between-the-claude-agent-sdk-and-the-openai-agents-sdk): it runs only Claude models, with no equivalent switch to flip.

---

Published: 2026-10-26

Sources:
- OpenAI Agents SDK docs: Models: https://openai.github.io/openai-agents-python/models/ (fetched 2026-10-26)

Source: https://tessary.ai/answers/openai-agents-sdk-evals/is-the-openai-agents-sdk-model-agnostic
More on OpenAI Agents SDK evals: https://tessary.ai/answers/openai-agents-sdk-evals
From Tessary, agent reliability for AI agents in production: https://tessary.ai
