NextChat

Light, fast AI chat app for GPT, Claude, Gemini and local models

  • yidadaa/chatgpt-next-web:v2.16.1
  • v2.16.1
  • Updated 25 Nov 2026
  • port 6846
  • amd64 · arm64
  • AI
  • 89k stars

Open the app

Web App

http://localhost:6846/

About NextChat

NextChat is a clean chat app for AI models. Bring your own key for OpenAI, Anthropic, Google, DeepSeek and others, or use local models, and keep your chats in your browser. Masks (prompt templates) and Markdown make it handy for everyday work.

Features

  • OpenAI, Anthropic, Google Gemini, DeepSeek, Moonshot and other providers
  • Masks with your own prompts, and a prompt library
  • Markdown, code highlighting, LaTeX and Mermaid
  • Chats kept in your browser, with export and sync to WebDAV or Upstash
  • Optional access password when you set server keys

How to use

  1. Open NextChat, press Settings and enter your API key and provider.
  2. Start chatting.

Before you install

NextChat keeps chats in the browser you use and has no accounts. Without server keys, each person enters their own API key in Settings. If you add a key in the app settings (Variables tab), set CODE to an access password too, or anyone on your network can use your key. For Ollama on this ZimaOS, set BASE_URL to http://[ZIMAOS-IP-ADDRESS]:6844 and add the model with CUSTOM_MODELS.

The settings in the first table are already in the app settings. To use any other one, open the app settings, add the variable with your value, save, and the app restarts with it. A setting you leave out uses its default.

In the app settings

VariableDefault valueDescription
TZ$TZYour time zone. It is filled in from your ZimaOS time zone.

Server keys

VariableDefault valueDescription
OPENAI_API_KEY—An OpenAI key for everyone (set CODE too).
BASE_URL—An OpenAI-compatible address instead of OpenAI, like http://192.168.1.20:6844 for Ollama.
ANTHROPIC_API_KEY—An Anthropic key for everyone.
GOOGLE_API_KEY—A Google Gemini key for everyone.
DEEPSEEK_API_KEY—A DeepSeek key for everyone.

Security

VariableDefault valueDescription
CODE—Access passwords, comma separated, needed to use the server keys.
HIDE_USER_API_KEY—Set to 1 to stop people entering their own keys.

Models

VariableDefault valueDescription
CUSTOM_MODELS—Models to add or hide, like +llama3.2,-gpt-4.
DEFAULT_MODEL—The model new chats start with.
DISABLE_GPT4—Set to 1 to hide GPT-4 models.
docker-compose.yml
name: nextchat

services:
  nextchat:
    image: yidadaa/chatgpt-next-web:v2.16.1
    container_name: nextchat
    restart: unless-stopped
    network_mode: bridge
    environment:
      - TZ=$TZ
    ports:
      - target: 3000
        published: "6846"
        protocol: tcp
    healthcheck:
      test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:3000/"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 30s
    deploy:
      resources:
        limits:
          memory: 512M
        reservations:
          memory: 64M
    labels:
      icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/nextchat/icon.png
    x-casaos:
      id: com.icestore.nextchat
      envs:
        - container: TZ
          description:
            en_US: >-
              Your time zone. It is filled in from your ZimaOS
              time zone.
      ports:
        - container: "3000"
          description:
            en_US: >-
              NextChat web app, published on host as 6846

x-casaos:
  id: com.icestore.nextchat
  architectures:
    - amd64
    - arm64
  main: nextchat
  author: HSinghHira
  category: AI
  developer: "ChatGPTNextWeb"
  icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/nextchat/icon.png
  title:
    en_US: NextChat
  tagline:
    en_US: Light, fast AI chat app for GPT, Claude, Gemini and local models
  description:
    en_US: >-
      Visit: [https://icestore.hsinghhira.me/app/nextchat/](https://icestore.hsinghhira.me/app/nextchat/) for full details


      NextChat is a clean chat app for AI models. Bring your own key for
      OpenAI, Anthropic, Google, DeepSeek and others, or use local
      models, and keep your chats in your browser. Masks (prompt
      templates) and Markdown make it handy for everyday work.


      **Features**


      - OpenAI, Anthropic, Google Gemini, DeepSeek, Moonshot and other
        providers

      - Masks with your own prompts, and a prompt library

      - Markdown, code highlighting, LaTeX and Mermaid

      - Chats kept in your browser, with export and sync to WebDAV or
        Upstash

      - Optional access password when you set server keys


      **How to use?**


      1. Open NextChat, press Settings and enter your API key and
         provider.

      2. Start chatting.
  tips:
    before_install:
      en_US: >-
        1. Start the installation. It is ready in a few seconds.


        2. Without server keys, each person enters their own key in
           Settings. If you set OPENAI_API_KEY in the app settings,
           also set CODE to a password so not everyone on your network
           can use your key.
  index: /
  port_map: "6846"
  scheme: http
  is_uncontrolled: false
  version: "v2.16.1"
  update_at: "2026-11-25"
  release_notes:
    en_US: |-
      - First IceStore release: yidadaa/chatgpt-next-web v2.16.1 on port 6846
  repo: "https://github.com/ChatGPTNextWeb/NextChat"
  support: "https://github.com/ChatGPTNextWeb/NextChat/issues"
  docs: "https://github.com/ChatGPTNextWeb/NextChat#readme"

Install NextChat

Something not working with NextChat?

Report it so it gets fixed, or ask for an app that is not here yet.

More AI apps

See all