Anyone have any anecdotes on how expensive this is to operate, ie compared to performing the same task via Claude Code?
A one line change, that took a decent amount of reasoning to get to for a large codebase, cost $3.57 just now. I used the o3 model. The quality and the reasoning was excellent. Cheaper than an engineer.
OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
241–250 of 298 posts
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#242Earlier quoted context omitted.
Not really, repo map only gives LLMs an overview of the codebase, but aider doesn't automatically bring files into the context - you have to explicitly add the files you wish for it to see in their entirety to the context. Claude Code/Codex and most other tools do this automatically, that's why they're much more autonomous.
Aider regularly asks me the authorization to access files that I didn't explicitly add.
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#243Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#244Earlier quoted context omitted.
Why not just select Gemini Pro 2.5 in Copilot with Edit mode? Virtually unlimited use without extra fees. Copilot used to be useless, but over the last few months has become quite excellent once edit mode was added.
copilot (and others) try to be too smart and do context reduction (to save their own wallets). I want ENTIRETY of the files I attached to context, not RAG-ed version of it.
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#245Earlier quoted context omitted.
Claude Code has a closed license https://github.com/anthropics/claude-code/blob/main/LICENSE.... There is fork named Anon Kode https://github.com/dnakov/anon-kode which can use more models and non-Anthropic ones. But the license is unclear for it. It's interesting to see codex to be Apache License. Maybe somebody extends it to be usable with competing models.
In terms of terminal-based and open-source, I think aider is the most popular one.
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#246Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#247I tried one task head-to-head with Codex o4-mini vs Claude Code: writing documentation for a tricky area of a medium-sized codebase. Claude Code did great and wrote pretty decent docs. Codex didn't do well. It hallucinated a bunch of stuff that wasn't in the code, and completely misrepresented the architecture - it started talking about server backends and REST APIs in an app that doesn't have any of that. I'm curiou…
recommended read - https://transluce.org/investigating-o3-truthfulness
I wonder if this is what's causing it to do badly in these cases
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#248Earlier quoted context omitted.
> Its not cheap, but its by far the best, most consistent experience I have had. It’s too expensive for what it does though. And it starts failing rapidly when it exhausts the context window.
I keep seeing this sentiment and it's wild to me. Sure, it might cost a few dollars here and there. But what I've personally been getting from it, for that cost, is so far away from "expensive" it's laughable. Not only does it do things I don't want to do, in a _super_ efficient manner. It does things I don't know how to do - contextually, within my own project, such that when it's done I _do_ know how to do it. Like…
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#249Benefit of clai: you can swap out to practically any model, from any vendor. Just change `-cm gpt-4.1` to, for example, `-cm claude-3-7-sonnet-latest`.
Detriments of clai: it's a hobby project, much less flashy, designed after my own usecases with not that much attention put into anyone else
Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal
#250Earlier quoted context omitted.
Claude Code is just way too expensive. These days I’m using Amazon Q Pro on the CLI. Very similar experience to Claude Code minus a few batteries. But it’s capped at $20/mo and won’t set my credit card on fire.
Is it using one of these models? https://openrouter.ai/models?q=amazon Seems 4x costlier than my Aider+Openrouter. Since I'm less about vibes or huge refactoring, my (first and only) bill is <5 usd with Gemini. These models will halve that.
It's very much a "Claude Code" in the sense that you have a "q chat" command line command that can do everything from changing files, running shell commands, reading and researching, etc. So I can say "q chat" and then tell it "read this repo and create a README" or whatever else Claude Code can do. It does everything by itself in an agentic way. (I didn't want to say like 'Aider' because the entire appeal of Claude Code is that it does everything itself, like figuring out what files to read/change)
(It's calling itself Q but from my testing it's pretty clear that it's a variant of Claude hosted through AWS which makes sense considering how much money Amazon pumped into Anthropic)