SillyTavern + ChatGPT
SillyTavern with ChatGPT Plus
SillyTavern has no ChatGPT login, but it runs on your ChatGPT Plus or Pro plan through Plan2API: pick Chat Completion with the Custom (OpenAI-compatible) source, set the endpoint to https://api.plan2api.com/v1, paste your p2a_ key and enter openai/gpt-6.1-sol. No OpenAI API key, no prepaid credits, and Plan2API Free costs $0.
- Chat Completion Source
- Custom (OpenAI-compatible)
- Model ID
- openai/
gpt-6.1-sol - ChatGPT sign-in
- One-time device code
- Works with
- ChatGPT Plus and Pro
Updated
Why ChatGPT Plus doesn't plug into the OpenAI source
SillyTavern's OpenAI source signs in with an API key from OpenAI's developer platform, which SillyTavern's docs list as prepaid credits charged per prompt. There's no field for a ChatGPT account.
ChatGPT Plus doesn't come with those credits. It's $20 a month for ChatGPT and Codex, and OpenAI's API credits benefit leaves Plus and Go out: only the Pro tiers and Business seats get API credits.
Plan2API connects ChatGPT through Codex with a one-time device code on OpenAI's sign-in page and turns your plan into an OpenAI-compatible endpoint, which is exactly what SillyTavern's Custom source expects.
| Route | What you need | Where it runs |
|---|---|---|
| OpenAI source with an API key | An OpenAI developer platform key and prepaid credits | Any SillyTavern install |
| SillyTavern-Subscriptions plugin | Server plugins turned on and the Codex CLI logged in on the same machine | Only the machine running SillyTavern |
| Plan2API | Your ChatGPT login and a p2a_ key in the Custom source | Hosted, so any SillyTavern install |
SillyTavern settings for ChatGPT Plus
The Available Models dropdown lists every provider Plan2API serves. Pick an openai/ model or type the id yourself, because a model from a provider you haven't connected answers with 403 no_credentials.
| Setting | Value |
|---|---|
| API | Chat Completion |
| Chat Completion Source | Custom (OpenAI-compatible) |
| Custom Endpoint (Base URL) | https:// |
| Custom API Key | Your Plan2API key, starting with p2a_ |
| Enter a Model ID | openai/ |
Connect SillyTavern to ChatGPT Plus
- Sign up at plan2api.com/connect with your Google account.
- Connect ChatGPT: enter the one-time device code Plan2API shows you on OpenAI's sign-in page.
- Copy your
p2a_API key. - In SillyTavern, open API Connections and set API to Chat Completion.
- Choose Custom (OpenAI-compatible) as the Chat Completion Source.
- Enter
https://api.plan2api.com/v1in Custom Endpoint (Base URL), without/chat/completions, and paste your key into Custom API Key. - Type
openai/gpt-6.1-solinto Enter a Model ID, click Connect and send a test message.
Pick a GPT model
GPT-6.1 Sol is the model Codex recommends on Plus and Pro, so openai/gpt-6.1-sol is the right default for roleplay and long chats.
Plan2API reads your plan's Codex model list live from OpenAI, so every model your plan has works as openai/<model>, with codex/<model> as an alias. Plans with GPT-6 Astra in Codex can call openai/gpt-6-astra.
GPT settings that matter in SillyTavern
- Temperature and Top P are ignored on Codex models, so steer the output with your prompt instead.
- Reasoning effort passes straight through: add
reasoning_effortunder Additional Parameters, Include Body Parameters. - Streaming works, so keep it on for token-by-token replies.
For samplers, stop strings and prompt post-processing across every provider, see the main SillyTavern setup guide.
reasoning_effort: mediumTroubleshooting SillyTavern with ChatGPT Plus
Match the status code in SillyTavern's error toast to the fix.
| Error | Fix |
|---|---|
| 404 | The endpoint includes /; trim it to https:// |
401 invalid_ | Paste the full key starting with p2a_ into Custom API Key |
403 no_ | ChatGPT isn't connected in Plan2API, or the Model ID belongs to a provider you haven't connected |
400 model_ | A typo, or a model your plan's Codex list doesn't include |
429 subscription_ | Your ChatGPT plan's Codex limit ran out; Retry-After says when it resets |
Use the AI subscriptions you already pay for as one OpenAI-compatible API key.
- Free: 1 subscription, no daily cap, no card
- Pro: $12 a month
Get an email when a new model drops
Free alerts for new models from OpenAI, Anthropic, Google and Moonshot AI. How it works
Check your inbox
We sent a link to . Open it to turn on alerts.
FAQ
Can I use ChatGPT Plus in SillyTavern?
Yes. Plan2API connects your ChatGPT Plus or Pro account through Codex and gives you an API key for SillyTavern's Custom (OpenAI-compatible) source. Plan2API Free costs $0 with no card.
Does ChatGPT Plus include an OpenAI API key?
No. ChatGPT Plus is $20 a month and isn't eligible for OpenAI's API credits benefit, which only covers ChatGPT Pro tiers and Business seats. The OpenAI API is billed separately.
Does SillyTavern support logging in with a ChatGPT account?
Not natively. The OpenAI source only takes a developer platform API key. Plan2API turns your ChatGPT login into a key SillyTavern accepts, with nothing to install.
Which Chat Completion source do I pick for ChatGPT Plus?
Pick Custom (OpenAI-compatible). Enter https://api.plan2api.com/v1 as the Custom Endpoint and paste your p2a_ key as the Custom API Key.
Which GPT model should I use in SillyTavern?
Start with openai/gpt-6.1-sol, the model Codex recommends on Plus and Pro. Any other model in your plan's Codex list works as openai/ plus its id.
Sources
- SillyTavern Docs: Chat Completions sourcesdocs.sillytavern.app
- SillyTavern Docs: API Connectionsdocs.sillytavern.app
- SillyTavern-Subscriptions on GitHubgithub.com
- ChatGPT Help: What is ChatGPT Plushelp.openai.com
- ChatGPT Help: API credits benefit for eligible ChatGPT subscriptionshelp.openai.com
- Codex docs: Modelslearn.chatgpt.com