All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

OpenAI OAuth Tool Provides Free API Access via ChatGPT Account Authentication

By

EvanZhouDev

2mo ago· 3 min readenCode

Summary

The article describes an open-source tool called 'openai-oauth' that provides free OpenAI API access using ChatGPT account credentials. It explains two usage methods: a CLI tool that creates a localhost proxy for ChatGPT's backend API, and a Vercel AI SDK Provider. The tool allows developers to bypass OpenAI's paid API by using their existing ChatGPT authentication tokens through OAuth integration.

Key quotes

· 4 pulled
Free OpenAI API access with your ChatGPT account.
This package lets you create a localhost proxy to chatgpt.com/backend-api/codex/responses pre-authenticated with your Oauth tokens.
The CLI and the provider share the same core OAuth transport settings.
Just run npx openai-oauth.
Snippet from the RSS feed
Free OpenAI API access with your ChatGPT account. Contribute to EvanZhouDev/openai-oauth development by creating an account on GitHub.

You might also wanna read