# How to check Token usage in Antigravity Hooks

**URL:** <https://discuss.ai.google.dev/t/how-to-check-token-usage-in-antigravity-hooks/172967>\
**Category:** Google Antigravity\
**Tags:** gemini-cli\
**Created:** [June 29, 2026, 3:48am UTC](https://discuss.ai.google.dev/t/how-to-check-token-usage-in-antigravity-hooks/172967 "2026-06-29T03:48:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![issei](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/issei/32/134130_2.png) [@issei](https://discuss.ai.google.dev/u/issei)\
**Post date:** [June 29, 2026, 3:48am UTC](https://discuss.ai.google.dev/t/how-to-check-token-usage-in-antigravity-hooks/172967/1 "2026-06-29T03:48:27Z")

</div>

Is there a way to retrieve the number of Input Tokens, Cached Input Tokens, and Output Tokens for chats executed via Hooks in Antigravity (CLI / 2.0 / IDE)?

I checked the `transcript.jsonl` file located in directories like `.gemini/antigravity-cli/brain`, but this information was not available. While I could estimate the token count by checking the character count since the chat content is visible, I would like to get the actual token usage data. Additionally, I was unable to find any OpenTelemetry related settings or logs in Antigravity, which were previously available in Gemini CLI.

---

<div class="post-metadata">

**Author:** ![Pierre\_Sieber](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/pierre_sieber/32/146602_2.png) [@Pierre\_Sieber](https://discuss.ai.google.dev/u/Pierre_Sieber)\
**Post date:** [August 31, 2026, 7:46pm UTC](https://discuss.ai.google.dev/t/how-to-check-token-usage-in-antigravity-hooks/172967/2 "2026-08-31T19:46:24Z")

</div>

in cli (not antigravity) is /context the command.  
But i like to know it in AntiG 2.0 the way

---

<div class="post-metadata">

**Author:** ![issei](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/issei/32/134130_2.png) [@issei](https://discuss.ai.google.dev/u/issei)\
**Post date:** [September 1, 2026, 2:28am UTC](https://discuss.ai.google.dev/t/how-to-check-token-usage-in-antigravity-hooks/172967/3 "2026-09-01T02:28:27Z")

</div>

@Pierre_Sieber  
Thanks for the info! So `/context` seems to be a CLI-only thing for now. Let’s hope together that token usage visibility (input / cached / output) becomes available across the whole Antigravity family, including 2.0 and the IDE.
