New New: Meridian, the company website and growth platform, and Feilun, the AI growth platform View products →
TokenTally AI & cloud platforms

TokenTally

Multi-cloud LLM API key cost management

How much does each API key, each model and each department really spend? TokenTally syncs keys and bills from Alibaba Cloud Model Studio and Tencent Cloud TokenHub read-only on a schedule, analyzes them by key, model and cost center, and sends budget overruns and cost anomalies to DingTalk, Feishu, WeCom and email.

TokenTally screenshot

Key features

8 key capabilities of TokenTally at a glance

01

Key-level costs that match the bill

Alibaba Cloud instance bills are attributed to keys directly; Tencent Cloud bills are split exactly by TokenHub usage share, and the totals match the bill

02

Multi-dimensional analysis and drill-down

Pivot freely across key, model, workspace, cost center, owner, cloud and billing item; drill down from charts and cells, and share links

03

Token and call statistics

Token mix, cache hit rate, unit cost (¥ / M tokens), daily average and peak; requests, success rate, average tokens and cost per call

04

Budgets and month-end forecast

Monthly total, cost center (department) and API key budgets, with alerts at the warning threshold, when exceeded or when the month-end forecast exceeds them

05

Alerts and scheduled reports

DingTalk, Feishu, WeCom, webhook and email for budgets, cost anomalies, sync failures, key changes and daily / weekly / monthly reports, optionally with a sign-in-free read-only interactive report

06

Key governance

Finds keys that are deleted but still billed, over-privileged, undescribed, idle, suddenly expensive or without a cost center, with graded recommendations

07

Security first

Read-only permissions, access keys encrypted with AES-256-GCM, re-verification for sensitive actions, CSRF / CSP / rate limits / audit logs, SSRF protection for webhooks

08

No dependencies, easy to deliver

Pure Node.js 24 built-in modules with no npm dependencies, one docker compose command; automatic backups, Prometheus metrics, branding and a demo mode

What it is

Companies have more and more LLM API keys: support, marketing, engineering and data teams each request their own, spread over several Alibaba Cloud and Tencent Cloud accounts and workspaces. Cloud billing centers bill by product and resource, so you cannot see how much a key spent this month or which models it used. TokenTally turns this into a cost dashboard that updates itself.

  • Where did the money go? Every charge by key, model and workspace.
  • Who pays? Costs allocated by cost center / department, even when teams share accounts.
  • Why did it jump? Cost anomalies are reported the same day, so a leaked or misused key does not wait until month end.
  • Will we overspend? Budgets and month-end forecasts by key and by department.

Screenshots

Cost overview: costs this period, budget use and month-end forecast, unit cost and cache hit rate
Cost overview: costs this period, budget use and month-end forecast, unit cost and cache hit rate
Key analysis: usage and cost rankings, efficiency quadrants and governance summary
Key analysis: usage and cost rankings, efficiency quadrants and governance summary
Key details: token mix and call statistics
Key details: token mix and call statistics
Cost allocation: cost center × model pivot, exportable as CSV
Cost allocation: cost center × model pivot, exportable as CSV
Key governance: graded hints for deleted-but-billed, over-privileged and idle keys
Key governance: graded hints for deleted-but-billed, over-privileged and idle keys
Report preview: a Feishu message card with usage first and costs second
Report preview: a Feishu message card with usage first and costs second

All screenshots show fictitious data generated by TokenTally's demo mode.

How Tencent Cloud key-level costs are calculated

Tencent Cloud bills by inference service / model and does not include the API key. TokenTally fetches both the bill details and TokenHub's "key × model × day" usage:

Key cost = the real bill amount of that model and billing item (input / cache hit / output) for the day × the key's share of the matching tokens

The last share takes the remainder, so the total of all keys matches the Tencent Cloud bill exactly; without billing permissions, costs can be estimated at list prices and are labeled "estimated".

Compared with the cloud consoles

CapabilityCloud consoleTokenTally
Cost per API key (matching the bill)Partly (Alibaba Cloud has totals, Tencent Cloud none)Both, in one way
One view across clouds and accountsNoYes
Cost center / department allocationNoYes
Budgets and month-end forecast by key / departmentNoYes
Budget / anomaly / sync failure notifications to IMLimitedDingTalk, Feishu, WeCom, email
Daily / weekly / monthly reportsNoYes
Long-term historyLimited by console retentionLocal SQLite

Deployment

It only needs read-only cloud permissions (Alibaba Cloud RAM: Model Studio read-only + billing read-only; Tencent Cloud CAM: TokenHub read-only + billing read-only) and never changes anything in your clouds. Without a cloud account you can try every feature in demo mode first:

git clone https://github.com/sreyun/tokentally.git && cd tokentally && cp .env.example .env
# set APP_MASTER_KEY in .env (openssl rand -base64 32); set DEMO_DATA=true to try it
docker compose up -d --build && docker compose logs app   # the log shows the initial admin password

Every release also ships amd64 / arm64 images you can pull directly. After signing in, follow the setup checklist to add access keys, run the first bill sync and set up cost centers, budgets and notification channels. More platforms such as Volcengine Ark and Baidu Qianfan are on the roadmap.

SREYUN product family

9 products in all; you are viewing TokenTally

OpsBuddy

OpsBuddy AI

Your AI buddy for operations

Describe the task in one sentence and OpsBuddy investigates on its own along a diagnosis loop: detect → hypothesize → gather evidence → conclude → act (with approval) → verify automatically → learn. A single Go binary plus PostgreSQL, the same code for SaaS and self-hosting, and it runs offline even without an LLM.

Learn more →
openaiops

openaiops

Open-source, self-hostable host monitoring and SRE platform

Observability, alerting, self-healing, remote operations, Agent OTA and AI diagnosis in one self-hosted platform: one Go server plus one dependency-free agent, live in about 3 minutes with docker compose, and your data stays yours.

Learn more →
WPECS

WPECS

One binary to manage the full application lifecycle on every Linux host

Turns a private delivery of dozens of servers and twenty-plus middleware components into a web wizard: enter IPs and credentials, pick a solution, confirm the plan, and the platform runs pre-checks, installs in parallel by dependency, initializes clusters and verifies the integration automatically. Monitoring, diagnosis, rolling upgrades, scaling, inspections and backups happen in the same platform. No agent on target hosts, and fully offline environments are supported.

Learn more →
netsa

netsa

Open-source network security posture awareness and attack surface analysis

One binary turns web, firewall / IDS, traffic, host and DNS logs into a security posture you can trace, act on and that corrects itself. No Elasticsearch, Kafka or database needed; works offline on private networks and runs in 5 minutes.

Learn more →
Meridian

Meridian NEW

Company website and growth platform: site, leads, analytics and security in one

A self-hostable company website system: a single Go binary plus PostgreSQL runs a visual page editor, content management, lead scoring and assignment, server-side visitor analytics, alerts, SEO and a built-in web application firewall, with a bilingual site and admin. The SREYUN website you are browsing is built and run on Meridian.

Learn more →
Feilun

Feilun AI

Growth platform that finds AI product opportunities in real user voices, then builds and markets them

One platform, three capabilities: pain insight, a content factory and a product portfolio. Feilun mines pain points from App Store reviews, communities at home and abroad and support logs, judges which are worth turning into AI products, turns them into products with one click, generates illustrated posts for WeChat Official Accounts, Xiaohongshu, Zhihu and more and publishes them to several accounts, then ties feedback, content and revenue back to each product so you can see where to invest.

Learn more →
fordway

fordway

All-in-one business system (ERP) for small trading companies

Customers, pricing, sales, purchasing, inventory, reconciliation and business analytics in one system: three-layer item mapping ends the many-names-per-item problem, AI document recognition turns chat orders, spreadsheets, invoices and bank receipts into reviewed documents, and RBAC plus database row-level security shows each role only what it should see. One program plus PostgreSQL is all it takes.

Learn more →
UEPS

UEPS

Unreal Engine Pixel Streaming cloud rendering platform with a single public TCP port

One program handles signaling, instance scheduling, the web console and the TURN relay, and serves Unreal Engine Pixel Streaming through a single nginx TCP port: no UDP port mapping at all, and no configuration changes for LAN, cross-network, router port-forwarding or domain access. Works with UE 4.27, UE 5 Pixel Streaming and UE 5.5 Pixel Streaming 2.

Learn more →
TokenTally

TokenTally

Multi-cloud LLM API key cost management

How much does each API key, each model and each department really spend? TokenTally syncs keys and bills from Alibaba Cloud Model Studio and Tencent Cloud TokenHub read-only on a schedule, analyzes them by key, model and cost center, and sends budget overruns and cost anomalies to DingTalk, Feishu, WeCom and email.

Viewing

Need commercial support or a private deployment of TokenTally?

We offer demos, deployment, vendor technical support and custom development to get you running faster.