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 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