Live data from Hacker News

OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

github.com

251–260 of 298 posts

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#251

Earlier quoted context omitted.

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.

No, Amazon Q is using Amazon Q. You can't change the model, it's calling itself "Q" and it's capped to $20 (Q Developer Pro plan). There is also a free tier available - https://aws.amazon.com/q/developer/ 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 t…

I felt Sonnet 3.7 would cost at least $30 a month for light use. Did they figure out a way to offer it cheaper?

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#252

Earlier 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.

> Upgrade apps in a fraction of the time with the Amazon Q Developer Agent for code transformation (limit 4,000 lines of submitted code per month) 4k loc per month seems terribly low? Any request I make could easily go over that. I feel like I'm completely misunderstanding (their fault though) what they actually meant. Edit: No I don't think I'm misunderstanding, if you want to go over this they direct you to a pay-p…

You are confusing Amazon Q in the editor (like "transform"), and Amazon Q on the CLI. The editor thing has some stuff that costs extra after exceeding the limit, but the CLI tool (that acts similar to Claude Code) is a separate feature that doesn't have this restriction. See https://aws.amazon.com/q/developer/pricing/?p=qdev&z=subnav&..., under "Console" see "Chat". The list is pretty accurate with what's "included" and what costs extra.

I've been running this almost daily for the past months without any issues or extra cost. Still just paying $20

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#253

So, OpenAI’s Codex CLI is Claude Code, but worse? Cursor-Agent-Tools > Claude Code > Codex CLI https://pypi.org/project/cursor-agent-tools/

This tool has nothing to do with Cursor.

Very misleading to use popular brand like that, possible scam.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#255

Earlier quoted context omitted.

No, Amazon Q is using Amazon Q. You can't change the model, it's calling itself "Q" and it's capped to $20 (Q Developer Pro plan). There is also a free tier available - https://aws.amazon.com/q/developer/ 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 t…

I felt Sonnet 3.7 would cost at least $30 a month for light use. Did they figure out a way to offer it cheaper?

I don’t know what Amazon did - but I use Aider+Openrouter with Gemini 2.5 pro and it cost 1/6 of what sonnet 3.7 does. The aider leaderboard https://aider.chat/docs/leaderboards/ - includes relative pricing theses days.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#256

Earlier quoted context omitted.

I've ended up with $5K+ in a month using sonnet 3.7, had to dial it back. I'm much happier with gemini 2.5 pro right now for high performance at a much more reasonable cost (primarily using with RA.Aid, but I've tried it with Windsurf, cline, and roo.)

That's the largest I've heard of. Can you share more detail about what you're working on that consumes so many tokens?

It's really easy to get to $100 in a day using sonnet 3.7 or o3 in a coding agent.

Do that every day for a month and you're already at $3k/month.

It's not hard to get to $5k from there.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#258
post #225

Earlier quoted context omitted.

That may be, but I think tools with a fixed monthly fee are always going to have an incentive to reduce their own costs on the backend and route you toward less capable models, cut down context size, produce less output, stop before the task is truly finished, etc. Given how much time these models can save me, I'd rather optimize for capability and just accept whatever the price is as a cost of doing business. (Withi…

It's literally the same model. I can build more complex stuff in windsurf as the IDE is better than Cline/Roocode integration in vscode. It's still the same model under the hood. Sonnet 202500219 I mean, you pour money down the drain if you think it's helping, have at it :P

It's the same model but not necessarily the same context. Like he said, those tools try to be very 'smart' with context to save costs.

You're not actually getting all the files you add in the context window, you're getting a RAG'd version of it, which is generally much worse if the un-RAG'd code is still within the effective context limit.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#259
post #143

These days, I usually paste my entire (or some) repo into gemini and then APPLY changes back into my code using this handy script i wrote: https://github.com/asadm/vibemode I have tried aider/copilot/continue/etc. But they lack in one way or the other.

Isn't this similar to https://aider.chat/docs/usage/copypaste.html

Just checked to see how it works. It seems that it does all that you are describing. The difference is in the way that it provides the files - it doesn't use xml format.

If you wish you could /add * to add all your files.

Also deducing from this mode it seems that any file that you add to aider chat with /add has its full contents added to the chat context.

But hey I might be wrong. Did a limited test with 3 files in project.

Post reply on HN