[{"data":1,"prerenderedAt":710},["ShallowReactive",2],{"blog-post-hermes-agent-chatgpt-codex-setup":3,"related-posts-hermes-agent-chatgpt-codex-setup":682,"decoder-links-hermes-agent-chatgpt-codex-setup":706,"hero-size-hermes-agent-chatgpt-codex-setup":707},{"id":4,"title":5,"author":6,"body":11,"bottomCta":656,"category":657,"date":658,"definedTerm":656,"description":659,"extension":660,"featured":661,"hideToc":661,"image":662,"imageAlt":663,"imageHeight":664,"imageWidth":665,"itemList":656,"lang":656,"lead":656,"meta":666,"navigation":667,"noindex":661,"path":668,"primaryHub":656,"readingTime":669,"redirected":661,"relatedSlugs":656,"seo":670,"seoTitle":671,"stem":672,"subtitle":673,"tags":674,"updatedDate":658,"__hash__":681},"blog/blog/hermes-agent-chatgpt-codex-setup.md","Hermes Agent With ChatGPT Plus or Pro: Codex Sign-In, Models and Limits",{"name":7,"role":8,"avatar":9,"bio":10},"Shabnam Katoch","Growth Head","/img/avatars/shabnam-profile.jpeg","Shabnam leads growth at BetterClaw and has spent the past three years building organic distribution for AI-native products. She writes about no-code agent builders, content strategy, and what it actually takes to grow without an ads budget.",{"type":12,"value":13,"toc":626},"minimark",[14,18,21,24,39,48,53,56,64,74,81,85,156,164,168,171,189,206,216,223,226,232,236,239,334,337,366,372,384,388,392,395,399,402,406,417,421,428,432,439,443,447,454,458,461,465,471,474,482,486,492,499,506,509,513,516,526,529,532,535,541,545,548,551,554,569,577,581,585,591,595,598,602,612,616,619,623],[15,16,17],"p",{},"On 24 November, a Hermes user picked GPT-6.2 Sol on their ChatGPT account and got an instant HTTP 400.",[15,19,20],{},"The same account worked perfectly in the Codex CLI on the same machine. In Hermes, every model failed except three, all from the Luna family.",[15,22,23],{},"That report, Hermes issue #159677, sums up running Hermes on ChatGPT right now. The sign-in is built in and costs nothing extra. But \"it works\" and \"every model works\" aren't the same thing.",[25,26,27],"blockquote",{},[15,28,29,33,34,38],{},[30,31,32],"strong",{},"The short version:"," yes, it's built in. Run ",[35,36,37],"code",{},"hermes model",", pick \"ChatGPT or Codex Subscription\", approve the device code in your browser, and Hermes uses your plan's Codex allowance with no API key and no extra cost. Two things to know first: device-code login must be enabled in your ChatGPT security settings, and as of 24 November only the GPT-6 Luna family answered on a ChatGPT account through Hermes. Plus has 5-hour and weekly limits; Pro has no 5-hour limit.",[15,40,41,42,47],{},"For the status of every Claude and ChatGPT route side by side, see our guide to ",[43,44,46],"a",{"href":45},"/blog/hermes-agent-claude-chatgpt-subscription","Hermes with a Claude or ChatGPT subscription",".",[49,50,52],"h2",{"id":51},"before-you-start-turn-on-device-code-login-in-chatgpt","Before you start: turn on device-code login in ChatGPT",[15,54,55],{},"This step trips up a lot of people, because Hermes' own docs don't mention it.",[15,57,58,59,63],{},"OpenAI's Codex authentication guide does: ",[60,61,62],"em",{},"\"Enable device code login in your ChatGPT security settings (personal account) or ChatGPT workspace permissions (workspace admin).\""," Without it, the code you're shown has nowhere to go.",[15,65,66,67,70,71],{},"Which plans include Codex? OpenAI says ",[60,68,69],{},"\"Codex is included across ChatGPT plans, including Free and Go.\""," Codex Cloud is different: it's ",[60,72,73],{},"\"not included with Free or Go.\"",[15,75,76],{},[77,78],"img",{"alt":79,"src":80},"Step zero, enable device-code login in ChatGPT, not Hermes: the Device code login toggle under Security settings switched on; on a workspace, ask your admin; Hermes docs skip this step","/img/blog/hermes-agent-chatgpt-codex-setup-device-code-login.jpg",[49,82,84],{"id":83},"sign-in-to-hermes-agent-with-chatgpt-plus-or-pro-step-by-step","Sign in to Hermes Agent with ChatGPT Plus or Pro, step by step",[86,87,88,101,126,140,150],"ol",{},[89,90,91,97,98,47],"li",{},[30,92,93,94,96],{},"Run ",[35,95,37],{}," and choose \"ChatGPT or Codex Subscription\"."," Hermes shows a URL and a code. Open the URL, enter the code, approve. Credentials are saved in ",[35,99,100],{},"~/.hermes/auth.json",[89,102,103,106,107,110,111,114,115,118,119,122,123,47],{},[30,104,105],{},"If your organisation disables device code, use the browser flow."," Run ",[35,108,109],{},"hermes auth add openai-codex --browser",", or set ",[35,112,113],{},"auth.codex_login_flow: browser"," in ",[35,116,117],{},"config.yaml",". It listens on ",[35,120,121],{},"http://localhost:1455/auth/callback",", and over SSH you'll need a tunnel: ",[35,124,125],{},"ssh -N -L 1455:127.0.0.1:1455 user@host",[89,127,128,131,132,135,136,139],{},[30,129,130],{},"Already use the Codex CLI?"," Hermes ",[60,133,134],{},"\"can import existing Codex CLI credentials from ~/.codex/auth.json when present. No Codex CLI installation is required.\""," OpenAI's warning applies: ",[60,137,138],{},"\"treat ~/.codex/auth.json like a password.\""," Don't paste it anywhere.",[89,141,142,145,146,149],{},[30,143,144],{},"Pick a model."," Hermes' docs say the picker uses your account's catalogue when available, with ",[35,147,148],{},"gpt-6-sol"," as an offline fallback. Read the next section before you choose.",[89,151,152,155],{},[30,153,154],{},"Test with a short prompt."," If it answers, you're done. If you see a 400, check the model.",[15,157,158,159,163],{},"If the sign-in itself fails with a 401, our ",[43,160,162],{"href":161},"/blog/hermes-auth-error-fix","Hermes auth error guide"," covers the common causes.",[49,165,167],{"id":166},"which-models-actually-answer-on-a-chatgpt-account","Which models actually answer on a ChatGPT account",[15,169,170],{},"Here's what nobody tells you in the setup guides. On paper, ChatGPT Plus includes \"GPT-6.1 Sol and GPT-6 Luna.\" Through Hermes, the 24 November report found only three models answered:",[172,173,174,179,184],"ul",{},[89,175,176],{},[35,177,178],{},"gpt-6-luna",[89,180,181],{},[35,182,183],{},"gpt-6-luna-900k",[89,185,186],{},[35,187,188],{},"gpt-5.6-luna",[15,190,191,192,194,195,194,198,201,202,205],{},"Everything else it tried, including ",[35,193,148],{},", ",[35,196,197],{},"gpt-6.2-sol",[35,199,200],{},"gpt-6.1-sol"," and ",[35,203,204],{},"codex-mini-latest",", returned this before generating anything:",[207,208,213],"pre",{"className":209,"code":211,"language":212},[210],"language-text","{\"detail\": \"The 'gpt-6.2-sol' model is not supported when using Codex with a ChatGPT account.\", \"error\": {\"type\": \"invalid_request_error\", \"code\": \"model_not_found\"}}\n","text",[35,214,211],{"__ignoreMap":215},"",[15,217,218,219,222],{},"The reporter added: ",[60,220,221],{},"\"Codex CLI itself (same account, same machine) runs fine with non-luna models.\""," So it's specific to how Hermes reaches the account.",[15,224,225],{},"The issue is open, labelled as a bug, with no maintainer reply yet. It's also a single report, so test your own account. For now, plan for Luna.",[15,227,228],{},[77,229],{"alt":230,"src":231},"Models through Hermes, one report from 24 November: gpt-6-luna, gpt-6-luna-900k and gpt-5.6-luna work, while gpt-6-sol, gpt-6.2-sol and gpt-6.1-sol return 400 model_not_found; test your own account","/img/blog/hermes-agent-chatgpt-codex-setup-models-that-answer.jpg",[49,233,235],{"id":234},"chatgpt-plus-vs-pro-vs-go-when-hermes-is-the-client","ChatGPT Plus vs Pro vs Go when Hermes is the client",[15,237,238],{},"From OpenAI's Codex pricing page and help centre (29 November 2026):",[240,241,242,264],"table",{},[243,244,245],"thead",{},[246,247,248,252,255,258,261],"tr",{},[249,250,251],"th",{},"Plan",[249,253,254],{},"Price",[249,256,257],{},"Models (per OpenAI)",[249,259,260],{},"Limits",[249,262,263],{},"Through Hermes",[265,266,267,285,300,317],"tbody",{},[246,268,269,273,276,279,282],{},[270,271,272],"td",{},"Free",[270,274,275],{},"$0",[270,277,278],{},"GPT-6 Luna, in the desktop app",[270,280,281],{},"Small",[270,283,284],{},"Undocumented",[246,286,287,290,293,295,297],{},[270,288,289],{},"Go",[270,291,292],{},"$8",[270,294,278],{},[270,296,281],{},[270,298,299],{},"Undocumented; untested in the threads we read",[246,301,302,305,308,311,314],{},[270,303,304],{},"Plus",[270,306,307],{},"$20",[270,309,310],{},"GPT-6.1 Sol and GPT-6 Luna",[270,312,313],{},"5-hour and weekly; about 350 to 3,000 Luna local messages per 5 hours",[270,315,316],{},"Works; Luna family as of 24 Nov",[246,318,319,322,325,328,331],{},[270,320,321],{},"Pro",[270,323,324],{},"$100 / $200 / $500",[270,326,327],{},"Everything in Plus",[270,329,330],{},"\"Pro plans currently have no five-hour limit\"; weekly limits apply",[270,332,333],{},"Works; same model caveat",[15,335,336],{},"Three rules shape your real allowance:",[172,338,339,348,357],{},[89,340,341,344,345],{},[30,342,343],{},"It's shared."," OpenAI says Codex, ChatGPT Work, ChatGPT for Excel and Workspace Agents ",[60,346,347],{},"\"use a shared allowance and credit pool.\"",[89,349,350,353,354],{},[30,351,352],{},"Support won't reset it."," ",[60,355,356],{},"\"OpenAI Support does not reset ChatGPT or Codex usage limits.\"",[89,358,359,362,363],{},[30,360,361],{},"Hermes' side is undocumented."," Its docs say ",[60,364,365],{},"\"Which ChatGPT plan tiers are eligible, and how Hermes usage counts against your plan's Codex limits, are not currently documented.\"",[15,367,368,369],{},"How much do people actually use? A light user on r/hermesagent: ",[60,370,371],{},"\"I've never exceeded 20% of my weekly usage… I only use the Luna model.\"",[15,373,374,375,378,379,383],{},"A Pro user on 26 November said they ",[60,376,377],{},"\"hit the weekly limit most weeks.\""," Our breakdown of ",[43,380,382],{"href":381},"/blog/chatgpt-codex-shared-usage-limit","Codex usage limits by plan"," covers the windows in detail.",[49,385,387],{"id":386},"errors-with-the-exact-text","Errors, with the exact text",[389,390,391],"h3",{"id":391},"model_not_found",[15,393,394],{},"The 400 above. Switch to a Luna model.",[389,396,398],{"id":397},"http-429-after-the-weekly-limit","HTTP 429 after the weekly limit",[15,400,401],{},"When your weekly allowance runs out, Hermes returns HTTP 429. Issue #158484 adds a twist: a Plus user with \"499 Purchased Credits remaining\" still got the 429 in Hermes, while the same credits worked directly in Codex. That issue is open with no reply.",[389,403,405],{"id":404},"token-is-expired-401","\"Token is expired\" (401)",[15,407,408,409,412,413,416],{},"People paste this one: ",[35,410,411],{},"ChatGPT or Codex subscription rejected your sign-in … HTTP 401: provided authentication token is expired. Please try signing in again."," Re-run ",[35,414,415],{},"hermes auth add openai-codex --type oauth",". The auth error guide linked in the sign-in section covers the other 401s.",[389,418,420],{"id":419},"subscription-sharing-usage-limit","\"Subscription sharing usage limit\"",[15,422,423,424,427],{},"If you see ",[35,425,426],{},"subscription_sharing_usage_limit_exceeded",", you've hit the shared pool. The Codex limits guide linked above covers it.",[389,429,431],{"id":430},"the-8-october-loop","The 8 October loop",[15,433,434,435,438],{},"On 9 October, an r/hermesagent user reported that ",[60,436,437],{},"\"direct OAuth stopped working and got stuck in an endless waiting on model (1/3) retry loop.\""," Some users moved to linking Plus through Nous Portal instead. We haven't confirmed whether it's resolved on 0.23.5.",[49,440,442],{"id":441},"purchased-credits-go-and-linking-plus-through-nous-portal","Purchased credits, Go and linking Plus through Nous Portal",[389,444,446],{"id":445},"purchased-credits","Purchased credits",[15,448,449,450,453],{},"OpenAI says ",[60,451,452],{},"\"Eligible Plus and Pro users can buy credits without changing plans.\""," But per #158484, Hermes didn't use them once the weekly limit ran out. Don't buy credits for Hermes until that's fixed.",[389,455,457],{"id":456},"chatgpt-go","ChatGPT Go",[15,459,460],{},"Codex is included on Go, per OpenAI, but Hermes doesn't document it. Two r/hermesagent threads (14 and 25 September) asked; we saw no confirmed success. Test before you rely on it.",[389,462,464],{"id":463},"linking-plus-through-nous-portal","Linking Plus through Nous Portal",[15,466,467,468],{},"This is a separate path from the local sign-in. Portal says: ",[60,469,470],{},"\"Use your ChatGPT plan. Connect an eligible ChatGPT account for supported inference. No paid Nous subscription is required. Tools and Hermes Cloud hosting are charged separately.\"",[15,472,473],{},"The 9 October thread reported limits burning about twice as fast this way. That's one community report, so verify it on your own usage.",[15,475,476,477,481],{},"If you'd rather skip the setup, BetterClaw lets you sign in with ChatGPT Plus or Pro on any agent's Model tab, and the models you get match your plan. See ",[43,478,480],{"href":479},"/docs/models-and-skills/chatgpt-subscription","how ChatGPT sign-in works in BetterClaw",". You can switch any agent to your own key from 28+ providers at zero markup.",[49,483,485],{"id":484},"when-to-stay-on-plus-and-when-to-move-to-an-api-key","When to stay on Plus, and when to move to an API key",[15,487,488,489],{},"For most people, Plus is plenty. A 14-point reply in a 71-comment r/hermesagent thread (28 October) put it simply: ",[60,490,491],{},"\"Unless you have 5+ non stop agents, you won't hit limits with luna.\"",[15,493,494,495,498],{},"The case for an API key starts when the weekly limit becomes a regular event. One user in September said they were ",[60,496,497],{},"\"almost at my weekly usage limits and have several more days to go,\""," and asked whether the API would be cheaper. The honest answer depends on how much you run, because the API bills every token while Plus is a flat $20.",[15,500,501,502,505],{},"Speed is the other trade-off. A 4 November thread complained that Luna through the GUI's accounts tab felt ",[60,503,504],{},"\"too slow.\""," If you need faster or larger models for specific jobs, keep Plus for the everyday loop and point those jobs at an API key.",[15,507,508],{},"Our rule of thumb: stay on Plus until you hit the weekly limit two weeks running. Then price the API against Pro before you switch.",[49,510,512],{"id":511},"is-it-allowed-to-use-chatgpt-with-hermes","Is it allowed to use ChatGPT with Hermes?",[15,514,515],{},"The honest answer: there's no published rule either way.",[15,517,518,519,522,523],{},"OpenAI's Codex docs cover only OpenAI's own clients. Its Terms of Use (effective 1 January 2026) have no clause naming third-party clients. Two clauses do apply: ",[60,520,521],{},"\"You may not share your account credentials,\""," and you may not ",[60,524,525],{},"\"circumvent any rate limits or restrictions or bypass any protective measures.\"",[15,527,528],{},"You may have read that OpenAI \"explicitly supports\" this. That's OpenClaw's documentation, not OpenAI's. We couldn't find an OpenAI page saying it.",[15,530,531],{},"Is it bannable? We found no reports of OpenAI bans for the Hermes Codex sign-in in the threads we read. That's an observation, not a permission.",[15,533,534],{},"One thing clearly collides with the terms: rotating several ChatGPT accounts to beat weekly limits. A May 2026 thread asked how to do it. Don't.",[15,536,537],{},[77,538],{"alt":539,"src":540},"The terms, what OpenAI actually says: no credential sharing and no rate-limit circumvention apply, third-party clients are unknown with no ban reports found, and account rotation is out; an observation, not a permission","/img/blog/hermes-agent-chatgpt-codex-setup-openai-terms.jpg",[49,542,544],{"id":543},"the-best-agent-setup-is-the-one-you-already-pay-for","The best agent setup is the one you already pay for",[15,546,547],{},"Here's the honest takeaway.",[15,549,550],{},"If you have ChatGPT Plus, Hermes on Luna is one of the cheapest strong agent setups available today. It costs nothing on top of what you pay. The catches are real but small: one security toggle, one model family, and a weekly limit you'll only hit if you run it hard.",[15,552,553],{},"Start there. Upgrade to Pro only when the weekly limit actually bites.",[15,555,556,557,563,564,568],{},"If you'd rather not manage the setup at all, ",[43,558,562],{"href":559,"rel":560},"https://app.betterclaw.io/sign-in",[561],"nofollow","start free with BetterClaw",". The free plan includes 1 agent and 100 credits a month with no card, and Starter is $19 a month for 2,000 credits (",[43,565,567],{"href":566},"/pricing","see full pricing",").",[15,570,571,572,576],{},"Our ",[43,573,575],{"href":574},"/ai-agent-builder","no-code AI agent builder"," works with your ChatGPT sign-in or your own key. We handle the infrastructure. You handle the interesting part.",[49,578,580],{"id":579},"frequently-asked-questions","Frequently Asked Questions",[389,582,584],{"id":583},"can-hermes-agent-use-a-chatgpt-plus-subscription","Can Hermes Agent use a ChatGPT Plus subscription?",[15,586,587,588,590],{},"Yes. Run ",[35,589,37],{},", choose \"ChatGPT or Codex Subscription\" and approve the device code in your browser. You first need device-code login enabled in your ChatGPT security settings, and as of 24 November only the GPT-6 Luna family answered through Hermes.",[389,592,594],{"id":593},"whats-the-difference-between-chatgpt-plus-and-pro-for-hermes","What's the difference between ChatGPT Plus and Pro for Hermes?",[15,596,597],{},"Plus ($20) has 5-hour and weekly limits; Pro ($100, $200 or $500) has no five-hour limit but still has weekly limits. Both share their Codex allowance with ChatGPT Work, ChatGPT for Excel and Workspace Agents.",[389,599,601],{"id":600},"how-do-i-fix-token-refresh-failed-or-a-401-in-hermes-with-chatgpt","How do I fix \"token refresh failed\" or a 401 in Hermes with ChatGPT?",[15,603,604,605,607,608,611],{},"Re-run ",[35,606,415],{}," to sign in again. If your organisation blocks device code, add ",[35,609,610],{},"--browser"," and, over SSH, tunnel port 1455.",[389,613,615],{"id":614},"does-chatgpt-plus-include-api-access-for-hermes","Does ChatGPT Plus include API access for Hermes?",[15,617,618],{},"No. The Codex sign-in uses your plan's Codex allowance, not the OpenAI API. Purchased ChatGPT credits also weren't used by Hermes in one open report, so don't buy them for Hermes yet.",[389,620,622],{"id":621},"is-using-chatgpt-oauth-in-hermes-bannable","Is using ChatGPT OAuth in Hermes bannable?",[15,624,625],{},"OpenAI hasn't published a rule naming third-party clients, and we found no ban reports in the threads we read. Its terms do forbid sharing credentials and circumventing rate limits, so use only your own account and don't rotate accounts.",{"title":215,"searchDepth":627,"depth":627,"links":628},2,[629,630,631,632,633,641,646,647,648,649],{"id":51,"depth":627,"text":52},{"id":83,"depth":627,"text":84},{"id":166,"depth":627,"text":167},{"id":234,"depth":627,"text":235},{"id":386,"depth":627,"text":387,"children":634},[635,637,638,639,640],{"id":391,"depth":636,"text":391},3,{"id":397,"depth":636,"text":398},{"id":404,"depth":636,"text":405},{"id":419,"depth":636,"text":420},{"id":430,"depth":636,"text":431},{"id":441,"depth":627,"text":442,"children":642},[643,644,645],{"id":445,"depth":636,"text":446},{"id":456,"depth":636,"text":457},{"id":463,"depth":636,"text":464},{"id":484,"depth":627,"text":485},{"id":511,"depth":627,"text":512},{"id":543,"depth":627,"text":544},{"id":579,"depth":627,"text":580,"children":650},[651,652,653,654,655],{"id":583,"depth":636,"text":584},{"id":593,"depth":636,"text":594},{"id":600,"depth":636,"text":601},{"id":614,"depth":636,"text":615},{"id":621,"depth":636,"text":622},null,"Guides","2026-12-01","Set up Hermes Agent with ChatGPT Plus or Pro: device-code sign-in, the models that actually answer, Plus vs Pro limits and the Codex errors.","md",false,"/img/blog/hermes-agent-chatgpt-codex-setup.jpg","Hermes setup guide cover: hermes model with ChatGPT / Codex selected and a device code approved in the browser sign-in window",512,1024,{},true,"/blog/hermes-agent-chatgpt-codex-setup","9 min read",{"title":5,"description":659},"Hermes Agent With ChatGPT Plus or Pro: Codex Setup, Limits","blog/hermes-agent-chatgpt-codex-setup","How to run Hermes on your ChatGPT plan: the security setting you need first, the sign-in steps, the models that actually answer, Plus vs Pro vs Go limits, the errors with their exact text, and what OpenAI's terms say. Checked 29 November 2026 on Hermes 0.23.5.",[675,676,677,678,679,680],"hermes agent chatgpt plus","hermes chatgpt subscription","hermes agent codex","codex oauth hermes","hermes agent chatgpt go","hermes agent chatgpt pro","WA_47cgSxEWoViMmMF8zxvFAYlXZX8UxKnl1c1fDRYw",[683,691,699],{"stem":684,"title":685,"description":686,"date":658,"image":687,"category":688,"redirected":661,"author":689,"readingTime":690},"blog/best-subscription-for-hermes-agent","Best Subscription for Hermes Agent: Every Sign-In Compared (November 2026)","Nous Portal, Claude, ChatGPT, SuperGrok and more for Hermes Agent: what each bills, limits, model access and policy risk, compared in one table.","/img/blog/best-subscription-for-hermes-agent.jpg","Comparison",{"name":7,"role":8,"avatar":9,"bio":10},"13 min read",{"stem":692,"title":693,"description":694,"date":695,"image":696,"category":657,"redirected":661,"author":697,"readingTime":698},"blog/hermes-agent-hosting","Run Hermes Agent 24/7: setup, monitoring and recovery","Keep Hermes Agent running with restart policies, persistent storage, backups and checks. Includes an AWS Lightsail example and real billing caveats.","2026-11-14","/img/blog/hermes-agent-hosting.jpg",{"name":7,"role":8,"avatar":9,"bio":10},"11 min read",{"stem":700,"title":701,"description":702,"date":703,"image":704,"category":657,"redirected":661,"author":705,"readingTime":669},"blog/hermes-agent-latest-version","Hermes Agent latest version: updates and slash commands","Check the current Hermes Agent release, update safely, and find official slash-command documentation. Commands vary by version and setup.","2026-11-10","/img/blog/hermes-agent-latest-version.jpg",{"name":7,"role":8,"avatar":9,"bio":10},[],{"width":708,"height":709},1536,768,1796193356434]