Skip to main content
Replit AI Integrations makes it easy to build AI-powered applications. Get started with OpenAI models immediately—no developer account setup, no API key management. Replit handles everything for you.

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:
Create a web app that uses OpenAI to summarize articles
You can tell which integration is being used by looking for “OpenAI (Replit managed)” in your initial prompt response. This indicates Agent will use Replit’s credentials instead of requiring your own API key. For initial builds: When you submit an initial prompt to create a new app with AI functionality, Replit AI Integrations is matched automatically. Agent will start building with Replit’s managed credentials right away. For existing Replit Apps: When Agent detects you want to add AI functionality to an existing Replit App, Agent will explicitly tell you in the Workspace that it’s asking to use Replit AI Integrations instead of your own API key. You’ll see a confirmation prompt:
Confirm OpenAI Integration dialog showing message about adding OpenAI using Replit's managed service with no API keys required, with Dismiss and Approve buttons
Click “Approve” to continue with Replit-managed credentials, or “Dismiss” if you prefer to use your own API key. Your usage is automatically tracked and billed to your Replit account at the public API price.

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:
Create a web app that uses OpenAI to summarize articles. Use my own OpenAI API key.
You’ll see “OpenAI” (without “Replit managed”) in the response, indicating Agent will request your API key. For existing Replit Apps: When Agent tells you it wants to use Replit AI Integrations and shows the confirmation prompt, click “Dismiss” instead of “Approve.” In both cases, Agent will build through the first checkpoint before requesting your API key. This allows Agent to set up your project structure first, then pause to collect your credentials. When you use your own API key, you’re billed directly by the provider rather than through Replit credits.

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
More providers are coming soon.

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:
  1. Navigate to your organization settings
  2. Find the Replit AI Integrations section
  3. Toggle access on or off for your organization
When enabled, organization members can use Replit AI Integrations in their apps. All usage is tracked and billed to the organization account. When disabled, members will need to provide their own API keys to use AI model providers.
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

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.
Yes. Replit AI Integrations is available for paying users. Free users will need to provide their own API keys to use AI model providers.
Currently, Replit AI Integrations supports text models from OpenAI. More providers and model types are coming soon.
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.
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.
Yes. Replit AI Integrations works across all stacks and programming languages supported on Replit.
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.
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.
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.
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.
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.
I