Integrations

TokenStorm tracks AI token usage by collecting metrics through a dedicated API endpoint:

https://tokenstorm.codingminds.io/lapi/v1/token/record/YOUR_KEY

You can obtain your API key from the TokenStorm Dashboard.

OpenCode Plugin

The easiest way to send token usage data to TokenStorm is through the OpenSource TokenStorm plugin for OpenCode. (see github.com/acodingmind/tokenstorm)

Installation

Follow the installation instructions provided in the plugin repository.

Usage

Once installed and configured, the plugin automatically tracks token usage across all AI-assisted coding sessions in OpenCode and streams the data to your TokenStorm dashboard in real time.

The following metrics are collected:

input tokens sent to the model (prompt, context)
output tokens generated by the model
reasoning chain-of-thought processing tokens
cache.read / cache.write prompt caching tokens
cost estimated cost based on model pricing
Data Privacy

TokenStorm only stores token usage metrics such as those listed above. No prompt content, model responses, source code, or API credentials are collected.
API keys are scoped to individual dashboards, ensuring data isolation between projects and teams.
You retain full control over your data and can export or delete it at any time.