
Set up DeepSeek TUI
Set provider at the top of config.toml, before any section. Merge the providers.openai section and restart deepseek. To return to DeepSeek, set provider to deepseek and restore any previous OpenAI settings from your backup.
Option 1: Use Configure
Sign in and select your local configuration file. Apply LaRouter fills your key and model and writes the file immediately; Reset defaults also writes immediately. If your browser cannot write local files, follow the manual instructions.
Configuration file location
- macOS
~/.deepseek/config.toml- Linux
~/.deepseek/config.toml- Windows
%USERPROFILE%\.deepseek\config.toml
These are default locations. For a tool running in WSL, use its Linux path inside WSL. If you changed the configuration directory, select the tool’s actual file. Your browser can only read or write files you select.
Option 2: Configure manually
Back up your files and replace only the placeholders shown below. Codex already uses gpt-5.6-sol. Use model names without router prefixes such as cx/. Keep tool-required local provider bindings such as larouter/ where shown, and preserve unrelated settings.
Setup steps
Set provider at the top of config.toml, before any section. Merge the providers.openai section and restart deepseek. To return to DeepSeek, set provider to deepseek and restore any previous OpenAI settings from your backup.
provider = "openai"
[providers.openai]
base_url = "https://i-larouter.lapage.vn/v1"
api_key = "YOUR_API_KEY"
model = "YOUR_MODEL_ID"