---
title: "Deploy NextChat"
description: "Light, fast AI chat web app for OpenAI, Claude, Gemini and more"
category: "AI/ML"
url: https://railway.com/deploy/nextchat-2
---

# Deploy NextChat

Light, fast AI chat web app for OpenAI, Claude, Gemini and more

**[Deploy NextChat on Railway](https://railway.com/template/nextchat-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/nextchat-2/manifest.json

- **Creator:** zer0person's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### NextChat

- **Image:** yidadaa/chatgpt-next-web:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host NextChat on Railway

[NextChat](https://github.com/ChatGPTNextWeb/NextChat) is a light and fast AI chat web app that works with OpenAI, Claude, Gemini and other model providers.

## About Hosting NextChat

This template runs the official `yidadaa/chatgpt-next-web:latest` image. It needs no database: chats are stored in your browser. On first visit open Settings and enter your own API key and endpoint for the provider you use. To pre-set a server-side key or an access password, add `OPENAI_API_KEY`, `GOOGLE_API_KEY` or `CODE` in the service's Variables tab.

## Common Use Cases

- Run a private ChatGPT-style interface
- Use several model providers from one app
- Share a chat UI with a team behind an access code

## Dependencies for NextChat Hosting

- One stateless service; nothing else

### Deployment Dependencies

- [NextChat on GitHub](https://github.com/ChatGPTNextWeb/NextChat)
- [Docker image](https://hub.docker.com/r/yidadaa/chatgpt-next-web)

## Why Deploy NextChat on Railway?

Railway gives you a public HTTPS URL and automatic restarts with no server to maintain.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Möbius v0.1 Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.

Open this page in a browser: https://railway.com/deploy/nextchat-2
