← Home

Guide

Use Your ChatGPT Plus Subscription with Hermes Agent

Already paying $20/mo for ChatGPT Plus? Connect it to your Hermes Agent instance and use GPT-5.6 Sol at zero extra API cost. No separate API key needed.

Running OpenClaw instead of Hermes? See the OpenClaw ChatGPT subscription guide.

Watch: the whole flow in 95 seconds

How It Works

Hermes Agent supports the openai-codex provider, which routes requests through your ChatGPT subscription instead of the pay-per-token OpenAI API. You authenticate via a device-code OAuth flow, and Hermes uses your subscription's included quota — no API billing.

Cost breakdown: ChatGPT Plus ($20/mo) + OpenClaw Launch Lite ($3 first month, then $6/mo) = GPT-5.6 Sol for $23 your first month, $26/mo after. No per-token API charges.

What You Need

  • An active ChatGPT Plus ($20/mo) or ChatGPT Pro ($200/mo) subscription
  • A deployed Hermes Agent instance on OpenClaw Launch

Step 1: Open the Terminal

  1. Go to your Dashboard and find your Hermes Agent instance.
  2. Click the Terminal button to open the web terminal.

Step 2: Run the Auth Command

In the terminal, run:

hermes auth add openai-codex --type oauth

The terminal will print a device code (e.g. V0SZ-CL1YM) and a URL. Open the URL in your local browser — on your computer, not inside the terminal.

Step 3: Approve the OAuth Request

  1. Visit https://auth.openai.com/codex/device in your browser.
  2. Enter the device code shown in the terminal (e.g. V0SZ-CL1YM).
  3. Sign in with the OpenAI account that has your ChatGPT Plus subscription and approve.
  4. Once approved, the terminal will confirm: Added openai-codex OAuth credential #1: "openai-codex-oauth-1". The credential is stored at /opt/data/auth.json inside your container.

Step 4: Switch the Model

Send this command from any connected chat surface — Telegram, Discord, WhatsApp, or the web chat in your Dashboard:

/model gpt-5.6-sol --provider openai-codex --global

GPT-5.6 requires Hermes v2026.7.7.2 or newer. If your instance is still on an older version, use the compatibility model until you upgrade:

/model gpt-5.5 --provider openai-codex --global

The --provider openai-codex flag is required: it sets model.default to the model you selected and model.provider = openai-codex in your container's config. The change takes effect on the next message — no restart needed.

The Hermes Dashboard model picker doesn't yet expose Codex as a one-click option, so the chat command is the supported path today. We'll surface it in the picker in a future update.

Step 5: Verify It Works

Send a message to your bot on Telegram, Discord, or whichever platform you connected. On a current Hermes release, the response should come from GPT-5.6 Sol via your subscription. You can also check the active model and credential status with:

hermes auth list

Available Models

Model IDModelBest For
gpt-5.6-solGPT-5.6 SolMaximum capability, recommended
gpt-5.6-terraGPT-5.6 TerraBalanced everyday use
gpt-5.6-lunaGPT-5.6 LunaEfficient high-volume tasks
gpt-5.4GPT-5.4Stable general-purpose model
gpt-5.3-codexGPT-5.3 CodexCode generation, vision

Important Notes

  • Weekly quota limits: ChatGPT Plus has a weekly usage cap for Codex access. Heavy usage may hit limits before the week resets.
  • Token refresh: OpenAI uses rotating refresh tokens. Occasionally you may need to re-run the auth command if the session expires.
  • For production workloads: If you need guaranteed uptime and no quota limits, consider using an OpenAI API key instead.

Other Ways to Bring Your Own Key

Don't have ChatGPT Plus? You can still bring your own API key from any provider:

Or skip API keys entirely — OpenClaw Launch includes AI credits and free models out of the box.

Troubleshooting

Auth command shows no device code

Make sure you're running hermes auth add openai-codex --type oauth (not the OpenClaw command). The terminal must be the Hermes web terminal, accessible from the Dashboard.

Token refresh errors

If your credential stops working, re-run:

hermes auth add openai-codex --type oauth

This replaces the stored credential at /opt/data/auth.json.

Quota exceeded

ChatGPT Plus has weekly limits. If you hit the cap, your bot will return errors until the quota resets. Upgrade to ChatGPT Pro ($200/mo) for higher limits, or switch to an API key for unlimited usage.

Deploy Hermes with Your ChatGPT Subscription

Get a GPT-5.6 Hermes Agent on Telegram or Discord — powered by your existing subscription.

Deploy Hermes