packages/kilo-docs/pages/ai-providers/openai-chatgpt-plus-pro.md
If you already pay for ChatGPT Plus or Pro, you can use that subscription to run OpenAI's top coding models directly inside Kilo Code — with no extra API charges beyond your subscription.
{% callout type="note" %} Your ChatGPT subscription works with Kilo Code's core functionality (VS Code extension and CLI), but does not include cloud features such as Cloud Agents, Kilo Deploy, or KiloClaw. To use GPT models in those features, use the Kilo Gateway. {% /callout %}
{% tabs %} {% tab label="VSCode" %}
Open Settings (gear icon) and go to the Providers tab. ChatGPT Plus/Pro uses OAuth authentication — follow the sign-in flow to connect your ChatGPT subscription.
If OpenAI is already connected from an API key, environment variable, or kilo.json config, you can still sign in with ChatGPT from the OpenAI provider row. Kilo Code uses the ChatGPT sign-in for Codex models until you disconnect it, then falls back to your existing OpenAI API configuration.
{% /tab %} {% tab label="CLI" %}
Run the auth command and follow the ChatGPT Plus/Pro sign-in flow:
kilo auth login --provider codex
You can also use --provider openai. If you already have OPENAI_API_KEY or OpenAI config set, ChatGPT OAuth takes priority for Codex models until you log out of the OpenAI provider.
Then set your default model to one of the OpenAI Codex models available in Kilo Code:
{
"model": "openai/gpt-5.1-codex",
}
{% /tab %} {% /tabs %}
lsof -i :1455.kilo auth logout and choose OpenAI.Do I need a separate API key? No — just sign in with OAuth using your ChatGPT subscription.
Which ChatGPT plans include Codex access? ChatGPT Plus, Pro, Business, Edu, and Enterprise. Free accounts are not supported.
How is usage billed? Usage counts against your ChatGPT subscription limits — there are no separate API charges.
Can I still switch to other AI providers? Yes. Use OpenAI when it fits and switch to Claude, Gemini, or any local model at any time.
Can I use my ChatGPT subscription in KiloClaw? No. For KiloClaw and other cloud features, use GPT models through the Kilo Gateway, which gives access to 500+ models including the latest GPT releases.