# Why does OpenTelemetry have a separate duration metric just for inference calls?

Because `gen_ai.client.operation.duration` covers every kind of GenAI client call, an inference request, but also a client agent invocation, a file upload, or a run cancellation, so a number built on it mixes a model call's latency with operations that have nothing to do with how long a model took to answer. A change merged October 6, 2026 gave inference its own `gen_ai.client.inference.duration` histogram and told instrumentation to stop reporting the old metric for inference calls specifically.

The two aren't interchangeable once split: the new metric is scoped to match one [inference span](/answers/instrumentation/whats-the-difference-between-a-trace-and-a-span) at a time, so when both are reported for the same call their durations should agree, a guarantee the old, broader metric never made since it also covers calls with no single span to match against. The old metric keeps reporting everything that isn't inference, so a dashboard already filtering it down to inference calls still has to switch names rather than just re-reading the same field.

---

Published: 2026-10-13

Sources:
- OpenTelemetry semantic-conventions-genai PR #521: Use gen_ai.client.inference.duration metric instead of gen_ai.client.operation.duration: https://github.com/open-telemetry/semantic-conventions-genai/pull/521 (fetched 2026-10-13)

Source: https://tessary.ai/answers/otel-genai-conventions/why-does-opentelemetry-have-a-separate-duration-metric-for-inference-calls
More on OpenTelemetry GenAI conventions: https://tessary.ai/answers/otel-genai-conventions
From Tessary, agent reliability for AI agents in production: https://tessary.ai
