# A Replit alternative moved over in one sentence.

> Agent Lab vs Replit: free tier, always-on price, PostgreSQL and MCP compared, with official sources and the commands to migrate.

Web page: https://agentlab.cresclab.com/en/deploy/replit-alternative  
繁體中文 (Markdown): https://agentlab.cresclab.com/deploy/replit-alternative.md

Agent Lab vs Replit · Compare and migrate

Replit lets you write and publish in the browser; Agent Lab deploys from your own Claude Code or Codex in one sentence. Facts about Replit come from its own pages, checked on 2026-10-18, with a source on every row.

[Start free](https://app.agentlab.cresclab.com/?lang=en&intent=import) [See the comparison](https://agentlab.cresclab.com/en/deploy/replit-alternative#compare)

An AI coding tool moves a project from Replit to Agent Lab: it reads the build, creates the project and database, and reports a preview URL before DNS changes.

Which one fits

## Agent Lab or Replit: it depends on the job

Two reasons to pick Agent Lab, and two to stay on Replit.

### Pick Agent Lab

Code on your own machine, written with Claude Code or Codex, deployed in one sentence.

### Pick Agent Lab

Free apps don't expire after 30 days, and every version has a preview URL.

### Stay on Replit

You want nothing installed: write, run and publish in the browser.

### Stay on Replit

You want Replit Agent to build the app for you from scratch.

Side by side

## Agent Lab Deploy vs Replit

Replit's side is from its official pricing and docs pages on 2026-10-18; prices change, so follow the source link before you decide.

Agent Lab Deploy compared with Replit, checked 2026-10-18

|  | Agent Lab Deploy | Replit |
| --- | --- | --- |
| Free tier | Free US$0: 1 size-S app (sleeps after 15 idle minutes), 1 S database, 3 static sites; pauses at a limit, never charges [Details](https://agentlab.cresclab.com/en/deploy#pricing) | Starter publishes one app, which expires after 30 days [Source](https://docs.replit.com/billing/deployment-pricing) |
| Cheapest always-on service | Pro US$29 a month before tax; its usage credit runs one size-S app all month [Details](https://agentlab.cresclab.com/en/deploy#pricing) | Reserved VM from US$15 a month (0.5 vCPU), on top of a plan (Core US$20 a month) [Source](https://docs.replit.com/billing/deployment-pricing) |
| PostgreSQL | Managed PostgreSQL 16–18, MySQL 8.4 and 9.7, one dedicated instance per database; Free includes one S [Details](https://agentlab.cresclab.com/docs/en/deploy/mcp-tools#databases) | Production databases US$0.16 per compute hour plus US$0.35 per GiB [Source](https://docs.replit.com/billing/aug-cloud-billing-updates) |
| Deploy from an AI tool (MCP) | Remote MCP with browser OAuth sign-in, no API key, the same permissions as the console [Details](https://agentlab.cresclab.com/docs/en/deploy/ai-agent) | Official remote MCP with a publish_app tool [Source](https://docs.replit.com/platforms/mcp-server) |

Migrate

## Move from Replit in four steps

Replit keeps serving until you change DNS.

1. ### Export settings
   Save the environment variables and secrets from Replit, and note the start command, scheduled jobs and domains.
2. ### Deploy the code
   Upload, push from GitHub, or ask your AI tool through Agent Lab MCP. You get a preview URL.
3. ### Move the data
   Create PostgreSQL and connect it to the app, then pg_dump from the old database and pg_restore into the new one.
4. ### Switch the domain
   Test the preview, lower the DNS TTL, then point the domain at Agent Lab. The old host keeps running until you cut over, so if something is off, point DNS back to it.

From Replit

## What to take out of Replit, and where it goes

Commands

### Export from Replit

```
# Code: push to GitHub from Replit's Git pane, or download a zip
# Secrets: copy each one from Replit's Secrets tool

# Replit PostgreSQL: export from the Shell
pg_dump "$DATABASE_URL" --no-owner --format=custom -f backup.dump

# Import into Agent Lab PostgreSQL (connection string in the console;
# add your IP to the database's allowlist first)
pg_restore --no-owner --no-acl -d "$AGENTLAB_DATABASE_URL" backup.dump
```

- `.replit run` Not read. The platform detects the start command for JavaScript, Python and Go, or set it in build settings.
- `Secrets` Add them to the project's Secrets on Agent Lab; the code still reads environment variables.
- `Port` Listen on $PORT (8080 by default), not a hard-coded 3000 or 5000.
- `Replit DB / Object Storage` Move key-value data to PostgreSQL or a Redis cache, and files to object storage.

Prompt

### Or ask your AI tool

```
Read https://app.agentlab.cresclab.com/agent/deploy.md. This project runs on Replit today; move it to Agent Lab. First list what it uses on Replit (services, database, scheduled jobs, environment variables, domains) and what each becomes on Agent Lab, deploy it to a preview URL, tell me where to enter secrets, and wait for my OK before anything goes live or DNS changes.
```

FAQ

## Agent Lab vs Replit: questions

**What is the difference between Agent Lab and Replit?**

Replit lets you write and publish in the browser; Agent Lab deploys from your own Claude Code or Codex in one sentence.

**How much does Replit cost?**

Starter publishes one app, which expires after 30 days. Always-on service: Reserved VM from US$15 a month (0.5 vCPU), on top of a plan (Core US$20 a month). PostgreSQL: Production databases US$0.16 per compute hour plus US$0.35 per GiB. From Replit's own pages, checked on 2026-10-18.

**Can an app built on Replit move to Agent Lab?**

Yes. Push the code to GitHub or download a zip, open it in Claude Code or Codex and say "deploy to Agent Lab". Have it listen on $PORT and move the Secrets into the project's settings.

**Will my app go down while I move from Replit?**

No. The app runs on a preview URL first while Replit keeps serving; you change DNS only after testing, and if something is off you point DNS back to Replit. [Migration guide →](https://agentlab.cresclab.com/en/deploy/migrate)

**Is there a free plan?**

Yes: 1 size-S app that sleeps after 15 idle minutes, 1 S database, 3 static sites, 100 build minutes and 5 GB of traffic a month, pausing at a limit instead of charging. Always-on apps and custom domains start on Pro at US$29 a month before tax. [Pricing →](https://agentlab.cresclab.com/en/deploy#pricing)

**Where do the numbers on this page come from?**

Replit's pricing and features are read from Replit's own pricing and docs pages on 2026-10-18, and every table row links the page it came from. Where Replit's pages disagree or say nothing, the table says so. Agent Lab's side follows its pricing and docs. [Deploy docs →](https://agentlab.cresclab.com/docs/en/deploy/ai-agent)
