Add Usage Information Output to LLM Node in Workflow #2341

Closed
opened 2026-02-21 17:44:35 -05:00 by yindo · 0 comments
Owner

Originally created by @jicasada on GitHub (Apr 18, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

Yes. While utilizing the LLM node, we noticed that there is no mechanism to output information to track the resource consumption of the node externally, or take some particularity actions.

2. Describe the feature you'd like to see

I would like to see a feature where the LLM node not only continues to produce its current outputs but also includes an additional JSON-formatted output detailing the usage statistics. The usage output that we see in the log.

3. How will this feature improve your workflow or experience?

Enable tracking of the LLM node usage through an HTTP request node.

4. Additional context or comments

image
Here add usage, as output

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @jicasada on GitHub (Apr 18, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Yes. While utilizing the LLM node, we noticed that there is no mechanism to output information to track the resource consumption of the node externally, or take some particularity actions. ### 2. Describe the feature you'd like to see I would like to see a feature where the LLM node not only continues to produce its current outputs but also includes an additional JSON-formatted output detailing the usage statistics. The usage output that we see in the log. ### 3. How will this feature improve your workflow or experience? Enable tracking of the LLM node usage through an HTTP request node. ### 4. Additional context or comments ![image](https://github.com/langgenius/dify/assets/6273003/e209afce-5b99-48f3-84dd-c2a4963e2a02) Here add usage, as output ### 5. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement🌊 feat:workflow labels 2026-02-21 17:44:35 -05:00
yindo closed this issue 2026-02-21 17:44:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2341