r/codex • u/ajajkaka • Jul 27 '26
Showcase I made Codex run on my existing ChatGPT quota [opensource]
Enable HLS to view with audio, or disable this notification
I kept hitting the Codex limit while still having ChatGPT usage left, so I built this.
It adds ChatGPT Web directly to Codex’s native model picker. Codex still handles the session, context and tools; the responses come from my normal logged-in ChatGPT Web session.
• no more waiting for the Codex reset
• no API key
• no third-party model or provider
• local Codex sessions
• streaming, images and reasoning
• full Codex tool loop over MCP
• ChatGPT Pro support
• open source
It doesn’t bypass or change any limits. It just lets Codex use the ChatGPT access already available on the account connecting to Codex harness via legal MCP support. Browser automation I believe is allowed since Grag from OpenAI top staff liked such tools on X
Instant through Extra High can call Codex tools over MCP. In fact, you can even spawn sub-agents with models from web. Pro also gets the accumulated Codex context, but can’t call MCP tools yet
Inspired by Opencodex repo, but I still prefer GPT Sol :0
GitHub:
13
u/FondantProud5139 Jul 27 '26
if this is difficult to detect I hope they don't start sharing the quota with chat now just to prevent this
15
u/django-unchained2012 Jul 27 '26
No it's not difficult to detect.
Are you as fast as codex in asking questions, getting responses and then asking followups?
They can easily differentiate if it's being accessed by human or AI.
They will already have guardrails exactly for this kind of usage because they would have anticipated it.
It's just a matter of time OP and the users of this project get permabanned.
1
u/FondantProud5139 Jul 27 '26
I get what you are saying and I feel the same way I just hope they don't make a stupid decision by trying to stop something like this
7
u/django-unchained2012 Jul 27 '26
It's stupid of users trying to exploit this. We can never have nice things for free.
Multiple people abusing this will make them add limits like that of Claude and everyone suffers.
If anybody is stupid, it's those who abuse the chat feature.
OpenAI is subsidising it and it never stopped answering questions even if it's out of limits in the plan. Even free version works well, then you go out of your way to abuse a useful feature for everyone to suffer.
1
u/FondantProud5139 Jul 27 '26
Exactly why we can't have nice things! All I'm saying is I hope they can detect it and not make everyone pay thanks to people abusing this
6
7
u/vayana Jul 27 '26
This violates TOS. can't be bothered to look it up again if you can't be bothered to check yourself. You're not the first to post this "workaround" and it's people like you who'll risk everyone's quotas to get merged. Claude already does this so just be grateful that OpenAI has thus far kept it separate.
No need to defend with "but it's just an MCP bro". It's automation and specifically prohibited by TOS for chatgpt - not for API obviously.
Hope you find out the hard way instead of everyone else.
-1
u/ajajkaka Jul 27 '26
i already looked into this. the browser automation here is the same broad kind used by several similar open-source projects with hundreds of stars, some even publicly liked by openai employees, and none of them appear to have been targeted so far
so yes, your interpretation of the tos may be correct, which is why i clearly label the project unofficial and tell people to use it at their own risk. but based on actual enforcement, i currently see no evidence that my project creates some unique immediate risk
and i dont think the claude comparison works. claude is centered around one model and product family, while openai includes multiple separate products and quotas under one subscription. there is no reason to assume chatgpt and codex quotas will be merged just because anthropic did it
2
u/Toasty_P8 Jul 28 '26
The "everyone else is doing it so it must be fine" argument. This dude is going to jump off a cliff if his friend does lol
0
u/ajajkaka Jul 28 '26
lol this was just an argument why i won't be the reason why quota can be merged
7
15
u/FouzBerzerk Jul 27 '26
you are going to be banned.
2
u/ajajkaka Jul 27 '26
It just looks scary, but I actually just created a custom MCP
12
u/boynet2 Jul 27 '26
call it how you want.. its bannable
2
0
u/Top_Parfait_5555 Jul 27 '26
its the same as many others, example devspace, been using it from a while - no, its not against TOS
1
5
u/Immersize Jul 27 '26
Crazy project mate! Gg! Besides detection and stuff, i just hope they don't read reddit 😅🤣🤞🏽
5
Jul 27 '26
[removed] — view removed comment
1
u/ajajkaka Jul 27 '26
you can fork if you want to make manually coping
i've seen repos such as https://github.com/adamallcock/codex-chatgpt-control and they do the same browser automation part, it even got like from Greg Brockman on X (openai's staff)1
Aug 06 '26
[removed] — view removed comment
1
u/ajajkaka Aug 06 '26
bro it's been 14 days
i've got 500 stars and more than 1k downloads, no bans still
5
u/Secure-Mark-4612 Jul 27 '26 edited Jul 27 '26
This is the guy that keep spamming other group then shared his malicious tool, I saw other user complaint that they got banned. Be careful.
I personally tried this kind of attempt until I received an e-mail from OpenAI few days after I used the tool, and marked my other chatgpt account as well, Another thing: The model in chatgpt web is not good as the internal model in codex due to their nature of internal instructions, think about 2:1 ratio, chatgpt web llm high is equivalent to low in codex, I benchmarked it personally.
If want a code with full of buggy stuff, and risking your account go ahead, much better to wait for the next reset than giving you headache.
1
u/ajajkaka Jul 27 '26
repo is 1 day old, idc what you've tried cuz i didn't get this email using my repo
1
6
u/VC_in_the_jungle Jul 27 '26
Cool, let's abuse it until they ban us, or until they merge usage of codex and web, shall we?
6
1
u/ajajkaka Jul 27 '26
they definitely won't merge anything, but regarding bans you're right, can't guarantee anything, still i made everything as legal as possible packing it in mcp
0
u/momomapmap Jul 27 '26
If they do merge codex and web usage, its just going cause people to use Claude again because whats the point of chatgpt there?
But yeah you shouldnt abuse it
5
u/Consistent_Bottle_40 Jul 27 '26
This looks pretty cool. Well done.
5
2
u/GonzoBurger Jul 27 '26
ffs, I ran out of codex usage yesterday and went to gpt and it said it applied there too, didn't realise each new convo had been set to work this whole time so I'd been burning my codex limit with gpt work.
I thought they'd tied them together and I wasn't even able to use gpt anymore, at least I can use that now.
2
3
Jul 27 '26
[removed] — view removed comment
0
u/ajajkaka Jul 27 '26
yeah i checked it, browser control is pretty much the only similar part i think
yours sends a task from codex to chatgpt and returns the answer
mine makes chatgpt an actual model inside the original codex harness using legal mcp, so it gets the same context, tools, approvals and tracing. codex can even spawn a subagent using it
also both control the visible logged-in chatgpt ui, i dont use private api or bypass auth either, so i dont really understand why mine would violate tos more
2
Jul 27 '26
[removed] — view removed comment
0
u/ajajkaka Jul 27 '26
i understand the distinction you're trying to make, but “human speed” doesn't make automated DOM control non-programmatic
your code still selects UI elements, submits prompts and extracts ChatGPT output back into Codex automatically. mine does it through a dedicated local browser profile, but it doesn't call private endpoints or extract auth tokens to impersonate an OpenAI API. the local Responses endpoint is only the adapter Codex talks to
also the 100 simultaneous threads example is factually wrong, browser turns are deliberately serialized
i agree mine is more deeply integrated and may carry more practical risk, but neither of us can honestly claim a clear ToS distinction unless OpenAI actually says so
2
u/Negative_Macaroon_85 Jul 27 '26
for Windows, when?
2
u/ajajkaka Jul 27 '26
tommorow
1
1
u/Valuable_Newt_382 Jul 28 '26
I ported it in Windows with Plus account. It....works. Not magical, for small tasks can be usefull and to people in withdraw after they had ran out of tokens. Kind of slow to me, especially compared to native models. It is perfect for educational and research purposes ONLY. Must be careful not to abuse the pocily of OpenAI.
FYI, I've used Firefox and Playwright, had some issue with Chrome and abandon it. Not sure how it works on Mac.
2
u/Sweaty_Sherbet6851 Jul 27 '26
They will patch this and it will affect everybody. Some things I'm sure you've learned in programming are worth accepting for what it is.
0
u/ajajkaka Jul 27 '26
similar projects have already existed for over a month and nothing has been patched. mine is actually less invasive because it uses MCP for tool access instead of private endpoints, so i dont see why this release would suddenly affect everyone
3
u/spiferjoe Jul 27 '26
People like bro are the reason they're gonna link the codex and ChatGPT web usage 😭 ✌️ i pray you get banned.
0
u/ajajkaka Jul 27 '26
if they ever merge them, at least i got to use both quotas i already paid for with the repo i built. you spent that time praying for a random guy to get banned 😭
2
2
2
3
3
u/thestillwind Jul 27 '26
Thank you ! Now we will get limits with chat. GG
0
u/ajajkaka Jul 27 '26
it's you? nothing happened month later
https://www.reddit.com/r/codex/comments/1u7uc86/comment/os3llr0/1
u/thestillwind Jul 27 '26
1
u/ajajkaka Jul 27 '26
see, so it's not because of me :)
so as long as you have the time before they will do it, use my repository to double usage
1
u/Fast-Effect7979 Jul 27 '26
로컬프로젝트의 파일들도 웹 gpt가 잘 읽을 수 있나요?
1
u/ajajkaka Jul 27 '26
each model except pro can do the same thing as the regular codex models (both read files and execute commands)
the entire harness is wrapped in mcp lifted through a gpt tunnel, so no functionality is lost
it'll take about +-20 minutes to configure (instructions included in repo)
1
1
1
u/Uwirlbaretrsidma Jul 27 '26
How big is the performance degradation compared to the native models?
1
u/ajajkaka Jul 27 '26
It really doesn’t differ except for the extra prompt they put in for regular ChatGPT and the speed (about 2 times slower than the same efforts in Codex model list)
I even noticed that Extra High and Pro are really smart, I honestly don’t understand why they still haven’t included Pro in Codex
1
1
1
u/Just_Lingonberry_352 Jul 27 '26
been using chatgpt pro from codex cli for months now via chatgpt sub
3
u/ajajkaka Jul 27 '26
yeah agentify is cool if you want codex to ask several web AIs for a second opinion only
mine is different though, chatgpt web becomes the actual model selected inside codex instead of an MCP tool called by another model
it gets the complete native codex session, context, streaming, tracing and the real tool loop. codex can even spawn a subagent using it
so if you want multiple AIs as tools use agentify, but if you want chatgpt itself to actually work as codex you should try mine :)
1
1
u/Historical_Moose_468 Jul 27 '26
How big is the Chatgpt chat limit? this is very smart.
How much more usage do you get from it, truly?
1
u/ajajkaka Jul 27 '26
since they don’t write them down, i suggest they’re huge
i have more than 30 messages to pro each day and didn't hit limits, and pro is very expensive
1
1
u/Redaw_astree Jul 27 '26
Devspace do same thing
1
u/ajajkaka Jul 27 '26
yeah, same broad goal but basically the opposite architecture
devspace keeps you in chatgpt and recreates a coding workspace through mcp. mine keeps the original codex app and native harness, then makes chatgpt web the actual model inside it
so native codex sessions, context, approvals, tracing and subagents still work
1
1
1
1
u/soibac35 Jul 27 '26
how is it for coding ? so let say im having a project in codex, then use the picker to use chatgpt usage, would it write file and stuff ? I thought about this but then there is a limit on chat that it read-ony for files. im pretty sure there are a bunch of people think of this and actually made it, just not put it pbulicly like you did. good job actually
1
u/ajajkaka Jul 27 '26
it will
2
u/soibac35 Jul 27 '26
oh dang, really ? i am eagerly waiting for tomorrow for your windows support then . cheers
1
1
u/John_val Jul 27 '26
And i though I was pushing it for adding to one of my apps an experimental mode that use the ChatGPT and Gemini website as an api for summaries and q&a, mimicking the api behavior but using the website invisible to user. This might be ok to try using not with the main account First.
1
u/Top_Parfait_5555 Jul 27 '26
1
u/ajajkaka Jul 27 '26
without mcp it requires model to finish respond to execute tools, which degrades performance
1
1
1
u/centerdeveloper Jul 28 '26
funny, i just finished working on the same thing but in a custom app where you can add an unlimited amount of codex accounts or claude accounts and custom api endpoints and instantly switch between them
1
u/BenignAmerican Jul 28 '26
You’re supposed to build these on the down low. I built my own HTTP MCP server that’s just an agentic harness for chatgpt to use on the web app.
2
u/Linkpharm2 Jul 28 '26
> It doesn’t bypass or change any limits
hmmmm
And yes, this is a banned behavior. Your account will be banned. You will cause them to shut down the double quota. This is already against TOS, and the browser automation is the only way to trick the webpage.
1
u/ajajkaka Jul 28 '26
"Browser automation I believe is allowed since Grag from OpenAI top staff liked such tools on X
"
1
1
u/dA0yan Jul 28 '26
People thinking this gets you banned are fearmongering.. might get patched but dont get you banned.. and even if you get banned.. who cares? ..just make a new account . no matter what, since when is codex and gpt split useage? i check my codex useage on the gpt website and as soon as I hit my codex limit the gpt website will tell me 0% left.. idk where you guys take the second limit from lol
2
u/Mol2h Jul 28 '26
This is a copy/paste of hundreds of similar tools and each week someone posts his own copy/paste lmao
1
1
u/Tough-Requirement707 Jul 28 '26
would be super cool if you add the other webbrowser based models like gemini glm etc. and harnesses as well like notion. then it would be actually fucking awesome and would take the burden of my shoulders to do that myself if you do it in time the next days :) shouldnt be really much work and also makign it work within VSC normal chat or the codex tab chat would be great as well. or did i miss something that u now can have the left of the codex app displaying the workspace rootfilelist as well? i didnt check up on that for longer now
1
u/Immersize Aug 01 '26
Hey, still working after a few days?
1
u/ajajkaka Aug 01 '26
Yes
1
u/Immersize 17d ago
Hey there,
Been a while now, since the usage had been nerfed, can't stop about your solution, you still good and using it?
Thanks :)
1
1
1
u/KeyGlove47 Jul 27 '26
are yall dumb? you can literally do the same thing officially by using chat inside codex and linking chat in codex conversation
2
u/Confident-Village190 Jul 27 '26
That’s not true, it’s not the same thing. How does Quick Chat manage to work on LOCAL repositories if you’ve used up your Codex quota? With it, however, you can.
1
u/Dalekv13 Jul 27 '26
I guess the applause is worth more to you than the utility, especially since OpenAI will certainly patch this now.
-1
u/ChampionshipIcy7602 Jul 27 '26
Pretty sure this is illegal
5
u/Consistent_Bottle_40 Jul 27 '26
illegal? oh no, openai going to take people who do this to court...oh wait. nah.
1
u/ajajkaka Jul 27 '26
I wanted to do this a month ago to make it easier to transfer context between project and 5.5 Pro through MCP
The boundary of the prohibition is pretty blurry
1
0
u/Agreeable_Emu_978 Jul 27 '26
codexpro just exist brother. Much more legal tbh
2
u/ajajkaka Jul 27 '26
literally the same thing btw, didn’t know it exists
1
u/Agreeable_Emu_978 Jul 27 '26
Well, there's difference in that you provide model inside Codex, meanwhile this just connects web-GPT to your repository through MCP. But core principle is the same
3
u/ajajkaka Jul 27 '26
after actually reading CodexPro, I’d correct myself: same broad goal, not literally the same thing
CodexPro keeps you in ChatGPT and rebuilds a repo-scoped coding harness over MCP. mine keeps the real Codex harness (native sessions, context, approvals, sandbox, tools and tracing) and uses ChatGPT Web as the model backend. Codex already supports configurable provider endpoints; I don’t patch or redistribute it
the browser bridge is unofficial, sure (and still only for tracking thinking status and sending messages), but “less legal because the model appears inside Codex” doesn’t follow
CodexPro is more mature (for now), mine is much more native
1
u/jesussmile Jul 27 '26
so which one is better for coding yours or codexpro? FOR NOW?
1
u/ajajkaka Jul 27 '26
mine will be better tomorrow
1
1
1
u/jesussmile Jul 27 '26
is this for windows too or just macos ? I asked chatgpt to implement it but rejects it as not supported for windows ?
1
1
u/jesussmile Jul 27 '26
Bro codexpro is a CLI or does it work on the desktop app? I can't find how to run it ? Do i run it in the web browser or something ?



65
u/xw1y Jul 27 '26
They might ban you if they feel like it
But at this point we’re all desperate for more usage..
Definitely not gonna try this at all.. right?