The @vibe-kit/auth package provides secure OAuth authentication for AI providers’ MAX subscriptions, allowing you to leverage your existing subscriptions programmatically instead of paying per API call.Documentation Index
Fetch the complete documentation index at: https://docs.vibekit.sh/llms.txt
Use this file to discover all available pages before exploring further.
Key Features
MAX Subscription Access
Use your existing AI provider MAX subscriptions instead of pay-per-use APIs
Multiple Providers
Claude AI available now, with Gemini, Grok, and ChatGPT Max coming soon
Secure OAuth 2.0 + PKCE
Industry-standard security with automatic token refresh and secure storage
Universal Compatibility
Works in both Node.js and browser environments with appropriate builds
Getting Started
Node.js Usage
Server-side authentication with automatic browser launching
Browser Usage
Client-side authentication for web applications
Try It Out
Experience the authentication flow with our interactive demo template:Auth Demo Template
Complete Next.js application demonstrating OAuth flow with Claude AI
Why Use MAX Subscriptions?
Instead of paying per API call, leverage the subscriptions you already have:- Cost Effective: Use your existing MAX subscriptions instead of pay-per-use APIs
- Higher Limits: MAX subscriptions often have higher rate limits and priority access
- Latest Models: Access to the newest and most capable models in each provider’s lineup
- Consistent Experience: Same interface across different AI providers

