# Traces not showing tokens and costs one long graph executions with the new Langsmith UI

**URL:** https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353
**Category:** LangSmith Product Help
**Created:** [April 9, 2026, 11:17am UTC](https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353 "2026-04-09T11:17:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![UsamaBinMuzaffar](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/usamabinmuzaffar/32/2783_2.png) [@UsamaBinMuzaffar](https://forum.langchain.com/u/UsamaBinMuzaffar)
#### Post date: [April 9, 2026, 11:17am UTC](https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353/1 "2026-04-09T11:17:26Z")

</div>

I don’t know if anyone else has experienced this but ever since Langsmith’s UI started getting updated, the traces of longer graph executions do not show token usage anywhere. I’ve attached an image of the same graph being executed with different inputs which lead to different sized responses from the AI. One has the AI give a small response while the other has the AI give a much longer response. As you can see, the one with the shorter response shows token usage and costs but the other one doesn’t.

 ![image](https://canada1.discourse-cdn.com/flex007/uploads/langchain/original/2X/8/83be4b42a531419c047d8607a0a936042493acc2.png)

---

<div class="post-metadata">

### Author: ![arjun](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@arjun](https://forum.langchain.com/u/arjun)
#### Post date: [April 9, 2026, 4:32pm UTC](https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353/2 "2026-04-09T16:32:27Z")

</div>

Hi @UsamaBinMuzaffar  
Can you confirm for the trace with missing token usage – if you look at Attributes \> Metadata do you see the `usage_metadata` key? this would be necessary to view token breakdown

---

<div class="post-metadata">

### Author: ![UsamaBinMuzaffar](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/usamabinmuzaffar/32/2783_2.png) [@UsamaBinMuzaffar](https://forum.langchain.com/u/UsamaBinMuzaffar)
#### Post date: [April 10, 2026, 9:56am UTC](https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353/3 "2026-04-10T09:56:31Z")

</div>

Hi @arjun  
There is no `usage_metadata`key in either of the traces. If it’s necessary, I don’t understand how I’m able to see the token breakdown without it on the trace with the smaller AI response, but not on the larger AI response.

---

<div class="post-metadata">

### Author: ![UsamaBinMuzaffar](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/usamabinmuzaffar/32/2783_2.png) [@UsamaBinMuzaffar](https://forum.langchain.com/u/UsamaBinMuzaffar)
#### Post date: [April 23, 2026, 12:17pm UTC](https://forum.langchain.com/t/traces-not-showing-tokens-and-costs-one-long-graph-executions-with-the-new-langsmith-ui/3353/4 "2026-04-23T12:17:27Z")

</div>

Still not resolved
