At a glance
| Role | Sole engineer and product owner |
| Period | March 2026 to today, about 1,320 commits across 6 repositories |
| Product | macOS menu bar app plus web dashboard, free for individuals, $4.90 per seat per month for teams |
| Stack | AWS serverless (Lambda, API Gateway, SQS FIFO, DynamoDB, Cognito, EventBridge), RDS PostgreSQL, Swift, Next.js 16, Astro |
| Providers | Claude Code, Codex, Cursor, Mistral Vibe |
| AI | Claude Opus 4.6 usage advisor, Claude Haiku 4.5 game characters |
| Scale | 32 Lambda functions, 5 CDK stacks, 98 SQL migrations, 8 queues, about 70 API routes |
Traction
LobsterOne is an invite-led product with heavy users. Since March 2026 it has tracked 1.93 billion tokens of AI coding work, $166k of API-equivalent spend and 4 million AI-written lines of code for 15 developers across the US, Australia and Germany.
| Metric | Value |
|---|---|
| Registered accounts | 39 |
| Accounts that sent usage data | 15 |
| Active in the last 30 days | 11 |
| Organizations with team dashboards | 2 |
| Tokens tracked (input + output, cache excluded) | 1.93 billion |
| Cached input tokens read | 217 billion |
| API-equivalent cost tracked (Claude Code) | $165,800 |
| Claude Code sessions | 20,525 |
| Lines of code added by AI tools | 3.98 million |
| Commits and pull requests made by AI tools | 13,761 and 1,957 |
| Raw usage records stored (last 90 days) | about 176 million |
Usage jumped in July 2026, when 17 new accounts signed up and active developers went from 5 to 14. Figures are from the production database on 16 October 2026. One internal admin account is included.
The product
A developer installs the Mac app and signs in with email or GitHub. The app sets up Claude Code to send its usage data to LobsterOne, and reads the local session files that Codex and Mistral Vibe write. The menu bar then shows today's tokens and how much of the plan's quota is used, for example 7.6M / 33%, based on the real 5-hour and weekly limits from Anthropic and OpenAI.
The web dashboard shows usage by day, model and session, plus cost, lines of code, commits and pull requests. A GitHub connection matches commits to AI-assisted sessions. An advisor built on Claude Opus reviews a user's habits and suggests changes.
Leaderboards and achievements are what bring people back. There are 14 leaderboards (global, by organization, country, role and more) and 113 achievements. Teams get a private leaderboard and team analytics, and anyone can opt out of public boards.
The hardest part was the data. Each tool reports usage its own way, some as running totals and some as increments, and users compare every number with what their terminal says. Getting those numbers right took more work than any screen.
Architecture
I chose a serverless setup on one AWS account so that one person could run it cheaply. Six repositories deploy automatically from GitHub Actions on every push to main, and database changes run before each deploy. Everything runs on Lambda except the database. Uploads are accepted quickly and queued, and slower work (converting totals, daily summaries, leaderboard snapshots, email) happens behind the queues. One small PostgreSQL database holds everything, because the load is many tiny writes with little heavy computation.
The ingest pipeline
The upload endpoints only check the key and queue the data, so a burst of uploads never hits the database directly. Each device's data is processed in order, because turning running totals into increments only works if the points arrive in sequence. The 7 and 30 day views read daily summaries. Only the Today view reads raw data, so it can start at each user's local midnight.
One data model for every AI tool
Each tool's own metric names map onto one shared set (tokens, cost, sessions, lines of code), so dashboards and leaderboards never depend on a specific vendor. Adding a tool takes a configuration entry, plus a scanner in the Mac app when the tool does not send usage data itself.
| Provider | How usage arrives | What it took |
|---|---|---|
| Claude Code | Usage data sent straight from the tool | Detecting on each upload whether counts are totals or increments, and reading cost and tokens per request |
| Codex | The Mac app reads Codex's local session logs and sends increments | Separating cached from fresh input, rebuilding lines of code from the code changes in the logs, and reading the real rate limits |
| Cursor | Same path as Claude Code | A configuration entry only |
| Mistral Vibe | The Mac app reads per-session totals from local files | Turning running totals into increments on the device |
What tracking several AI tools taught me:
- Know whether a number is a total or an increment. I traced a 15 to 20% token gap to Claude Code sending increments where my code expected running totals. Each upload is now checked, and I rebuilt the affected daily summaries from raw data, so the historical numbers are now correct.
- Pick one way to count tokens and explain it. Cached input can be 90% of a long session. LobsterOne counts input plus output, like several other trackers, and the menu bar explains why its number is lower than the terminal's.
- Never hardcode a vendor's limits. The Codex quota comes from OpenAI's own 5-hour and weekly percentages in the session logs. It is not estimated from another vendor's allowance.
Making it reliable
Users notice a wrong number faster than a slow page, so most of my work after launch went into accuracy and recovery. Each fix below came from a real production issue.
| Problem | Fix |
|---|---|
| A flood of Codex tracing data (85% of rows) filled the 100 GiB database | Ingest now filters that data out, the database has more storage headroom, and I wrote rules for replaying failed messages without counting them twice |
| An API key that dropped out of the cache was rejected on every upload, permanently | A job re-syncs the key cache with the database every 5 minutes, and the Mac app requests a new key after repeated rejections |
| GitHub sign-in worked only once per user, because the original user directory could not update a user's email | A second Cognito user pool that allows email changes, a gradual migration that keeps passwords, and sign-in checks that accept both pools |
| Australian users saw an empty "today" every morning when the UTC day rolled over | "Today" is calculated live from each user's local midnight, and the 7 and 30 day views read precomputed snapshots |
| Database deadlocks during an upload burst sent about 830 events to the failed-message queue | 752 were replayed with no errors, and every failed-message queue now raises an alarm on its first message |
| A session restart resets a running total, which simple subtraction reads as negative usage | A lower value is treated as a reset, and each device's data is processed in order |
Raw data is kept as received for 90 days, so daily summaries can be rebuilt from it. Every queue has a failed-message queue with an alarm.
Cost, pricing and growth
Running cost. The whole platform costs $70 to $85 a month on AWS, before tax. In June 2026 I cut the bill from $114 to $73 by simplifying the network setup and removing the database read replica. I kept the connection pooler (RDS Proxy), because without the replica it protects the small database from connection spikes when queues burst.
Pricing. Individuals use LobsterOne free. Teams are priced at $4.90 per seat per month for a private leaderboard, team analytics and admin controls.
Acquisition. The lobsterone.ai site has 68 articles on AI coding costs and habits. Invite and referral codes and shareable LinkedIn cards bring in new users, and automated emails cover onboarding, a weekly recap and update reminders. Every push to main builds, notarizes and ships a new Mac app version through automatic updates.
Outcomes
Working alone for seven months, I took LobsterOne from a command-line prototype to an analytics platform that covers four AI coding tools. It has tracked 1.93 billion tokens and $166k of AI spend, for about $80 a month in infrastructure.
- Shipped: a self-updating Mac menu bar app, usage tracking for four AI coding tools, a web dashboard with 14 leaderboards and 113 achievements, team analytics, a Claude-powered usage advisor, an admin backoffice and a marketing site.
- Accurate: raw usage data is kept as received, so a wrong summary can be rebuilt from it, and each fix only touches the tool it affects.
- Self-repairing: failed messages are kept and raise an alarm, the API key cache re-syncs every 5 minutes, and the Mac app repairs its own credentials.
What I learned:
- The numbers are the product. Users check them against their terminal, so every counting choice (cached tokens, totals or increments, time zone) has to be deliberate and explained.
- Treat every vendor's data as unstable. Tools add, rename and flood metrics between releases. Filter at the point of upload, and keep each tool's quirks out of shared code.
- Size infrastructure to real load. One micro-sized database, behind a connection pooler, holds about 176 million rows of usage data. The real risks were storage and connection spikes. CPU was never the problem.
