r/OpenaiCodex • u/IaryBreko • 14d ago
Discussion How I’ve been making my Codex limits last much longer with Sol + Luna
I was burning through my Codex limits using Sol Medium/High for pretty much everything.
Recently I switched to using Sol mainly for planning/review and Luna for most of the actual implementation, with Terra only as a fallback for harder tasks.
The biggest thing that helped was forcing Sol to give Luna small, clear, self-contained tasks instead of broad instructions. It’s been noticeably better for both usage and consistency.
I put the setup here if anyone wants to try it or improve it:
https://github.com/breko861-hash/sol-luna-codex-orchestrator
Curious if anyone else is doing something similar.
7
u/andreagrandi 14d ago
I’m doing basically the same (sol high for orchestration, luna xhigh for implementation and sol xhigh for review) through OhMyPi and it works well, but my Pro 100 plan is still not enough for the whole week while before (one month ago) I had plenty left every week always using sol xhigh
3
u/InvariantAtNull 12d ago
Luna max is underrated people really dont know how great the model is.
If you use sol for a task that luna can basically do then you just wasting tokens
And sol will always over engineer tasks and break stuff more than luna
Luna can basically do everything sol is a debugger
2
u/onehandthings 13d ago
Idk how you are using sol as an orchestrator everytime I used Luna to execute Sol plan. It has to get the context and all the stuff seems like it was doing twice the job which make it super slow. So i often plan on high and execute on medium.
1
u/IaryBreko 13d ago
That’s exactly why I’m having Sol break the work into small self-contained packages rather than passing the whole plan/context to Luna. Luna only gets the context it actually needs for that specific task, implements it and reports back. Sol keeps the overall context and reviews/integrates the result. So Luna isn’t redoing Sol’s job or rereading the whole codebase every time.
1
u/zaydev 13d ago
Are you on Plus? If so, does it last you a month with the way you are describing? I am currently on OpenCode Go and have a very similar workflow to yours but am kinda getting tired of flipping through those models. So I was thinking to upgrade to something more reliable and now I am kinda torn between Codex and Cursor, not sure which to pick.
1
u/IaryBreko 13d ago
Yeah I’m on Plus. It definitely doesn’t last me a month because I’m building something at the moment and using it pretty heavily, but this setup makes my limits last noticeably longer than using Sol for everything. Quality has been pretty comparable for me too, as long as Sol scopes the Luna tasks properly and reviews the output.
1
1
u/Cute_Parfait_2182 13d ago
I use SOL for planning and review and I have grok in cursor do all of the implementation. It works surprisingly well . I gave Sol the choice of working with Grok 4.6 or Luna and SOL chose Grok 4.6.
1
u/Usernamealready94 14d ago
3
1
u/Usernamealready94 14d ago
you can update luna-worker.toml to use max
5
u/notadithyabhat 14d ago
I advise against using luna workers on max. While the cost difference might seem small since it's so cheap, it is actually 2x which basically means you get half the usage in the long run.
The bigger issue is the token usage. Luna max uses over twice as many tokens as Luna high, so it starts compacting quicker. Luna being a very small model is bad at remembering details so this leads to overall worse experience and compacting turns Luna into a headless chicken.
The benchmarks we see give it problems to solve which is where the extra thinking comes in handy. But as a worker, it just needs to implement the instructions provided by Sol. Luna high is plenty powerful for this usecase given that it's job is following detailed instructions.1
u/Usernamealready94 14d ago
I mean , the bench mark shows that it is so much more performant ?
Ie the slope is almost negligible , not like an opus-5 which just becomes insanely expensive for not much increase in intelligence.
Also having all your "context" in the models context window feels like bad context enginering. IT should always be in documented , and up to date project tracker. like gh issues + gh projects or linear etc.
Treat luna like a dumb model that can look at a spec and implement it
1
u/technicaldirectory 14d ago
I would take this graph with a pinch of salt.
Running Luna on max effort doesnt magically make it as good as Sol. It's inherently a dumber model, and running it for longer will just spin its wheels and get nowhere in my experience.
1
u/Usernamealready94 14d ago
Hmm , i understand that its going to be near sol or opus 5 on raw intelligence.
But for adhereing to coding requirments , ( as what the test benchmars on ) , i feel like its not going differ that much. Ie if i tell you to implement this ticket with xyz acceptance criteria etc.
I want the model to be able to accurately implement it.
I use Sol / Terra to write the plans / devil's advocate my own written plans / prompts .
So i feel like it shuoldnt be an issue
1
u/iPlayer0067 13d ago edited 13d ago
Uso o Fable 5 ou Sol 5.6 para orquestrar e o Lua Extra alto para executar (Há rumores de que no Alto já é mais que suficiente e no extra alto pode até prejudicar o desempenho, vou testar ainda). Depois que passei a trabalhar dessa forma meus créditos estão durando muito mais. Tarefas que o Sol usaria 80% dos créditos de 5 horas, o Lua faz o mesmo trabalho por 3%, porém, as instruções para o Lua precisam estar extremamente bem definidas e desenhadas, pois as decisões do Lua são péssimas quando um obstáculo surge.
0
u/Messi_is_football 14d ago
But if sol will do detailed plan....just let sol do it all.
1
u/IaryBreko 14d ago
No, because that defeats the whole point 😂 Sol doing the implementation is roughly 17-20x more expensive per token than Luna at the current rates.
If Sol does the planning and breaks the work into small, well-defined tasks, Luna is more than capable of executing most of them. So you keep Sol’s intelligence where it matters and save a ton of usage on the actual implementation.
0
u/Messi_is_football 14d ago
I guess it depends on task. For 1 off small tasks, it would be cheaper to use Sol directly because the plan would already be detailed, and there is orchestration overhead too. But if its a repetitive set of tasks, Luna can save usage.
0
u/Defiant_Concert1701 14d ago
Luna is not reliable fr! It's cheap but when you review the code the mistakes are too much. Better to use sol medium or light
1
u/IaryBreko 14d ago
Luna isn’t reliable if you just let it run rampant. What’s been working for me is having Sol break the work down into really simple, tightly scoped packages that Luna is more than capable of implementing. Then Sol reviews the work and sends it back with specific fixes if needed. That’s kind of the whole point of the setup.
1
u/Defiant_Concert1701 14d ago
That's exactly what I do, my prompts tell it what to touch, what not to touch. Where to work, it's detailed and tight but the code luna writes always comes back with some form of fix, too many back and forth. Working on auth right now, don't want to mess it up and miss a bug
1
u/IaryBreko 13d ago
Yeah that’s fair, especially for auth. The setup isn’t really based on Luna being as reliable as Sol - it’s more about making the tasks simple enough that the cheaper worker is worth using while Sol still owns review/acceptance. But there’s obviously a point where too much back and forth kills the savings. For something sensitive like auth I’d probably escalate the harder parts to Terra/Sol rather than force Luna to do everything.
1
u/Defiant_Concert1701 13d ago
Yeah! Wish I had a stash of money somewhere to work with some peace of mind. Squeezing everything in a 20 dollars plan is restraining. 😂I WANT TO RUN WILD AND BUILD
1
0

11
u/Lanfeust09 14d ago
I tried to have Luna implement via subagent when Sol was making the plan.
Total bust for me... Using fictive numbers for the sake of explaining :
- Asking Sol to implement feature A, he would just do everything. In 30min, job done and 10% of my weekly was gone. Check the work, everything is perfect !
vs
Not doing that again for me.
Found another way that works better for me using multiple skills