The short answer

chat-demo is a static reference client for the DeepSeek API. No application backend is required for the personal demo, but API use is billed and the browser stores your key.

FOR:Developers and users who want a self-hosted chat interface
chat-demo components: browser storage and direct calls to the configured API.
chat-demo components: browser storage and direct calls to the configured API.

What the official client demonstrates

The November 13 chatbot announcement links to chat-demo. Its README describes a static browser application with web search, deep thinking search, URL reading, document and image uploads, voice input and read-aloud playback. The interface supports English and Simplified Chinese, light/dark themes and mobile layouts.

This website is a seven-language independent guide; that does not change the upstream demo’s two interface languages. The demo uses deepseek-flash with Anthropic-compatible Messages/Files and speech endpoints. A generic OpenAI-compatible proxy may not implement all of these extensions.

Run locally from the official repository

The repository requires Node.js 22.12 or later and pnpm. Clone the official repository, install its dependencies and start the development server. The documented local address is http://localhost:8090. Enter your own API key in Settings before chatting.

For a static build, run pnpm build. The result is written to dist, which can be hosted on a static web server or opened through dist/index.html. These are upstream instructions reviewed on November 16, not a paid API test performed by this site.

CODE / TERMINAL
git clone https://github.com/deepseek-ai/chat-demo.git
cd chat-demo
pnpm install
pnpm dev

Where keys, files and conversations go

The README states that the API key and settings use localStorage; conversations and original attachments use IndexedDB. Storage belongs to the current browser profile and site origin. Sending a message, uploading a file or using speech sends the relevant content to the configured API service.

History import/export uses ZIP archives. Import replaces local conversations and attachments after validation and confirmation. Export excludes API keys, settings and original non-image attachments. Back up valuable history before importing; deleting local chats does not delete files already uploaded to the API service.

Before turning a demo into a public service

For a private personal demo, browser-held credentials are part of the documented design. If you operate a service using your own account, keep your service key on a backend and add access control, quotas and billing limits. Never embed that key in a public JavaScript bundle.

Review the upstream content-safety integration, privacy flow, supported file limits and MIT license obligations. Preserve the license when distributing the app. A polished interface does not by itself provide user management, payment handling or reliable multi-user operations.

Sources

Start with the original documents. Models and prices change; check official pages before use.

01Official chat-demo source02Reviewed README · 5d5dd7503Official chatbot guide and demo