App Store template
chatgpt-next-web icon

chatgpt-next-web

NextChat is a light, fast AI assistant UI with GPT, Claude, DeepSeek, and Gemini support.

Launch in your Sealos workspace.

chatgpt-next-web template preview
Template previewFull screenshot
Template deployments
14 on Sealos
Deployment
Your own instance
Category
AI

About this template

Overview

NextChat is a lightweight AI assistant web UI for OpenAI-compatible providers, Azure OpenAI, Claude, DeepSeek, Gemini, and other model gateways. This template deploys the official NextChat container with HTTPS access on Sealos Cloud.

From the documentation

NextChat runs as a single web application and stores chat state in the browser. The Sealos template creates a Deployment, Service, Ingress, and App entry, then injects model-provider settings through deployment inputs.

How to deploy chatgpt-next-web

  1. Choose Deploy now to start chatgpt-next-web in your Sealos workspace.
  2. Review OPENAI_API_KEY, CODE, BASE_URL and the remaining settings in the deployment form.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the chatgpt-next-web template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

Deploy and Host NextChat on Sealos

NextChat is a lightweight AI assistant web UI for OpenAI-compatible providers, Azure OpenAI, Claude, DeepSeek, Gemini, and other model gateways. This template deploys the official NextChat container with HTTPS access on Sealos Cloud.

NextChat Screenshot

About Hosting NextChat

NextChat runs as a single web application and stores chat state in the browser. The Sealos template creates a Deployment, Service, Ingress, and App entry, then injects model-provider settings through deployment inputs.

Access control is handled by the required CODE input. The template generates a unique default code, and users enter one of the comma-separated access codes on the first screen.

Common Use Cases

  • Private ChatGPT UI: Run a fast personal chat interface with your own API key.
  • Team Access Code Gateway: Share one HTTPS endpoint protected by one or more access codes.
  • OpenAI-Compatible Proxy UI: Point BASE_URL to a compatible gateway or self-hosted endpoint.
  • Azure OpenAI Frontend: Configure Azure deployment URL, key, and API version during deployment.

Deployment Guide

  1. Open the NextChat template and click Deploy Now.
  2. Enter OPENAI_API_KEY. Use commas to rotate multiple keys.
  3. Keep the generated CODE or replace it with a private comma-separated access password list.
  4. Optionally configure:
    • BASE_URL: OpenAI-compatible API base URL
    • HIDE_USER_API_KEY: set to 1 to hide the user API key field
    • DISABLE_GPT4: set to 1 to hide GPT-4 model choices
    • ENABLE_BALANCE_QUERY: set to 1 to enable balance query features
    • AZURE_URL, AZURE_API_KEY, AZURE_API_VERSION: Azure OpenAI settings
  5. Wait for the Deployment to become ready, then open the generated HTTPS URL from Sealos Canvas.
  6. Enter a value from CODE on the access-code screen.

Configuration

NameDescriptionRequiredDefault
OPENAI_API_KEYOpenAI-compatible API keys, comma-separated when multiple keys should be rotated.true<redacted>
CODEAccess codes for the web UI, comma-separated when multiple codes are allowed.truegenerated 16-character value
BASE_URLOpenAI-compatible API base URL for proxies or self-hosted endpoints.falsehttps://api.openai.com
OPENAI_ORG_IDOpenAI organization ID.false``
HIDE_USER_API_KEYSet to 1 to hide the user-provided API key field in the UI.false``
DISABLE_GPT4Set to 1 to disable GPT-4 model options.false``
ENABLE_BALANCE_QUERYSet to 1 to enable balance query features.false``
AZURE_URLAzure OpenAI deployment URL.falsehttps://{azure-resource-url}/openai/deployments/{deploy-name}
AZURE_API_KEYAzure OpenAI API key.false<redacted>
AZURE_API_VERSIONAzure OpenAI API version.false``

Store private API keys and access codes in Sealos-managed inputs. Keep CODE private because the public HTTPS endpoint uses the deployment's server-side model API key.

Scaling

The template is tuned for a small single-instance web UI. Increase CPU and memory from Sealos Canvas if many users share the same deployment or if the UI serves through a slower model gateway.

Troubleshooting

Access code is rejected

Check that the value entered in the browser matches one of the comma-separated values in CODE, then restart the Deployment after changing the input.

Model requests fail

Verify OPENAI_API_KEY, BASE_URL, Azure settings, and model-provider rate limits. For OpenAI-compatible gateways, confirm that the gateway supports the selected model names.

Balance query is unavailable

Set ENABLE_BALANCE_QUERY to 1 and restart the Deployment.

Additional Resources

License

This Sealos template is provided under the template repository license. NextChat is licensed by its upstream project.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More