Lesson 2 · Client Deployment
🖥️ Local Deployment · GUI

Deploy ChatGPT Next Web
Connect aitoken.sbs

Run your own private AI chat interface on your computer or server.
No coding needed. One Docker command.

▶ StartDeploy ← Previous: Basic Access
About the Tool

What is ChatGPT Next Web

💬
AOpen Source AI Chat Interface
Similar to the official ChatGPT web app, but self-hosted and fully under your control. Connects to any OpenAI-compatible API
🌍
GitHub 180K+ Stars
One of the world's most popular AI chat clients. Stable, reliable, frequently updated.
🐳
Docker One CommandStart
No environment setup needed. Just Docker and you're running in 5 minutes.
Step 1

First Install Docker

1
Access Docker Official Website
OpenBrowser,Access:docker.com/products/docker-desktop
2
Download andInstall(Choose Your System)
Windows Choose "Docker Desktop for Windows",Mac Choose Your Version,All the Way Next Install Complete.
3
Start Docker,VerifyInstall
Open terminal (Windows: Win+R, type cmd), enter: docker --version,SeeVersionInstallSuccess!
💡
Already Have Docker?Skip DirectlyNext
If Docker Desktop is already running, click directly「Next」
Step 2

One Command StartService

Open terminal (Mac: Terminal, Windows: PowerShell) and paste the command below:

docker run -d \
  --name chatgpt-next-web \
  -p 3000:3000 \
  -e OPENAI_API_KEY=sk-Your purchasedKey \
  -e BASE_URL=https://aitoken.sbs/v1 \
  yidadaa/chatgpt-next-web
👆 (replace sk-Your purchasedKey Replace with your actual Key,, then press Enter
First run downloads the image (~100MB). Wait 1-3 minutes.
Step 3

OpenInterface Configuration API

Browser Access http://localhost:3000,ThenEnterSettings

localhost:3000
⚙️ Settings → API Configuration
API Key
sk-Your purchasedKey(AlreadyStartIn CommandSettings)
Customize API address(Important)
https://aitoken.sbs/v1
DefaultModel
deepseek-ai/DeepSeek-V3
💾 SaveSettings
👆 API addressEnter https://aitoken.sbs/v1(ends with /v1)
Other Options

Can Also Use LobeChat

More Modern Interface,ConfigurationSimilar Approach

docker run -d \
  --name lobechat \
  -p 3210:3210 \
  -e OPENAI_API_KEY=sk-Your purchasedKey \
  -e OPENAI_PROXY_URL=https://aitoken.sbs/v1 \
  lobehub/lobe-chat
🌐
Then Access
BrowserOpen http://localhost:3210
⚙️
EnterSettings → AI Provider
Add OpenAI, enter your Key and aitoken.sbs address
AdvancedOptions

Most Powerful:Open WebUI

docker run -d \
  --name open-webui \
  -p 8080:8080 \
  -e OPENAI_API_KEY=sk-Your purchasedKey \
  -e OPENAI_API_BASE_URL=https://aitoken.sbs/v1 \
  ghcr.io/open-webui/open-webui:main
SupportMultiple ModelsChat Switching
Manage MultipleModel,Similar Interface ChatGPT
📁
SupportKnowledge Base Upload
Upload PDFs and documents. AI can answer based on your files.
Verify

HowConfirm runningSuccess

1
BrowserOpensInterface
Access http://localhost:3000( 3210/8080)Shows theChat Interface
2
Send a Message
In Chat Boxenter「Hello」,Click Send,AI Reply IndicatesAccessSuccess
?
If No Reply?
Check API Key Is Correct · BASE_URL Check If /v1 Ends · Network connectivity to aitoken.sbs
🚀

DeployDone!
Get Started Now

Your Private AI Assistant is Running

💡
Cost-Saving Tip
For daily use we recommend DeepSeek-V3 — great results, low price. Switch to Claude or GPT-4o when you need reasoning. DeepSeek-R1
Next: Advanced Tips → ← ReviewLesson 1