# How do I calculate the token usage of every user in Discourse AI?

**URL:** <https://meta.discourse.org/t/how-do-i-calculate-the-token-usage-of-every-user-in-discourse-ai/311706>\
**Category:** Data & reporting\
**Tags:** ai\
**Created:** [June 12, 2024, 7:49am UTC](https://meta.discourse.org/t/how-do-i-calculate-the-token-usage-of-every-user-in-discourse-ai/311706 "2024-06-12T07:49:49Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![whitewaterdeu](https://avatars.discourse-cdn.com/v4/letter/w/57b2e6/32.png) [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)\
**Post date:** [June 12, 2024, 7:49am UTC](https://meta.discourse.org/t/how-do-i-calculate-the-token-usage-of-every-user-in-discourse-ai/311706/1 "2024-06-12T07:49:50Z")

</div>

i am using official discourse ai plugin with openai api key

> [@Discourse AI](https://meta.discourse.org/t/official-discourse-ai-plugin/259214):
>
> discourse2Summary Integration between AI features and Discourseglobe_with_meridiansWebsite [Discourse AI Features | Discourse - Civilized Discussion](https://discourse.org/ai)open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Discourse AI Discourse AI is our one-stop solution for integrating Artificial Intelligence and Discourse, enabling both new features and enhancing existing ones. Discourse AI features For …

Is there any way to calculate the token usage of every user?

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-calculate-the-token-usage-of-every-user-in-discourse-ai/311706)._
