AuthAI, an open-source relay for user-authorized AI sessions
AuthAI, an open-source relay for user-authorized AI sessions
About
AuthAI, an open-source relay for user-authorized AI sessions
Details
AuthAI is an open-source relay that lets end users pay for AI features using their existing ChatGPT, Grok, or GitHub Copilot subscriptions. Users sign in via OAuth, and your app calls AI models on their behalf—keeping costs on the user's plan. It offers a hosted service at authai.io (free, no setup) or the option to self-host. The relay uses each provider's public device-code OAuth flow, similar to official CLIs. Security is handled with per-record AES-256 encryption: OAuth tokens are encrypted with a key embedded in the user's JWT, never stored server-side. The project is experimental and intended for personal projects and demos.