You can authenticate a coding AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → with your ChatGPT account instead of managing API keys, and use subscription flat-rate pricing. Available models depend on your subscription tier.
Key takeaways · AI-distilled
Cline's OpenAI Codex provider lets ChatGPT subscribers sign in with their OpenAI account and use the models their plan already includes, billed at the subscription's flat rate instead of per tokenThe chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.Full definition →.
With OAuth, OpenAI credentials stay on OpenAI's servers and Cline receives only access tokens that refresh automatically, avoiding API keys that get committed to repos, need rotation or spread across machines.
This was Cline's first OAuth provider integration, and the post says it will not be the last: the stated goal is that connecting any model provider takes a single sign-in.
Terms in this piece · Glossary
token — The chunk of text a model reads and writes in — roughly three-quarters of a word — and the unit AI usage is billed in.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.