OpenAI

Power your HolaClaw assistant with OpenAI's GPT models β€” and choose between signing in with your ChatGPT plan or using an API key.

6 min read Updated June 11, 2026 AI providersSetupBeginner

OpenAI makes GPT, the family of models behind ChatGPT. They're fast, well-rounded, and great at following instructions β€” a safe, capable brain for almost any assistant you'd want to build. OpenAI is also the one provider in HolaClaw that gives you two ways to connect: sign in with the ChatGPT plan you already pay for, or bring your own API key.

GPTby OpenAI
platform.openai.com

The models behind ChatGPT, with two ways to sign in.

Authentication
ChatGPT subscription or API key
Cost
$$
Recommended model
GPT-5.4

Subscription or API key?

This is the first decision to make, and it's the one thing that sets OpenAI apart. Pick whichever fits how you already use OpenAI.

Subscription API key
How you pay Reuse your ChatGPT plan β€” no separate bill Pay per use, billed separately
What you need An active ChatGPT Plus, Pro, or Team plan An account at platform.openai.com
How you connect Sign in through your browser Paste a secret key
Recommended model GPT-5.4 Mini GPT-5.4

Subscription mode is the easiest path if you already pay OpenAI every month. In HolaClaw's words: "Reuse the OpenAI plan you already pay for β€” no separate bill. Your sign-in stays on this Mac." Nothing extra to set up, nothing extra to pay.

API key mode is for people who don't have a ChatGPT plan, or who'd rather pay only for what their assistant actually uses. You create a key once and OpenAI bills you per message.

Heads-up β€” a free ChatGPT account isn't enough. Subscription mode reuses a paid plan. The in-app requirement spells it out: "Requires an active ChatGPT Plus, Pro, or Team subscription." If you use ChatGPT for free, you'll need to either upgrade your plan or switch to API key mode below.

Where you set this up

Both paths start in the same place: the Create Assistant flow, at Step 2 Β· Model provider β€” the screen that says "Connect the brain behind your assistant."

  1. Start creating an assistant and go to Step 2.
  2. Pick GPT in the provider sidebar.
  3. Use the auth toggle β€” a segmented control near the top β€” to switch between Subscription and API Key.

From here, the steps depend on which mode you chose.

Connect with your ChatGPT subscription

This uses an OAuth-style sign-in β€” meaning you log in on OpenAI's own website and approve access, instead of copying any secret yourself.

  1. With the toggle set to Subscription, click the Sign in with ChatGPT button.
  2. OpenAI's consent screen opens in your browser. This is OpenAI's page, not HolaClaw's β€” log in if you're not already, and review what you're approving.
  3. Approve, and you'll be returned to HolaClaw automatically.

That's it β€” your sign-in is stored locally on your Mac. There's no key to manage and no extra bill: your ChatGPT plan covers it.

Connect with an API key

An API key is a long secret code that proves a request comes from your account β€” think of it as a password your assistant uses on your behalf. Anyone who has it can spend on your account, so keep it private.

  1. Go to platform.openai.com/api-keys and sign in.
  2. Create a new key and give it a name you'll recognize, like "HolaClaw".
  3. Copy the key right away β€” it's shown in full only once. If you lose it, just make a new one.
  4. Make sure your account has a payment method on the billing page, or requests will fail.
  5. Back in HolaClaw, set the toggle to API Key and paste your key into the field. It's masked like a password, which is normal.

Tip β€” no ChatGPT plan needed here. API key mode is completely independent of ChatGPT subscriptions. You can use it whether or not you've ever paid for ChatGPT.

As the app notes right below your credentials: "Your credentials stay on your Mac β€” we never send them anywhere." Whether you signed in or pasted a key, those credentials live inside the assistant's private virtual machine on your Mac. HolaClaw's servers never see them, and OpenAI bills you directly β€” HolaClaw adds nothing on top.

Choosing a model

The same three GPT models are available in both modes:

Model Best for Speed Cost
GPT-5.5 The latest flagship β€” top quality for hard tasks Slower Higher
GPT-5.4 Everyday chat, planning, writing Fast Moderate
GPT-5.4 Mini Quick, cheap, lightweight assistants Fastest Lowest

GPT-5.4 is the all-rounder and the recommended pick in API key mode β€” smart enough for a daily companion or a writing partner without costing much.

GPT-5.4 Mini is the recommendation in subscription mode: it's fast and cheap, which keeps things snappy on your existing plan.

GPT-5.5 is OpenAI's newest flagship. Reach for it when your assistant tackles genuinely demanding work β€” deep reasoning, intricate analysis β€” and you want the best they offer.

Tip β€” the model is set at creation. You choose the provider and model when you create an assistant, and that choice sticks. If you later want a different model, create a new assistant with it β€” your existing one keeps the brain it was born with.

What it costs

In subscription mode there's nothing extra to pay β€” your ChatGPT plan already covers it.

In API key mode, OpenAI charges per token β€” roughly a short word or word-fragment of text. Every message you send and every reply your assistant writes uses some, and you pay only for what you use. A chatty daily assistant on GPT-5.4 Mini typically costs cents a day; GPT-5.5 costs more for the same conversation. For current per-token prices, check your billing page β€” we don't quote numbers here because they change.

Troubleshooting

When something goes wrong with the connection to OpenAI, HolaClaw shows a banner in the chat. Here's what each means:

  • "OpenAI is out of credits" β€” your account balance is empty. Top up on the billing page and your assistant resumes on the next message.
  • "OpenAI API key is invalid, expired, or out of credits" β€” the key was revoked, mistyped, or the account can't pay. Create a fresh key at platform.openai.com/api-keys and update it, or top up. In subscription mode, this banner can mean your ChatGPT plan lapsed β€” sign in again to reconnect.
  • "OpenAI rate limit or quota reached" β€” you're sending requests faster than your plan allows. Wait a little and try again, or upgrade with OpenAI.
  • "OpenAI is currently unreachable" β€” OpenAI's servers are having a moment. Nothing to fix on your end; the next attempt goes through once their service recovers.

Still stuck? The HolaClaw Discord is a friendly place to ask.

Next steps

Not sure GPT is the right brain for this assistant? Compare every option in Choosing an AI provider β€” and remember you can always create another assistant with a different one. If you'd like to weigh GPT against the alternatives, the guides for Anthropic Claude, Google Gemini, and Grok cover the other big names.

Was this page helpful?