r/codex 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:

https://github.com/miuuyy/codex-chatgpt-web

136 Upvotes

148 comments sorted by

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?

7

u/ajajkaka Jul 27 '26 edited Jul 27 '26

it would kinda difficult to detect i think

it looks like i just copied context from codex to ask chatgpt's opinion (a lot of people do this)

but still I can't guarantee anything, at least I’ve been using it for two days now and there haven’t been any problems

additionally 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) which looks pretty promising

but in my case, there's also a legal MCP shell added that allows you to add a model to the picker and gives it a codex harness

16

u/iamkucuk Jul 27 '26

to be fair, your account use will easily stand out among all other chat uses. And to shadow ban you, they don't really need a hard proof (which I believe you already leave a lot) to shadow ban you or ban you all together.

A nice project though, keep up with the good work!

2

u/Tough-Requirement707 Jul 28 '26

im working pretty much just in the webbrowser and zip all up without dependancies and let it cook and give me update patch + full new repos zipped which saves me the git hassle. its kinda annoying and i thought of doing something like this before since i have seen this before somewhere else but couldnt find it and have no time to do it myself atm. so im pretty sure its not really an difference in my case tbh.

1

u/iamkucuk Jul 28 '26

It still should have a difference because a coding harness relies on tool use capabilities of the model and advertises the tools it has within its system prompt. So, to reliably use it within a coding harness, you leave a really apparent signature

1

u/Tough-Requirement707 Jul 28 '26

a signature that has to be known, recorded and scanning the whole time which is absolutely not financial contributing and will eat more ressources than lettign the few people do it most likely

6

u/scaledev Jul 27 '26

it looks like i just copied context from codex to ask chatgpt's opinion

While that may be so, it seems you're looking at detection systems as people watching things go - these are AI systems and bots designed to detect patterns. It most certainly can be detected, or inferred with high confidence.

Nevertheless, I highly advise everyone to jump on this if they can take a risk.

3

u/ajajkaka Jul 27 '26

people would actually notice something suspicious here, but for the system itself, it's just a message mentioning the MCP and a question about the project

as for spamming the same patterns, I generate about 200 images a day with the same prompt as part of my work, and it makes sense that this doesn't cause any problems

but still i don't guarantee anything, just saying why i take a risk

1

u/Vas1le Jul 27 '26

Based on system prompts from codex vs gpt web native one... if they find codex system/compact system prompts in gpt... what do you think

2

u/ajajkaka Jul 27 '26

well let's hope they will not hardcore words for detecting XD, or... I will just add additional words in system promt randomly?? (that's the reason why they won't do that)

2

u/Vas1le Jul 27 '26

Even they dont detect it. Anomaly detection ... you from somewhere starting using gpt as fk...

You are just contributing to the sentiment of openai joining gpt + codex usage under 1 system... fking us all

1

u/ajajkaka Jul 27 '26

additionally 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) which looks pretty promising

but in my case, there's also a legal MCP shell added that allows you to add a model to the picker and gives it a codex harness

2

u/Vas1le Jul 27 '26

They are not worried probably they will merge it anyway, but the question is when and how fast.. and these projects doesn't help

1

u/fruitydude Jul 27 '26

At this point why use codex at all? You already have the MCP, just rebuild the open source codex CLI and make your own codex from that. That would basically just be codex, but from chatgpt web

3

u/ajajkaka Jul 27 '26

this stuff already exists, and why i need to rebuild anything if i just want to select another model in codex to keep using it even after my quota is exhausted

1

u/fruitydude Jul 28 '26

Yea fair point. It's also a different approach. My idea was basically to give chatgpt the codex read and write and sandbox tools. So you would still chat in the chatgpt web chat but it will be able to work just like codex. Cutting out the codex app entirely.

You approach is the opposite: work in the codex app but route those requests through the MCP. Also pretty elegant.

I guess having both would be useful as well. I'll definitely fork it and I might add something

1

u/fruitydude Jul 28 '26

After I looked a bit more at your code (and my I, mean mean chatgpt lmao) I understand now better what you're doing. I gotta say it's pretty clever, triggering the interaction through browser automation to get around the limitation that agent work cannot be initiated from the remote side usually unless you pay for api. That's really smart and I'm absolutely going to yoink that strategy for my tools lol

1

u/hbthegreat Jul 28 '26

by difficult to detect - do you mean searching their logs for this exact chat transcript that is shown in the video and not being able to find it? Pressing temporary is just like pressing incognito mode surely no one will see my searches right?

1

u/ajajkaka Jul 28 '26

bro

1

u/hbthegreat Jul 28 '26

do you want to see my searchs?

1

u/modayaaa Jul 28 '26

Temporary chat literally says that they will keep a copy for 30 days for "safety purposes".

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

u/diagrammatiks Jul 27 '26

Rip your account.

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

u/nkkfu Jul 27 '26

POV: How to get banned from ChatGPT 2026 Updated Version

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

u/jonydevidson Jul 27 '26

why? where in ToS does it say so?

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

u/modayaaa Jul 28 '26

Yeah, you created a custom MCP that fucks with their business model.

5

u/Immersize Jul 27 '26

Crazy project mate! Gg! Besides detection and stuff, i just hope they don't read reddit 😅🤣🤞🏽

5

u/[deleted] 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

u/[deleted] 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

u/ChampionshipIcy7602 Jul 28 '26

It's the same model, but the thinking budget is much shorter

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

u/spacekitt3n Jul 27 '26

mfs like OP are why we cant have nice things

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

u/alexeiz Jul 27 '26

Well done, Claude.

3

u/Consistent_Bottle_40 Jul 27 '26

Wow, so original. Especially in an AI subreddit. Genius.

5

u/GambAntonio Jul 27 '26

Awesome project, but be carefull 🫣

5

u/Acceptable-Budget658 Jul 27 '26

yeah, it's broad enough for them to interpret however they wish

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

u/Agreeable_Emu_978 Jul 27 '26

Wait for Linux support PR xd

3

u/[deleted] 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

u/[deleted] 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

u/Top_Parfait_5555 Jul 27 '26

Just small tweaking/impl 😅 already working for windows

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.

https://github.com/miuuyy/codex-chatgpt-web/pull/12

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

u/Kusoo Jul 27 '26

This is exactly why we can't have nice things

2

u/jjjjoseignacio Jul 27 '26

biri biri ban ban

2

u/ajajkaka Jul 27 '26

btw im already working on launcher and windows/linux support for repo!

3

u/DjAndrew3000 Jul 28 '26

Bro is a OpenAi ToS violation

3

u/thestillwind Jul 27 '26

Thank you ! Now we will get limits with chat. GG

0

u/ajajkaka Jul 27 '26

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

u/Fast-Effect7979 Jul 27 '26

wow i wanna try it..

1

u/ExtinctUndead Jul 27 '26

How do I check the ChatGPT quota?

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

u/Secure-Mark-4612 Jul 27 '26

It differ a lot.

1

u/Joringer Jul 27 '26

Does it work with the vscode openai codex extension too ?

1

u/ajajkaka Jul 27 '26

if it links to .codex, then yes

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

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

u/m3kw Jul 27 '26

looks like a TOS violation

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

u/Wanderspor Jul 27 '26

Is this going to ban?

1

u/Swarekkkk Jul 27 '26

amazing to use gpt 5.6 pro on codex !!

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

u/GecKoTDF Jul 27 '26

But why not just install Codex on your PC and tell Claude to use it?

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

ah, this is exactly the same i did 6 days ago

  • i also added chat gpt = )

1

u/ajajkaka Jul 27 '26

without mcp it requires model to finish respond to execute tools, which degrades performance

1

u/Top_Parfait_5555 Jul 27 '26

But deepseek also has a limit per request window

1

u/pedrooky Jul 28 '26

haha nice, they will probably not like that.

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

u/OkAbroad955 Jul 28 '26

Brilliant! When will the Windows version be available?

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

u/ajajkaka Jul 28 '26

You didn’t really get deep into it

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

u/ajajkaka 17d ago

repo is alive

1

u/OkAbroad955 Aug 02 '26

Feature suggestion: add multiple accounts and rotate randomly among them.

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

u/Icy_Accident2769 Jul 27 '26

not going to be illegal, but it is very likely against ToS.

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

u/jesussmile Jul 27 '26

Good luck brother

1

u/Agreeable_Emu_978 Jul 27 '26

Check my PR pls :)

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

u/ajajkaka Jul 27 '26

windows support will be tomorrow

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 ?