NextChat on Your Own Server, Talking to the Model Provider You Choose
With NextChat hosting we install NextChat, the project that started out as ChatGPT Next Web, on a virtual server of your own and hand it over at an HTTPS address. NextChat is a chat front end for hosted language models: its provider list has 16 entries, among them OpenAI, Azure, Google, Anthropic and DeepSeek. Its README says your data stays in the browser, and our test install agreed: a mask we created there was missing when we opened the same address from a clean browser.
No model and no provider key come with the install. You paste your own key under Settings › Custom Endpoint. NextChat itself never asks who you are, which is why a gate sits in front of it: the first visit brings up the browser's username and password prompt, and after that a cookie lets the same browser back in for 30 days.
From $15/mo
Comes with
- Ubuntu Server 24.04 LTS (Noble Numbat) - 64bit
- Docker
- HTTPS address
- Admin account set up during installation
- Full root access

Installation
Inside this NextChat install
One fixed release from Docker Hub
NextChat 2.16.1 runs from the project's own image on Docker Hub, pinned in the compose file by tag and digest. The container publishes no port: traffic comes in through the HTTPS proxy on the server and then passes the gate.
Password once, then a cookie
The gate asks for the password on the first request and then sets a 30-day cookie marked HttpOnly and Secure. A plain password prompt on its own would not do: NextChat uses the Authorization header for its own key handling.
Requests go through your VDS
With the endpoint left at its default, /api/openai, the browser sends each message to NextChat on your VDS, which forwards it with your key to the provider. Per the source code, an endpoint starting with https:// is called straight from the browser; we did not try that.
No database on the server
Chats, masks, your own prompts and the keys you enter are written to the browser's IndexedDB. Signing in through the gate from a fresh browser profile, we found none of what we had created.
New password signs everyone out
You change the gate password over SSH with sudo altinsoft-app-password. The tool also rolls the cookie value, so browsers still holding the old session must sign in again. On our batch test machine the new password worked and the old one got a 401.
Light on memory
In our test install NextChat used 41 to 44 MiB and the gate 11 MiB. The model runs at the provider, so the VDS only serves the page and relays requests. Ordering it needs a plan with 1 GB of memory or more.
Screens
NextChat on our test install
Click a screenshot to see it larger.
Settings with Custom Endpoint ticked: provider OpenAI, endpoint left at /api/openai, API key field empty. Masks (Prompt Template) filtered to English: the Release notes editor mask we built, plus four built-in ones. A chat started from that mask: its system prompt on top, an unsent draft below with NextChat's Markdown preview bubble. The Turkish interface: theme and language, cloud sync, and Local Data with its export and import buttons.
Use cases
Typical uses
OpenAI or an OpenAI-style server
With OpenAI selected you can point the endpoint at another OpenAI-compatible service. The README lists self-deployed model servers such as LocalAI and RWKV-Runner as compatible. We did not chat with a real key or with a model server of our own.
Several providers in one place
The Model Provider dropdown offers 16 providers, OpenAI, Azure, Google, Anthropic, DeepSeek, XAI, Moonshot and SiliconFlow among them, each with its own key field. A model that is missing from the list can be added by name in Custom Models, comma separated.
Masks for recurring jobs
A mask bundles a system prompt, example messages and model settings into a chat template. Every chat you start from it opens with the same context. The Masks page has its own Export and Import, so a mask can travel as a file.
Prompt shortcuts
Typing / in the message box opens the prompt list. In the English interface Settings reported 408 built-in prompts, drawn from English and Chinese collections; add your own with Edit on the Prompt List row.
Steps
Ordering to first chat
- 01
Choose a plan
The order wizard opens with NextChat already picked as the app. You choose a location and a plan; plans too small for NextChat cannot be selected. Prices start at $15.
- 02
Install and gate check
Once payment clears, the server is created and NextChat goes in with its gate. The gate must turn away no password, a wrong password and a made-up cookie, and hand out a cookie for the right password; when all pass the service normally goes live.
- 03
Add your key
Visit the address; the browser prompt wants the username from your e-mail and the password the one-time link reveals. Open Settings with the gear at the bottom left, tick Custom Endpoint, pick a provider and paste your key.
Packages
Packages for NextChat
Only packages that meet the minimum NextChat needs are listed; prices are monthly.
USA 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallUSA 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallUSA 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallUSA 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallUSA 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallUSA 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallUSA 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallUSA 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
DE 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallDE 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallDE 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallDE 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallDE 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallDE 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallDE 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallDE 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
AU 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallAU 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallAU 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallAU 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallAU 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallAU 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallAU 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallAU 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
FR 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallFR 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallFR 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallFR 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallFR 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallFR 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallFR 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallFR 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
NL 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallNL 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallNL 3
$22/mo
4 vCPU8 GB RAM75 GB NVMe
$22/mo
InstallNL 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallNL 5
$33/mo
4 vCPU12 GB RAM75 GB NVMe
$33/mo
InstallNL 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallNL 7
$40/mo
6 vCPU16 GB RAM100 GB NVMe
$40/mo
InstallNL 8
$46/mo
8 vCPU18 GB RAM120 GB NVMe
$46/mo
Install
UK 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallUK 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallUK 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallUK 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallUK 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallUK 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallUK 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallUK 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
PL 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallPL 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallPL 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallPL 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallPL 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallPL 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallPL 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallPL 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
TR 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallTR 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallTR 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallTR 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallTR 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallTR 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallTR 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallTR 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
CA 1
Lowest-priced package that runs this app
$15/mo
4 vCPU4 GB RAM30 GB NVMe
$15/mo
InstallCA 2
$18/mo
4 vCPU6 GB RAM40 GB NVMe
$18/mo
InstallCA 3
$22/mo
4 vCPU8 GB RAM50 GB NVMe
$22/mo
InstallCA 4
$27/mo
4 vCPU10 GB RAM60 GB NVMe
$27/mo
InstallCA 5
$33/mo
4 vCPU12 GB RAM70 GB NVMe
$33/mo
InstallCA 6
$37/mo
6 vCPU14 GB RAM80 GB NVMe
$37/mo
InstallCA 7
$40/mo
6 vCPU16 GB RAM90 GB NVMe
$40/mo
InstallCA 8
$46/mo
8 vCPU18 GB RAM100 GB NVMe
$46/mo
Install
Technical
Technical details
- App version
- 2.16.1
- Operating system
- Ubuntu Server 24.04 LTS (Noble Numbat) - 64bit
- Minimum CPU
- 1 vCPU
- Minimum memory
- 1 GB
- Minimum disk
- 10 GB
The sign-in gate and your provider key
NextChat's own protection is an access code, set with the CODE environment variable. The README calls it limited access control, and that is accurate: the code stops strangers from spending an API key stored on the server, but every page stays open. Our install stores no provider key on the server, so no access code is set either. What guards the address is a small Caddy gate in front of the NextChat container. The one path it leaves open is /site.webmanifest, the file with the app's name and icons, which the install's health check reads.
The gate also strips the password-prompt credentials that browsers resend with every request. Reading NextChat's source, its server side treats whatever arrives in the Authorization header as the user's API key; if the gate passed the prompt credentials along, NextChat would forward them to the provider as a key. NextChat's own Bearer header goes through untouched.
1. Signing in
Your username comes in the handover e-mail, and a one-time link in the same message reveals the password. After you get through once, that browser is normally not asked again for 30 days, the cookie's lifetime; clear its cookies and the prompt comes back.
2. Entering a key
In Settings, tick Custom Endpoint. Pick a provider under Model Provider and fill in the API key, plus the endpoint if you are not using the default. Azure adds a field for the API version.
3. Default model settings
The same page holds the defaults for new chats: model, Temperature, Top P, Max Tokens and the rest. A single chat's settings open from the first button in the toolbar above the message box.
4. The first reply
Once a key is in place, messages go to the provider; the README says replies are streamed. We entered no key on our test install and sent no messages, which is why there is no reply on screen in our screenshots.
5. What the server logs
On every API call, NextChat's server side prints the access code it received and the client's IP address to the container log. That is upstream behaviour, and our install leaves it as it is.
| Part | Status | Detail |
|---|---|---|
| NextChat | Installed | Docker Hub image, fixed release |
| Sign-in gate (Caddy) | Installed | One user; bcrypt-hashed password, then a 30-day cookie |
| Provider API key | Not included | You enter yours in Settings |
| Access code (CODE) | Not set | No server-side key to protect |
| MCP | Off | The README turns it on with ENABLE_MCP; we did not try |
| Server-side chat storage | None | Kept in the browser's IndexedDB |
Where your chats live and how to back them up
NextChat keeps chats, masks, your own prompts, settings and API keys in the browser's IndexedDB. In practice each browser has a NextChat of its own: a chat started on your work laptop does not show up at home, and a private window starts empty. Clearing site data deletes it all, and a snapshot of the VDS will not bring it back because none of it is stored there.
Local Data › Export
The Local Data row in Settings counts your chats, messages, prompts and masks, and its Export button packs all of them into a single JSON file. Ours downloaded as Backup- plus the date and time.
The backup holds your keys
The file we downloaded had an access-control section with the API key fields in it. Store it the way you would store a password file. To share a single mask, use the export on the Masks page instead of the full backup.
Import
Load a backup in another browser with the Import button. We did not test importing, so we cannot say whether it merges with or replaces what is already there.
Cloud sync
The Cloud row sets up sync through WebDAV or UpStash. We did not try it, and no sync service is set up as part of our install.
| Data | Location | Note |
|---|---|---|
| Chats and messages | Browser (IndexedDB) | Part of the Local Data export |
| Masks and custom prompts | Browser (IndexedDB) | Masks also export on their own |
| API keys | Browser (IndexedDB) | Also present in the export file |
| Gate password hash and cookie value | VDS (the gate's config file) | The password tool renews both together |
Password changes, versions and upgrades
Changing the password
Log in to the server as root over SSH, then run sudo altinsoft-app-password. The tool shows the username and wants the new password entered twice. It must be 12–72 characters long, and spaces, quotes, backslashes, $, # and Turkish letters are refused. The gate restarts when it is done.
Resending the original password
In our customer panel, the server's installed-app card has a button that resends the sign-in details. The new link reveals the password chosen at install time, which no longer opens the gate after you have set a different one with the tool.
Version check
The top of Settings shows the installed version and a Check Update button. According to the source, the check is a request from your browser to the GitHub API; it only reports and never changes the install.
Updates are up to you
No updater runs on the server, and the image tag in the compose file stays put until you change it. The README's update instructions are written for a Vercel fork and do not fit our compose setup with its gate, so when and how to upgrade is your call.
FAQ
Frequently asked questions
10 questions
What arrives in the handover e-mail?
The NextChat address, the gate username, and a one-time link revealing the password. Opening the address brings up the browser's sign-in prompt; after that NextChat asks for nothing else, and the same browser normally skips the prompt for 30 days.
Does the install include a model or an API key?
No. Only NextChat and its gate run on the server. The model lives at your provider, and you enter your key under Settings › Custom Endpoint. Without a key no model will answer; we did not try sending without one.
Where is my API key kept, and which way does it travel?
It is kept in the IndexedDB of the browser you typed it into. With the default /api/openai endpoint it travels with each request to NextChat on your VDS, which hands it on to the provider; going by the source code, the server does not save it. The Settings export contains the key, so do not share that file.
Why is NextChat's access code (CODE) not used?
The access code only protects a provider key stored on the server; it does not hide the pages. There is no key on our server, and the address is guarded by the gate with the browser prompt instead. Because no code is set, Settings shows no access code row.
Can my team share one install?
One username and one password open the gate, so whoever you give the password to can come in. NextChat has no per-person accounts, and each person's chats, masks and keys stay in their own browser. To hand a mask to a colleague, export it from the Masks page and send the file.
I lost the gate password, or want a new one.
As root on the server, run sudo altinsoft-app-password; it stores a new password and never asks for the previous one. Your username does not change, and because the cookie is renewed, browsers that were signed in are sent back to the prompt. If you never changed the password, the customer panel can also resend the original details.
Which interface languages are there?
NextChat ships 20 interface languages, Turkish included, chosen on the Language row in Settings. Some translations are partial: in Turkish, rows such as Discovery and Enable Artifacts stayed in English on our test install.
Do MCP and plugins work?
MCP is off in this install. The README enables it with the ENABLE_MCP environment variable; we have not tried that. The Plugins page opens and was empty on our test install; we did not add or run a plugin.
Where is the installed version shown?
Settings shows it on its first row. An order receives whichever NextChat release our catalogue lists at the moment the order is processed. Currently 2.16.1. Release notes are under Releases on the project's GitHub page.
What happens if setup fails partway?
As a rule, the service is switched on after NextChat is up and the gate has passed three checks: no password, a wrong password, the correct one. When a step fails you see it in our customer panel; support then either reruns the setup or delivers the server without NextChat, and e-mails you in both cases.
Catalogue
Related apps
Get NextChat installed on your server
Pick your package and pay; the app's installation starts with your order.
