# What happens when an app says 'Sign in with ChatGPT'?

> A login button with an optional second job. With your permission, your ChatGPT plan pays for the app's AI.

https://learnfold.app/wait-how/how-sign-in-with-chatgpt-works/ · Updated 2026-11-09

"Sign in with ChatGPT" is OpenAI's login button for other apps. Tap it and you sign in on OpenAI's own page, not the app's. You approve what the app asked for, and OpenAI hands the app a token that says who you are. The basic version shares your name, email, profile picture and an account ID, and nothing from your chats. A second permission, asked for separately, lets the app spend your ChatGPT plan's usage on its AI requests. Then your subscription pays for the app's AI instead of the developer's own API key. For now it's a limited trial.

## One button, two jobs

OpenAI's developer docs describe two things the button can do. The first is plain sign-in. Your ChatGPT account becomes one more way to log in, next to email or Google. The docs tell developers to label it "Continue with ChatGPT" and give it the same visual weight as the other options.

The second job is optional, and it's the new part. In the quickstart's words, eligible Plus and Pro users "can use their ChatGPT plan for AI requests in participating apps." Every time the app asks a model to write something, which is a loop of [a chatbot picking the next word](/wait-how/how-a-chatbot-picks-the-next-word/) over and over, the cost comes out of your plan.

An app can do the first job without the second. A lot of these buttons will only ever be a login.

## What happens when you tap it

Under the hood it's OAuth with OpenID Connect, the same plumbing behind most "Sign in with" buttons. OpenAI's quickstart lists five steps.

1. The app starts a sign-in and sends your browser to OpenAI.
2. You sign in and approve the permissions on OpenAI's page.
3. OpenAI sends a short authorization code back to an address the app registered in advance.
4. The app's server trades that code for tokens and checks the signed ID token.
5. The app finds or creates your account and starts its own session.

The flow uses a trick called PKCE. Before step 1, the app makes up a random secret and sends only a scrambled version of it, a SHA-256 digest, along with the request. To trade the code in step 4, it has to show the original. Someone who grabs the code on its way back can't use it without that secret.

Your ChatGPT password never passes through the app. What the app keeps is a set of tokens. In the open-source version of the flow, OpenAI's token reference says an access token lasts one hour and a refresh token lasts 30 days, with a fresh refresh token handed back each time the app renews.

## What the app can see

With the identity permissions, called `openid`, `profile` and `email`, the quickstart says an app "can receive a stable account identifier and a person's name, email address, and profile picture." The next sentence is the one most people want. "Identity scopes don't grant access to ChatGPT conversations or OpenAI API resources."

The plan permission doesn't widen that. The open-source guide says it "does not grant access to their ChatGPT conversations or other account context."

## The separate permission to spend your plan

Plan usage needs extra scopes that you approve on top of sign-in. In the open-source guide they are `offline_access`, `resource.invoke` and `chatgpt.tokens.use.direct`. That last one is the switch. OpenAI tells developers that a valid ID token alone doesn't authorize plan usage. If you decline, the app can keep you signed in but has to treat plan usage as off and offer another way to pay, such as your own API key.

When it's on, the app sends requests to OpenAI's public Responses API with your token where an API key would normally go. The quickstart says this "doesn't grant access to the user's API key or conversations." The preview has rules. Every request must be sent with storage turned off, as `store: false`, and some tools aren't available yet, including image generation, file search and Code Interpreter.

## Who pays, and what happens at the limit

You pay, through the plan you already have. OpenAI's design guidelines describe the requests as using the "usage included in your ChatGPT plan or credits balance," and tell apps to keep that apart from their own subscription or charges. Apps are asked to show "Using ChatGPT plan" near the message box, with a Manage usage link to ChatGPT's settings, where you can review usage and adjust limits.

There are two kinds of limit. Your plan's overall allowance can run out, and the docs say a separate limit "can also apply" to one app. Either way the request fails with a usage-limit error, and OpenAI says it "does not silently switch the request to another billing path." The request stops. The guidelines suggest Manage usage as the main button at that point and, if the app sells its own credits, Buy app credits as the second one.

You can also disconnect an app in ChatGPT's settings. One detail stands out. The docs say OpenAI "does not currently notify" the app when you do. It finds out the next time a request or token refresh fails.

## Who can use it right now

Not many apps yet. The quickstart says sign-in "is currently available to selected commercial partners through a limited trial," while plan usage "is available to all open-source partners and selected private clients." Developers of paid or hosted apps who want plan usage are pointed to an interest form. On your side, the docs name eligible ChatGPT Plus and Pro users.

OpenAI announced it at DevDay at the end of September 2026. A recap on OpenAI's developer forum says eligible subscription usage works "through 16 launch partners," and a dpa report carried by The Star named Devin, Notion and Vercel among the first. Neither gives the full list.

## How this differs from an app's own API key

Most AI apps work the other way round. The developer holds an API key, the AI company bills the developer for every request, and you pay the developer through a subscription. The developer picks the model, sets the limits and swallows the cost when you use a lot.

OpenAI's own Codex shows both setups side by side. Its docs offer "Sign in with ChatGPT for subscription access" or "Sign in with an API key for usage-based access," and say API key usage is billed "at standard API rates" instead of drawing on plan credits. The data rules differ too. Signed in with ChatGPT, Codex follows your ChatGPT workspace settings. With an API key, it follows the API organization's retention settings.

So the trade is fairly simple. With Sign in with ChatGPT, the AI bill moves from the developer to your plan, and so does the ceiling. A heavy user runs into their own allowance instead of the app's budget. That suits people who already pay for ChatGPT and dislike paying twice. It's less good if one app quietly eats the usage you wanted for ChatGPT itself, which is why the per-app limits exist.

Not every AI company allows this. Anthropic's legal page for Claude Code says it "does not permit third-party developers to offer Claude.ai login into their own applications, or to route requests through Free, Pro, Max, or Ultra plan credentials on behalf of their users." Apps built on Claude use API keys instead.

## Where Learnfold fits

Learnfold doesn't offer Sign in with ChatGPT. Its tutor runs on Learnfold Cloud, Learnfold's own AI service, or on a runtime you bring. The Codex option uses your own OpenAI API key, and OpenAI charges you for it separately. That option sends your data to OpenAI, so check OpenAI's terms. Plans are on the [pricing page](/pricing), and [Learnfold vs ChatGPT for learning](/compare/learnfold-vs-chatgpt-for-learning/) covers how the two differ as tutors. Whichever AI writes your lessons, it can get things wrong, so [check its explanations](/guides/check-ai-explanations-for-mistakes/) before you rely on them.

## Quick answers

**Can an app read my ChatGPT conversations if I sign in with ChatGPT?**

No, according to OpenAI's developer docs. The sign-in permissions give the app a stable account ID, your name, email address and profile picture, and they don't grant access to your ChatGPT conversations. The separate permission to use your plan doesn't grant access to your conversations or your API key either.

**Does using my ChatGPT plan in another app cost extra?**

Requests that use your plan draw on the usage included in your ChatGPT plan or your credits balance. The app can still charge for its own subscription, and OpenAI tells developers to keep the two clearly separate.

**What happens when I hit my ChatGPT limit in another app?**

The request fails with a usage-limit error. OpenAI says it does not silently switch the request to another billing path. The limit can be your whole plan's or one set for that app, and you can review both in ChatGPT's usage settings.

**Who can use Sign in with ChatGPT right now?**

As of November 2026, OpenAI's docs say sign-in is a limited trial for selected commercial partners, and plan usage is open to open-source partners and selected private clients. On the user side, it is for eligible ChatGPT Plus and Pro subscribers.

**Does Learnfold support Sign in with ChatGPT?**

No. Learnfold runs its tutor on Learnfold Cloud, its own AI service, or on a runtime you bring. Its Codex option uses your own OpenAI API key, and OpenAI charges you for that separately.

## Sources

1. [Sign in with ChatGPT (overview)](https://developers.openai.com/siwc), OpenAI developer documentation
2. [Sign in with ChatGPT quickstart](https://developers.openai.com/siwc/quickstart), OpenAI developer documentation
3. [Sign in with ChatGPT on your website](https://developers.openai.com/siwc/website), OpenAI developer documentation
4. [ChatGPT plan usage in open-source apps: overview](https://developers.openai.com/siwc/token-sharing-open-source), OpenAI developer documentation
5. [Registration and sign-in](https://developers.openai.com/siwc/token-sharing-open-source/sign-in), OpenAI developer documentation
6. [Token reference](https://developers.openai.com/siwc/token-sharing-open-source/token-reference), OpenAI developer documentation
7. [Errors and recovery](https://developers.openai.com/siwc/token-sharing-open-source/errors-and-recovery), OpenAI developer documentation
8. [Preview limitations](https://developers.openai.com/siwc/token-sharing-open-source/preview-limitations), OpenAI developer documentation
9. [UI/UX guidelines for ChatGPT plan usage](https://developers.openai.com/siwc/ui-ux-guidelines), OpenAI developer documentation
10. [DevDay 2026 announcements and developer resources (community recap, September 29, 2026)](https://community.openai.com/t/devday-2026-announcements-and-developer-resources/1402006), OpenAI Developer Community forum
11. [OpenAI expands ChatGPT with apps and third-party sign-in (dpa/Tribune News Service, October 4, 2026)](https://www.thestar.com.my/tech/tech-news/2026/10/04/openai-expands-chatgpt-with-apps-and-third-party-sign-in), The Star
12. [Authentication (Codex)](https://learn.chatgpt.com/docs/auth), ChatGPT and Codex user documentation
13. [Legal and compliance (Claude Code)](https://code.claude.com/docs/en/legal-and-compliance), Anthropic
