# rNet Ai > rNet Ai is an AI credit wallet. Users top up one credit balance and use it across any supported AI application. Developers integrate rNet via SDK or API so their apps bill against the user's own credits. Login-based BYOK (Bring Your Own Key) and BYOAC (Bring Your Own AI Credit) — no API keys needed for end users, no billing infrastructure needed for developers. ## What is rNet Ai? rNet Ai is a shared AI credit system. Instead of every AI app having its own billing and requiring users to manage API keys, users maintain one rNet credit balance. When a user signs in to a supported app with rNet, the app can use AI models on the user's behalf — credits are deducted from the user's rNet wallet automatically. rNet acts as a network routing layer. It does not store prompts or responses. It collects only minimal technical metadata. ### For Users - Add credits to one rNet account - Sign in with rNet inside any supported app - Use the same credit balance across all connected apps - No API keys required — login-based access ### For Developers - Build AI-powered apps without paying token costs yourself - No need to build custom billing, credit ledgers, or pricing logic - Users connect via simple OAuth login, not API keys - SDKs available for Java, Node.js, and Python - OAuth2 Authorization Code flow with PKCE ### Key Concepts - **BYOK (Bring Your Own Key)**: Login-based — users authenticate with rNet to grant apps access to AI models - **BYOAC (Bring Your Own AI Credit)**: Users bring their own AI credit balance to any supported app - **AI Credit Wallet**: One credit balance shared across all connected AI applications ### Supported Models OpenAI and Google models are currently supported. See the models page for the full list with credit costs. ## Documentation ### Guide — Getting Started - [Product Overview](https://rnetai.org/docs/guide/product-overview): Introduces rNet as a shared AI credit wallet where users add credits once and use them across any connected app, replacing per-provider API keys - [User Setup](https://rnetai.org/docs/guide/user-setup): Step-by-step guide for creating an rNet user account, signing in, and adding credits - [Developer Setup](https://rnetai.org/docs/guide/developer-setup): Guide for developers to create an rNet account, access the developer dashboard, register apps, and obtain OAuth credentials - [App Registration](https://rnetai.org/docs/guide/app-registration): How to register a new application in the rNet dashboard to obtain a Client ID, Client Secret, and configure the OAuth redirect URI ### Guide — Authentication - [User Authentication](https://rnetai.org/docs/guide/user-authentication): Complete OAuth2 Authorization Code flow with PKCE for authenticating users, exchanging codes for tokens, and protecting AI routes - [Token Lifecycle](https://rnetai.org/docs/guide/token-lifecycle): Access token issuance, expiration, refresh token usage, secure storage best practices, and sign-out/session cleanup - [Credit Usage](https://rnetai.org/docs/guide/credit-usage): How shared user credits are consumed across connected apps and how to handle insufficient-credit errors ### SDK Reference - [SDK Overview](https://rnetai.org/docs/sdk/overview): Feature comparison table across Java, Node.js, and Python SDKs with links to GitHub repositories - [Java SDK](https://rnetai.org/docs/sdk/java): Installation, initialization, and usage examples for the official Java OAuth and AI client library - [Node.js SDK](https://rnetai.org/docs/sdk/nodejs): Installation, initialization, and usage examples for the official Node.js OAuth and AI client library - [Python SDK](https://rnetai.org/docs/sdk/python): Installation, initialization, and usage examples for the official Python OAuth and AI client library ### API Reference - [AI Access API](https://rnetai.org/docs/api/credit): API reference for making authenticated AI requests (POST /ai, POST /ai/stream) with provider-specific request body examples - [Error Codes](https://rnetai.org/docs/api/error-codes): Reference table of HTTP error codes (400-502) returned by rNet AI endpoints with descriptions and recommended actions - [Rate Limits](https://rnetai.org/docs/api/rate-limits): Rate limiting policy (100 requests/IP/minute) and rate-limit response headers ### Projects — Example Apps - [Projects Overview](https://rnetai.org/docs/projects/overview): Two demo projects (Basic Coding Agent Extension and Basic Chat Web Demo) demonstrating rNet OAuth integration - [AI Coding Assistant](https://rnetai.org/docs/projects/ai-coding-assistant): A VS Code extension demo that uses rNet OAuth for an AI coding agent with editor context, code changes, and approval flow - [Conversational AI](https://rnetai.org/docs/projects/conversational-ai): A full-stack React + Express chat application demo that uses rNet OAuth for AI-powered conversations ### Support - [FAQ](https://rnetai.org/docs/faq): Frequently asked questions about rNet Ai ## Other Pages - [Models](https://rnetai.org/models): Lists currently supported AI models on rNet (OpenAI and Google models) with credit costs - [Supported Apps](https://rnetai.org/apps): Developer apps that support rNet AI Credit Wallet — includes AI Chat (web chatbot) and AI Assistant (VS Code extension) - [Business Inquiry](https://rnetai.org/business-inquiry): Contact form for business and partnership inquiries - [Improvement Suggestion](https://rnetai.org/improvement-suggestion): Submit feature requests and improvement suggestions - [Sponsor a Model](https://rnetai.org/sponsor-model): Request or sponsor new AI model integrations ## SEO Landing Pages - [What is an AI Credit Wallet?](https://rnetai.org/what-is-ai-credit-wallet): Explains the AI credit wallet concept, how it works, and why it replaces messy API key management for SaaS apps - [Bring Your Own AI Credits (BYOAC)](https://rnetai.org/bring-your-own-ai-credits): Explains the BYOAC paradigm where end-users pay for their own LLM inference through rNet - [OpenAI Billing Alternative](https://rnetai.org/openai-billing-alternative): Positions rNet as an alternative to managing OpenAI billing and API keys for SaaS developers - [AI API Proxy & Gateway](https://rnetai.org/ai-api-proxy): Describes the rNet AI API proxy that handles token usage, rate limiting, and credit deduction automatically - [Blog](https://rnetai.org/blog): The rNet developer blog with articles on AI billing, BYOK, and building scalable AI apps ## Links - Website: https://rnetai.org - Documentation: https://rnetai.org/docs - Full LLM Documentation: https://rnetai.org/llms-full.txt