← All applications · Connect apps section on /docs
OpenAIconfigure deepseek-tui
DeepSeek TUI
DeepSeek TUI: configure the API key, model and provider in your terminal.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://thapi.cloud/v1Prerequisites
- Install deepseek TUI
- API keys
Recommended model: deepseek-v4-flash
Quick way — command / config
api-cli configure deepseek-tuiWhere to place file / fill Settings
Filemacos
~/.deepseek/config.toml
Update base_url and api_key; prefer api-cli configure.
Filelinux
~/.deepseek/config.toml
Same as macOS.
Filewindows
%USERPROFILE%\.deepseek\config.toml
Create the corresponding TOML file.
Verify connection
- Run deepseek TUI
- api-cli doctor
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Sai model id | The upstream name differs from the ThAPI catalogue. | GET /v1/models or use deepseek-v4-pro / deepseek-v4-flash / req/deepseek-v4-pro. |