Codex vs Claude Code vs Kimi.What 619 real sessions showed.

For 165 days one operator ran all three on real work: client sites, Kubernetes clusters, pull requests. Here is what the logs say each one did, where it broke and how they handed off.

Claude Code410
Kimi137
Codex72

Three tools. Three different jobs.

Nobody assigned these roles on day one. They are what 14,886 typed prompts look like once you count them: one tool ran production, one took the long builds and one did the looking.

Claude Code ran production.

410 sessions and 510 working hours, more than the other two combined. Three of every four actions were shell commands, and it ran 531 of the 838 commands to open a pull request.

Kimi took the long builds.

137 sessions and 329 hours. A typical turn ran 2 minutes 24 seconds before it handed back, about three times as long as the others, and one action in five was reading or searching files.

Codex did the looking.

72 sessions and 109 hours. 42 percent of its actions were a browser, a screen or an image, and 65 of its 72 sessions ran outside any code repository.

619sessions
14,886typed prompts
947working hours
173,032tool calls made

It started as one tool. By November it was three.

In June every prompt went to Claude Code. Codex arrived on July 11 and Kimi a week later, first as experiments and then as habits. By November the typed prompts split 36, 25 and 39 percent between Claude Code, Kimi and Codex, and no single tool had a majority.

Prompts and hours tell different stories. In November Kimi took the fewest prompts and worked the most hours: 81, against 74 for Claude Code and 41 for Codex. A tool that is trusted with long, well specified jobs gets fewer instructions, not more.

Share of typed prompts, by month
Claude CodeKimiCodex
Prompts
June
100%
1,264
July
85%14%1%
3,494
August
71%29%
2,563
September
49%21%30%
2,373
October
45%23%32%
3,298
November
36%25%39%
1,894

The kind of work split just as cleanly. Claude Code and Kimi lived inside repositories: client platforms, our own products, this website. Codex almost never did. Its desktop app starts each conversation in a scratch folder, so its row shows where it ran, not what it touched. From there it still ran 705 kubectl commands and 460 ssh or scp commands.

Working hours by kind of workClaude CodeKimiCodex
Client sites and platforms192 h81 h0 h
Our platform, products and tooling174 h146 h2 h
Business admin and other ventures80 h77 h0 h
Company websites63 h24 h0 h
No repository: desktop and browser0 h1 h107 h

Same keyboard. Very different hands.

Every agent action is one of a few things: run a command, read a file, change a file, look at something, search the web or hand work to another agent. Count them and each tool has a signature. Claude Code is a shell operator. Kimi reads before it edits. Codex splits its time between the terminal and a screen, and it changed files through its patch tool only 278 times, against 7,084 edits for Claude Code and 6,043 for Kimi.

Share of actions, by kind
Shell commandsRead and search filesEdit filesBrowser, screen and imagesWeb searchHand off to another agentPlanning and housekeeping
Actions
Claude Code
74%8%8%6%0%0%3%
87,810
Kimi
56%21%11%4%2%0%6%
54,237
Codex
48%1%42%3%1%5%
30,985

None of this ran in a sandbox. The commands below went to production clusters, client servers and real repositories, and nobody approved them one by one: Claude Code ran in bypass-permissions mode, Codex with approvals set to never and Kimi in its auto mode. What makes that tolerable is written up separately, in Letting AI Agents Work on Production and Your Pipeline Agent Should Not Hold the Keys.

Shell commands runClaude CodeKimiCodexAll three
kubectl3,9102,5847057,199
ssh and scp2,3611,0104603,831
Cloud tools: gcloud, aws, az, terraform, helm5,7302,1595738,462
git commit2,0538363543,243
Commands to open a pull request53125156838
Commands to merge one59728458939

Each prompt bought more work as the year went on.

Divide working time by typed prompts and you get a rough price of attention: how many minutes of agent work one instruction buys. In June a prompt to Claude Code bought 2.3 minutes. In November it bought 6.5. Kimi went from 4.0 minutes in July to 10.2. Codex went from 1.8 in September to 3.3. The models changed underneath all three during those months and so did the operator, so we cannot say how much of the gain belongs to either.

Turn length shows the same character from another angle. A turn is one stretch of work between the agent starting and handing back. Kimi logged 46 turns longer than an hour against 44 for Claude Code, in about a quarter as many turns.

One turn of workClaude CodeKimiCodex
Turns measured8,2902,2361,567
Typical turn51 s2 min 24 s43 s
Nine turns in ten end within7 min 31 s18 min 27 s9 min 23 s
Turns longer than an hour44465
Longest single turn4 h 35 min5 h 02 min5 h 41 min

Long turns did not mean the operator waited. Between 28 and 38 percent of prompts were typed while the agent was still working, and one prompt in eight arrived with a screenshot attached.

Every one of them was replaced mid-task at least once.

The numbers above flatter all three. The prompt log does not. These are the failures that were common enough to count, in the operator's words as he typed them.

01

Claude Code: the favorite, when it has credits and stays brief.

It hit a usage or credit wall 24 times across 16 sessions, and it was stopped mid-turn 276 times, 3.3 percent of its turns and the highest rate of the three. Twice in September a task moved to Kimi, once because Claude Code failed and once because it was taking too long. The earliest complaints are about volume: reports nobody asked for and answers too long to hold in one's head. During a July security fix its safety filter also treated a legitimate vulnerability patch as suspect and dropped the session to a weaker model, often enough that the operator asked Kimi to count the times.

i'm having kimi take over because you were taking too long.
Typed to Claude Code, September 24
i need short answers i can actually hold in my head.
Typed to Claude Code, July 24
there's been a lot of markdown files created (i didn't ask for a single one)
Typed to Claude Code, June 30
02

Codex: sharp eyes, short breath.

Codex ran out of credits in 15 of its 72 sessions, about one in five. It also ran out of room: 61 percent of its sessions filled the context window at least once and had to be summarized to continue, against 29 percent for Kimi and 16 percent for Claude Code. Screenshots are heavy. It is the tool the operator swore at most, in 11 percent of prompts, and the one he repeatedly had to push to keep going.

credits added, spend my money wisely!
Typed to Codex, September 6
why do you keep giving up
Typed to Codex, November 17
clean up after codex
Typed to Kimi, October 8
03

Kimi: works all day, needs a second pair of eyes.

Kimi's turns ran the longest of the three, and it hit a usage limit in only 9 of its 137 sessions. It cannot check its own work the way Codex can: 3.5 percent of its actions involved looking at anything, so the other two were asked to review what it built. The recurring complaints are about care: a rule ignored, a change made live before checking, a stray line of Chinese in the output.

wtf i told you to work in staging PRs are for prod only
Typed to Kimi, October 6
can you run the browser like chatgpt does this somehow?
Typed to Kimi, October 16
what does the chinese mean?
Typed to Kimi, November 7
Friction, countedClaude CodeKimiCodex
Turns the operator stopped midway3.3%2.6%0.8%
Sessions that filled the context window16%29%61%
Sessions that hit a credit or usage wall16 of 4109 of 13715 of 72
Prompts containing profanity7.5%8.2%11.0%

The handoff is the hard part.

On 116 of the 161 days with any activity, more than one of the three was working. On 51 days all three were. More than one tool touched 23 of the 41 repositories, and consecutive sessions in them switched between Claude Code and Kimi 154 times.

None of them knows what the others did. Each session starts cold, with no memory of yesterday and no view into another tool's work, so the handoff ran through the transcripts themselves. The agents searched earlier sessions, their own and each other's, and the operator kept telling them to.

347of 619 sessions looked up an earlier session
3,918lookups of past sessions, made by the agents
313prompts that said to read the history first
267times a prompt named another tool
i want you to do the testing i want claude to work the code and verify its rollouts and you oversee SDLC and quality - and use the browser like a champ.
Typed to Codex, September 14
i think if you need to you could communicate to claude session via PR comments as you're both working on it.
Typed to Codex, October 31
can you take over? claude failed
Typed to Kimi, September 1

That lookup is a tool we wrote for ourselves and then published. Sessions is an open-source command line that searches every Claude Code, Codex and Kimi transcript on a machine, so one agent can read what another already tried. It also supplied the inventory of sessions counted on this page.

What we would tell another team.

Pick by the job, not by a leaderboard. This is how these logs would hand out the work.

Claude Codewhen the work ends in a terminal: deploys, clusters, pull requests
Kimiwhen the job is long, well specified and someone else will review it
Codexwhen somebody has to look: a screen, a vendor console, a logged-in browser

The operator's own ranking is on the record too, typed while this page was being drafted.

my favorite, but dont let that go to your head
Typed to Claude Code, November 22

One agent is enough when

  • The work lives in one repository, with tests that tell you when it is done.
  • Nothing needs a browser, a dashboard or a screenshot.
  • One plan covers your usage, so nothing stops when credits run out.

Three earned their keep here because

  • The work spans clusters, client sites, vendor consoles and documents.
  • Each tool hit a credit or usage wall at some point: Claude Code in 16 sessions, Codex in 15, Kimi in 9.
  • A second agent reviewing the first caught problems the first one could not see.

Every switch has a cost. The next tool starts cold, and the only cure we found is a searchable record of what the last one did.

Questions people ask us.

Is Codex better than Claude Code?

In these logs they were not doing the same job. Claude Code handled 410 sessions and 510 working hours, most of it shell work against live infrastructure. Codex handled 72 sessions and 109 hours, and 42 percent of its actions involved a browser, a screen or an image. We would not replace either with the other.

What is Kimi Code good at?

Long, well specified builds. Its typical turn ran 2 minutes 24 seconds, about three times as long as Claude Code or Codex, and it logged 46 turns longer than an hour. It needed review: only 3.5 percent of its actions involved looking at anything.

Can Claude Code, Codex and Kimi work on the same project?

Yes, with a record they can all read. More than one of them touched 23 of our 41 repositories. The handoffs ran through searchable session transcripts and pull request comments, because none of the tools can see another's history on its own.

How many tokens does this kind of work use?

About 31.3 billion in 165 days across the three tools. 97 percent of that was cached context being read again, turn after turn. The models wrote about 103 million tokens themselves.

How we counted.

Every figure comes from the transcripts the three tools write to disk as they work. Nothing was sampled or estimated.

Session

A conversation the operator started, with at least one typed prompt, begun between June 11 and November 22, 2026. 619 qualify. Empty sessions and the 782 subagent runs are not sessions. June and November are partial months.

Typed prompt

Text the operator typed, including messages sent while the agent was working. Slash commands, tool output, injected reminders and scheduled triggers are excluded.

Working hours

Time during which a session logged an event at least every five minutes. Longer silences count as idle.

Turn

One stretch of agent work, taken from each tool's own duration record. Kimi did not log turn durations before August and Claude Code logged them only partly in June, so turn figures cover fewer months than the rest.

Action

One tool call, including calls made by subagents. Codex batches several calls into one request; each call is counted. Command counts are attempts: shell commands that contain the call, whether or not they succeeded, so one command can land in two rows.

Checks

Typed prompt counts matched the Sessions CLI exactly on nine sampled sessions. Claude Code token totals came out up to 8 percent below the tool's own counter on eight sampled sessions.

What this cannot tell you

One operator

One person at one company typed every prompt. His habits are in every number.

Not a benchmark

The work was not assigned at random. Each tool got the jobs the operator thought it suited, so this is a record of use.

Moving targets

The models changed during the window: Claude Code from claude-opus-4-6 to claude-fable-5-2, Codex from gpt-5.6-sol to gpt-6-astra, Kimi from k3 to k3.1-pro. Plans, prices and limits change by the month.

Small samples

Work per prompt leaves out any month in which a tool received fewer than 100 prompts, which drops Codex in July. One early Kimi session logged no message times, so its 6 prompts are dated by the day the session started.

Blunt measures

Profanity says little about quality. The operator swears when he is pleased too.

Privacy

No client names appear here, and no prompt text beyond the lines quoted. Quotes are as typed.

Your agents already wrote the history.

Sessions makes it searchable: every Claude Code, Codex and Kimi transcript on your machine, from the terminal or from inside the next agent. Free and open source.

npm install -g @udx/sessions