# Is the OpenAI Agents SDK free to use?

The package is free, but running an agent usually isn't. `openai-agents-python` is MIT-licensed and installs with `pip install openai-agents`, then the quickstart has you set an `OPENAI_API_KEY`, so the agent's model calls go through an OpenAI API account, which OpenAI bills for usage.

You can point individual agents at other providers instead. The models docs describe setting a model per agent, which lets you mix providers in one run, and in that case the model bill comes from each provider you use.

Tracing is a separate line. It is on by default and uploads traces to OpenAI's servers, so with a non-OpenAI model the docs suggest three options: disable tracing, give the tracing exporter an OpenAI key, or use another trace processor. The OpenAI key route is described as free tracing in the OpenAI Traces dashboard.

[The license covers the wrapper only](/answers/openai-agents-sdk-evals/is-the-openai-agents-sdk-open-source). Spend follows the number of model calls in a run, and [evaluating the agent adds its own cost](/answers/eval-costs/what-drives-the-cost-of-evaluating-an-ai-agent).

---

Published: 2026-11-10

Sources:
- OpenAI Agents SDK docs, Quickstart: https://openai.github.io/openai-agents-python/quickstart/ (fetched 2026-11-10)
- OpenAI Agents SDK docs, Models: https://openai.github.io/openai-agents-python/models/ (fetched 2026-11-10)
- OpenAI Agents SDK docs, Tracing: https://openai.github.io/openai-agents-python/tracing/ (fetched 2026-11-10)
- openai-agents-python, LICENSE: https://github.com/openai/openai-agents-python/blob/main/LICENSE (fetched 2026-11-10)

Source: https://tessary.ai/answers/openai-agents-sdk-evals/is-the-openai-agents-sdk-free-to-use
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
