| Claude Code | Codex | |
|---|---|---|
| Cost at API prices | $24.07 | $67.48 |
| Tokens processed | 67.9 M | 49.6 M |
| Agent working time | 3 h 27 min | 2 h 44 min |
| Tool calls | 266 | 364 |
| Length of the master | 50.2 s | 44.9 s |
| Corrections | 0 | 0 |
| Paid for anything extra | Yes, with my permission: one Nano Banana image, $0.039 | No, all free and local |
Claude Code vs Codex, in numbers.
I gave Claude Code and Codex the same take with the same brief: everything I ask for out loud is an effect, and how to do it is up to them. This is what each one spent, taken from their own logs.
01The numbers, side by side
⌄
The numbers, side by side
02Where the cost comes from
⌄
Where the cost comes from
Claude Code used more tokens and still cost almost three times less. 98% of both agents' tokens are context the agent rereads from the cache at every step, and rereading costs five times more on GPT-6 Astra: $1 per million against $0.20. That's where $35 of the $43 difference comes from.
| Price per million tokens | Opus 5.5 | GPT-6 Astra |
|---|---|---|
| Input | $4 | $10 |
| Cache read | $0.20 | $1 |
| Cache write | $8 (1 h cache) | $12.50 |
| Output | $20 | $50 |
| Tokens: cache read · new · output | 66.96 M · 0.75 M · 0.23 M | 48.45 M · 0.95 M · 0.19 M |
03Tools, task by task
⌄
Tools, task by task
They started from the same material and the same installed tools. Both edited with Remotion and chose Three.js for the 3D. Where they split the most was the background.
| Task | Claude Code | Codex |
|---|---|---|
| Editing | Remotion both | Remotion |
| 3D logos | Three.js: Claude extruded from its official SVG, and Codex's official icon on a 3D piece both | Three.js: both extruded from their official SVGs |
| Cutting me out of the background | RobustVideoMatting, at 1080x1920 both | RobustVideoMatting, masks at 360x640 |
| Transcription | Whisper large-v3-turbo, locally both | Whisper large-v3-turbo, locally |
| Tracking my hands | MediaPipe Hands | OpenCV, and by hand for the throw |
| The room without me | The real wall + Nano Banana for the gap, with my permission | Stable Diffusion locally, free, and it removed the chair |
| Subtitles | Inside Remotion | Burned in with ffmpeg |
| Sound effects | Synthesized in code both | Synthesized locally |
Skills both of them read
Remotion's official skills and my editing skill, only as a reference for subtitles and branding.
Only Claude Code
Used the Nano Banana skill once, to generate the part of the room I was covering.
04Do it yourself, step by step
⌄
Do it yourself, step by step
This is how I prepared mine, in order. What changes the result the most happens before you open the agent: the script for the take and how you record.
- Write the script for the take. A list of commands and, for each one, what you say, the gesture and the effect you want. The first line has to work on its own, because it's your hook. Save it as
take-script.md. Three of mine:- “Put the Claude logo here, in 3D.” · open palm facing up · the logo floating above your hand
- “Hide me.” · you cover your face · you disappear from the shot
- “Full screen.” · finger snap · back to the full shot
- Record it with the edit in mind. Vertical, 4K at 60 fps and on a tripod: the camera doesn't move for the whole clip. A lavalier mic, so both hands are free. A medium shot with room on the sides, so your hands don't leave the frame when you open your arms. Start with 3 seconds of empty shot, without you: it's the clean background the effects where you disappear need. Between commands, hands down for a second, and after each command hold the gesture for a second and a half in silence: that's where the effect goes.
- Prepare the folder. The clip,
take-script.md, alogos/folder with the official logos of every brand you name (from each one's press kit) and your videos if any command uses them. - Open the agent in that folder and paste the prompt. I used Claude Code with Opus 5.5 on medium effort; Codex with GPT-6 Astra did it too. Fill in what's between square brackets.
- Review at every phase. First the list of effects with their seconds: this is where almost everything gets fixed. Then the first effect, which sets the style for the rest. At the end, the master. Ask for specific changes (“bring the logo in 3 frames earlier”, “bigger”) and not a “make it better”.
- Expect it to take a few hours. For me, a video under a minute took the agent 3 h 27 min of work, and at API prices it would have been about $24 with Claude Code.
05The prompt, ready for your clip
⌄
The prompt, ready for your clip
It's the same brief I gave both of them, with the same freedom: what I want, not how to do it. With that freedom they did their best work; both chose their own tools and almost matched. What was specific to my project is now gaps in square brackets for yours, and I've added two things I learned in the test: recording the empty shot and checking the sync before the master.
Edit my clip [clip-name.mov] (vertical video for [TikTok / Instagram], in [language]). Work only in this folder. If it's a git repo, work on a new branch, never use git add -A and don't merge anything into main without my OK. Before anything else, read take-script.md: the commands I give in the clip, each one with its gesture and the effect I'm asking for. Everything you need is in this folder: - [clip-name.mov]: the raw footage. Don't move it, delete it or modify it. - logos/: the official logos of the brands I name. Don't recolor or distort them. - [my-videos/]: my own videos, for the commands that use them. The brief: in the clip I ask for effects out loud, one after another, each one with its gesture. Everything I ask for is an editing instruction. Do them all, as well as you can: it has to look spectacular, and every effect has to land right on its gesture. How is up to you. Use whatever tools you need: - I already have installed: [ffmpeg, Remotion, RobustVideoMatting to cut me out of the background, Whisper to transcribe and Playwright]. Put what you have, and where it is. - Remotion has official skills for agents at github.com/remotion-dev/skills: read them if you're going to use Remotion. - If you're missing something free (hand tracking, 3D, layer cut-outs, background fill), install it inside this folder or in its own environment, never globally, and write it down. If something is paid or needs an account, ask me first. What I already know about the clip: - [What's spare at the start and the end.] - [Words the transcription might get wrong. Example: where I say "Cloud" it's "Claude".] - [If I repeated a command: keep the best one.] - The first 3 seconds are the empty shot, without me: it's the clean background for the effects where I disappear or get split into layers. The camera doesn't move for the whole clip. - [If a command asks to explain something on screen, the exact content. Example: "CRISPR in three steps: the album, the scissors and the writing".] - Subtitles in [language] burned in, at the bottom, except when there's an effect at the bottom. Phases: 1. Transcribe the clip and give me the list of effects with their exact second and how you plan to do each one (which tool). Wait for my OK. 2. Do the first effect and show it to me. Wait for my OK. 3. Do the rest. Before giving me the master, look frame by frame at the moment of each effect and check that the voice is in sync with the image; fix whatever you see and deliver it. Deliver, in this folder: - the master with subtitles ([1080x1920], [60] fps); - the same master without subtitles, with the same timing; - an edit list: which second of the raw footage goes at which second of the master. Don't change the speed of the clip; - a short INFORME.md: which tool you used for each effect, what you installed and what didn't work out and why.
06How I measured it
⌄
How I measured it
Tokens and cost
From each session's local log: the usage of every response in Claude Code and Codex's last counter before finishing the edit. Anthropic's official prices; OpenAI's, from two sources that match.
Time
The same method for both: from each message of mine to the agent's last action before the next one. It doesn't count how long I took to answer. Both worked at the same time on the same computer.
Corrections
Zero for both: no effect had to be redone.
What it doesn't measure
Which one edited better. You decide that by watching the video.