# Swarm Rider Leaderboard

> Source: <https://swarm-rider.github.io>
> Published: 2026-12-03 00:36:45+00:00

**Key takeaway:** The join script reads token counts from Claude Code, Codex CLI, Gemini CLI and OpenCode logs and submits a daily pull request, counting cache reads as part of the total, which dominates usage for heavy agent work.

# Rider Leaderboard

AI coding tokens burned in **December 2026**: Claude Code, Codex, Gemini CLI, OpenCode.

```
curl -fsSL https://raw.githubusercontent.com/swarm-rider/swarm-rider.github.io/main/tools/join.sh | sh
```

| 1 | [titojankowski](https://github.com/titojankowski) claude-code | 975.2M | Rider | 

Swarm Rider 10B+ · Squad Rider 1B+ · Rider 100M+ · Tadpole Rider · [how it works](#how)

### What this is

A board of how many tokens people burn with AI coding agents in one month. One agent in one chat does not get far up it. You climb by running many agents at once: rival builds, reviewers, verifiers, all working in parallel. A **Swarm Rider** passes 10B tokens in a month.

- **Swarm Rider** : 10B+ tokens
- **Squad Rider** : 1B+ tokens
- **Rider** : 100M+ tokens
- **Tadpole Rider** : under 100M

This board is for **December 2026** only. After the month ends, we look at where everyone landed.

### What the join command does

1. Forks this repo to your GitHub account and puts a copy in `~/.swarm-rider/repo` .
2. Reads the token counts from your coding agents' logs, on your machine. It reads numbers, model names and times. It never reads your prompts or code.
3. Writes one small file, `entries/<you>/<month>.json` , and sends it as a pull request.
4. Schedules the same update once a day: launchd on a Mac, cron on Linux. If the Mac is asleep at that time, it runs when the Mac wakes.
5. The board checks your pull request, merges it by itself, and rebuilds this page.

You need `git`, `python3` and the [GitHub CLI](https://cli.github.com), logged in with `gh auth login`.

### What leaves your machine

Only this file, in a public pull request:

```
{
  "handle": "octocat",
  "month": "2026-12",
  "total_tokens": 974920000,
  "input_tokens": 120000,
  "output_tokens": 5800000,
  "cache_creation_input_tokens": 49000000,
  "cache_read_input_tokens": 920000000,
  "messages": 9000,
  "models": ["claude-opus-5-5"],
  "sources": {"claude-code": 974920000},
  "updated": "2026-12-02"
}
```

### What counts

| Tool | Logs it reads | 
|---|---|
| Claude Code | `~/.claude/projects/**/*.jsonl` , subagents included | 
| Codex CLI | `~/.codex/sessions/**/*.jsonl` | 
| Gemini CLI | `~/.gemini/tmp/*/chats/*.json` | 
| OpenCode | `~/.local/share/opencode/opencode.db` | 

Tokens = fresh input + output (reasoning included) + cache writes + cache reads, added up over every tool. For heavy agent use, cache reads are most of it. Repeated log lines count once.

Claude Code deletes its logs after about 30 days, so a month's number never goes down: the daily update keeps the bigger count.

### Why you can trust the board (mostly)

- Every pull request is checked by the code already on `main` , never by code from the pull request. It may change only`entries/<its author>/` , and the numbers must add up.
- The numbers themselves are self-reported. Nobody can prove them. Honor system: do not inflate them.

### Stop

This stops the daily update. Your entries stay on the board.

```
curl -fsSL https://raw.githubusercontent.com/swarm-rider/swarm-rider.github.io/main/tools/join.sh | sh -s -- --leave
```

### The code

- [tools/join.sh](https://github.com/swarm-rider/swarm-rider.github.io/blob/main/tools/join.sh) : the join command
- [tools/daily.sh](https://github.com/swarm-rider/swarm-rider.github.io/blob/main/tools/daily.sh) : the daily update
- [tools/count.py](https://github.com/swarm-rider/swarm-rider.github.io/blob/main/tools/count.py) : reads the logs and adds up tokens
- [.github/workflows/check-submission.yml](https://github.com/swarm-rider/swarm-rider.github.io/blob/main/.github/workflows/check-submission.yml) : checks and merges pull requests
- [tools/build.py](https://github.com/swarm-rider/swarm-rider.github.io/blob/main/tools/build.py) : builds this page
- [The whole repo](https://github.com/swarm-rider/swarm-rider.github.io) . Want another tool counted? Add a reader to`tools/count.py` with a test.
