> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 07.03.2025: Cost summaries in trace headers

> Available in Phoenix 11.4+

<Update label="07.03.2025">
  ## Cost Summaries In Trace Headers

  <Frame>
    <iframe src="https://cdn.iframe.ly/v6DMYMvx" width={1000} height={400} allowFullScreen />
  </Frame>

  You can now **see total and segmented costs directly in your Phoenix trace headers** for faster debugging and spend visibility.

  #### New Features:

  * Extended `TraceDetails` GraphQL query to include `costSummary` fields (prompt, completion, total).
  * Passes `costSummary` data into `TraceHeader` and displays formatted total cost.
  * Adds a tooltip in `TraceHeader` showing **prompt vs. completion cost breakdown**.

  <Card title="feat: add cost summary to trace header by RogerHYang · Pull Request #8406 · Arize-ai/phoenix" icon="github" href="https://github.com/Arize-ai/phoenix/pull/8406" horizontal>
    GitHub
  </Card>
</Update>
