# What changed in @arizeai/openinference-instrumentation-openai

> 2 changes in @arizeai/openinference-instrumentation-openai 4 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@arizeai/openinference-instrumentation-openai/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @arizeai/openinference-instrumentation-openai 4

### New APIs and options

- Calls to the OpenAI Decisions API are traced as DECISION spans with decision.* model, system, provider and token count attributes. (4.4.0) — [release notes](https://github.com/Arize-ai/openinference/releases/tag/%40arizeai/openinference-instrumentation-openai%404.4.0)

### Fixes and other changes

- Failed requests from the listed OpenAI APIs now end the span with an ERROR status and an exception event, so failures appear in traces. (4.4.1) — [release notes](https://github.com/Arize-ai/openinference/releases/tag/%40arizeai/openinference-instrumentation-openai%404.4.1)
