StatsAI
Privacy Policy
How we handle account data, synced usage rollups, and what stays on your devices.
Last updated: October 8, 2026
Overview
This policy explains what the hosted StatsAI service (the web app at statsai.dev and the API at api.statsai.dev) collects, why, who can see it, and how to delete it. The open-source CLI runs on your computer and sends data to us only when you sync.
StatsAI is operated by Dmitry Starkov, Türkiye ("we", "us"), the controller of the personal data described here. You can reach us at hello@statsai.dev.
Account and sign-in
- When you sign in with Google or GitHub, we receive your name, email address, profile image, and your account ID at that provider.
- We store the access and refresh tokens the provider issues, encrypted.
- Each login session records the IP address and browser user agent it was created from. We use them for security and abuse prevention.
Devices
When you connect a computer with the CLI, we store a device name (your computer's hostname by default, which you can rename), the platform, the CLI version, when it was last seen, and hashed device tokens.
What every sync uploads
- Daily usage rollups: tokens, requests, models, estimated cost, latency, time to first token and throughput statistics, cache statistics, message counts, and active time.
- Sources: the provider, the kind of source, and a hash of its path.
- Provider accounts, including the account's email address and user ID at that provider (for example your Claude or ChatGPT account). We use them to merge the same account across devices and to show which account was used.
- Subscriptions, plan names, and prices you entered, and quota and reset-cycle data.
- Counts of code lines changed per day.
What syncs only if you turn it on
These are off by default. Each --include flag has a matching --exclude flag that turns it off again.
- With --include-projects (also turned on by --include-sessions and --include-tasks): project names, the repository owner/repo label, branch names, and the project's local folder path. Recent CLI versions shorten your home folder to ~; older versions send the full absolute path, which can include your computer username. Hashes of the path, git remote, and branch are sent too.
- With --include-sessions: per-session rollups, each with a title. The title comes from your AI tool or is taken from your first prompt, up to 256 characters.
- With --include-tasks (invite-only): task titles, short prompt previews (up to about 220 characters), todo excerpts, and issue keys.
- With --include-activity: the names and call counts of tools, MCP servers, MCP tools, plugins, and skills your agents used. Shell commands are reduced to a fixed list of command names, never the full command line.
What we never receive
- Full prompts or model responses.
- Raw log lines or raw events from your AI tools.
- Commit hashes.
- Notes you attach to subscriptions.
Hashes and previews
Hashed values are SHA-256 identifiers. They let us match records without storing the original text, but they are pseudonymous identifiers, not encryption: anyone who already knows the original value can compute the same hash.
To see exactly what a sync would send, run statsai sync --dry-run or write the batch to a file with --sink file.
How we use information
We use this information to sign you in, show your dashboard, merge and deduplicate records synced from several devices, run teams and public pages you turn on, provide support, keep the service reliable, and protect it from abuse.
Estimated costs are API-equivalent calculations for analytics, not invoices or provider billing records.
We do not sell your data, show ads, build advertising profiles, or track you across other sites.
What other people can see
Your dashboard is private. Other people see your data only in the cases below. Public pages are off by default and appear only after you publish them.
- Public profile: anyone can see your handle, display name, bio, the picture you chose, usage totals, exact daily token counts for the last 90 days, streaks, providers, top model, and monthly totals. Totals cover all your synced usage, not only published projects.
- Public projects: the project name, summary, repository owner/repo label, usage statistics, and model breakdown.
- Published profiles and projects are listed on the public leaderboard and in our sitemap, so search engines can index them. Share-card images can show your full history.
- Public team projects, when each contributing member opts in: aggregate usage, estimated cost, and the number of contributors.
- Teams: teammates see each member's name, avatar, device count, last seen time, per-member usage and cost, and linked project names. Member email addresses are visible to teammates except those with the viewer role. Team owners and admins see the email addresses of people they invite.
- Unpublishing removes a page from StatsAI right away, but search engines and anyone who saved a copy may keep it.
Service providers and transfers
We share data only with the providers below, and only to run the service. Your data is stored and processed outside your country, including in the United States.
- Cloudflare hosts the web app and API (Pages, Workers, and the D1 database) and keeps request logs, which include IP addresses.
- Google and GitHub handle sign-in. Profile pictures from them are loaded from their image servers, which see the IP address of whoever views the picture.
- We may also disclose information if the law requires it.
Retention
- Account data and synced data: until you delete it or delete your account.
- Sync batch metadata: 90 days.
- Expired or revoked device tokens: 7 days.
- Expired login sessions and verification records: deleted periodically.
- Cloudflare request logs: according to Cloudflare's retention.
- Database backups: point-in-time recovery keeps deleted data for up to 30 days after deletion.
Security
Traffic is encrypted in transit, provider tokens are encrypted at rest, device tokens are stored only as hashes, and every API call is authenticated. No method of storage or transmission is completely secure.
Cookies and local storage
- One session cookie that keeps you signed in, plus a short-lived cookie that caches the session. Both are strictly necessary.
- Local storage in your browser for your theme, privacy mode, and surface preferences.
- No analytics, advertising, or third-party tracking cookies or scripts.
Your rights and choices
- Delete your account: Settings → Delete account. This deletes your synced data, devices, and public pages. Each team you own passes to its longest-standing admin, or member, or viewer if there is no admin or member; teams where you are the only member are deleted. Backups age out within 30 days.
- Delete one device's data: revoke the device in Settings and choose to delete the data synced from it, or run statsai sync --reset-remote on that device.
- Unpublish your public profile or projects at any time.
- Access, export, correction, and objection: you can see and edit most of your data in the dashboard. For a copy of your data or anything else, email hello@statsai.dev.
- We respond within 30 days. You can also complain to your local data protection authority.
Age
The service is not for people under 16, and we do not knowingly collect their data.
Changes and contact
We will update this page and its date when the service or this policy changes, and point out material changes on this page.
Questions about privacy: hello@statsai.dev.