What is Replit AI Integrations?
Replit AI Integrations provides managed access to AI models from providers like OpenAI. Build chat apps, content generators, and AI-powered tools without leaving Replit. No need to create an external developer account, find your API credentials, or manage separate billing. When you use Replit AI Integrations, Replit manages the provider credentials and bills you at the public API price. Your usage is billed to your Replit credits and appears on your usage page, broken down by Existing Replit App.Features
Replit AI Integrations streamlines AI development with built-in access and transparent billing:- Zero setup required: No developer accounts or API keys needed to get started
- Managed credentials: Replit handles provider authentication and credential management
- Transparent billing: Pay public API prices, billed to your Replit credits
- Usage tracking: View your usage per Existing Replit App on your usage page
- Cross-stack support: Works across all programming languages and frameworks
- Optional BYOK: Bring your own API key if you prefer to use your own credentials
Replit AI Integrations is available for paying users only.
Getting started
Using Replit-managed credentials
When you mention OpenAI or AI functionality in your prompt, Agent defaults to using Replit AI Integrations:
Bringing your own API key
If you prefer to use your own OpenAI credentials instead of Replit AI Integrations, you have a few options: For initial builds: Include in your prompt that you want to use your own API key:Viewing your usage
All Replit AI Integrations usage appears on your usage page alongside your other Replit usage. Usage is broken down by Existing Replit App so you can see exactly where your AI spend is going. You can track:- Model calls and tokens used per Existing Replit App
- Cost per Existing Replit App
- Usage trends over time
Supported providers
Replit AI Integrations currently supports:- OpenAI: Text models for generation, analysis, and understanding
Teams and Enterprise
For Teams and Enterprise organizations, Replit AI Integrations access is disabled by default. Organization admins can control access from the organization settings page:- Navigate to your organization settings
- Find the Replit AI Integrations section
- Toggle access on or off for your organization
Replit AI Integrations is currently rolling out to paying users and will be available more broadly soon.
Use cases
Build powerful AI applications across any stack:- Content generation: Summarize articles, generate descriptions, create content
- Analysis and insights: Extract key information, analyze sentiment, classify text
- Conversational interfaces: Build chatbots and AI assistants
- Text transformation: Translate, rewrite, or format content
- Code assistance: Generate code snippets, explain algorithms, review code
FAQ
How is this different from other Agent integrations?
How is this different from other Agent integrations?
Other Agent integrations let you connect to external services and APIs. Replit AI Integrations specifically provides managed access to AI model providers like OpenAI, with Replit handling credentials and billing so you can start building immediately.
Do I need a paid Replit account?
Do I need a paid Replit account?
Yes. Replit AI Integrations is available for paying users. Free users will need to provide their own API keys to use AI model providers.
What models are available?
What models are available?
Currently, Replit AI Integrations supports text models from OpenAI. More providers and model types are coming soon.
How is billing calculated?
How is billing calculated?
You’re billed at the public API price set by the provider. Costs are deducted from your Replit credits and appear on your usage page.
Can I use my own API key?
Can I use my own API key?
Yes. You can provide your own API key using Replit secrets. When you use your own key, you’re billed directly by the provider instead of through Replit.
Does this work in all programming languages?
Does this work in all programming languages?
Yes. Replit AI Integrations works across all stacks and programming languages supported on Replit.
Why is this feature not available for my organization?
Why is this feature not available for my organization?
For Teams and Enterprise, Replit AI Integrations access is disabled by default for security and control. Your organization admin can enable it from the organization settings page.
How do I know if I'm using Replit AI Integrations?
How do I know if I'm using Replit AI Integrations?
Look for “OpenAI (Replit managed)” in Agent’s response. This indicates you’re using Replit AI Integrations. If you see just “OpenAI” without “Replit managed,” Agent will request your own API key.
What happens when I use Replit AI Integrations?
What happens when I use Replit AI Integrations?
When you mention OpenAI or AI functionality, Agent defaults to Replit AI Integrations. For new apps, Agent starts building immediately using Replit’s credentials. For existing Replit Apps, Agent will tell you in the Workspace that it’s asking to use Replit AI Integrations and show a confirmation prompt. Either way, your app can make API calls to OpenAI, and usage is tracked and billed to your Replit account.
When do I see the confirmation prompt?
When do I see the confirmation prompt?
You’ll see a confirmation prompt when adding Replit AI Integrations to an existing Replit App. Agent will explicitly tell you it’s asking to use Replit AI Integrations instead of your own API key. For initial builds when creating a new app, Replit AI Integrations is matched automatically without a pop up.
When does Agent ask for my API key if I want to use my own?
When does Agent ask for my API key if I want to use my own?
Agent will build through the first checkpoint before requesting your API key. This lets Agent set up your project structure first, then pause to collect your credentials before continuing.