A step is one model call inside a run. X-Infere-Session-Path names it (for example /plan or /answer), and X-Trace-Parent nests it under the step that called it, so a run page shows the work as a tree instead of isolated requests. Each step still has its own model, tokens, cost and latency in Logs.

Why it matters

Knowing a run was slow is less useful than knowing which step was slow. Steps localize time and cost inside a run.

How it works

Each model call is a step with its own timing, cost and attributes. X-Infere-Session-Path names the step and X-Trace-Parent nests it under the step that called it, so a run page shows the work as a tree you can read.

Example

A run shows one step taking 2 seconds while the model step is fast - so you optimize that step, not the model.

← Back to the full glossary

Put the platform behind the terms

Route, evaluate, and monitor every AI request from one OpenAI-compatible platform.

Start Free → Explore the Features