Repository navigation
Using cloud models
You do not have to run the models on your Mac. Either seat can talk to any server that speaks the OpenAI Responses API instead — DeepSeek, OpenAI itself, or LM Studio running on the same machine.
This is worth doing if:
- you would rather not download 3 GB of weights,
- your Mac is short on memory,
- or you want to compare models against each other.
- In a pane, change the backend from MLX to API.
- Click API in the toolbar to open the endpoint sheet.
- Fill in three things:
| Field | What it is | Example |
|---|---|---|
| Base URL | The server's address, including /v1 if it uses one |
https://api.deepseek.com/v1 |
| Model | The model's name as that server knows it | deepseek-v4-flash |
| API key | The bearer token, if the server wants one | sk-… |
- Close the sheet and press Start.
Each seat has its own endpoint, so you can put one on a cloud model and leave the other local.
A key can be supplied in three ways, in this order:
- Typed into the endpoint sheet — the field in the API dialog.
-
An environment variable —
DEEPSEEK_API_KEYin your shell. -
A local file,
ChatBots/.secrets.env:
# .secrets.env — gitignored, never committed
DEEPSEEK_API_KEY=sk-your-key-here
TAVILY_API_KEY=tvly-dev-your-key-here
The file is the practical route: present and working, but never in the repository. It is gitignored by default.
Then:
Base URL: https://api.deepseek.com/v1
Model: deepseek-v4-flash (or deepseek-v4-pro)
API key: leave blank if the file or environment has it
Both models work. flash is faster; pro is slower and reasons more.
Security note. The built-in key is only ever sent to
api.deepseek.com, and that host is compared exactly rather than by substring. A key is never sent to a local server or to a lookalike domain. If you add your own key, treat it as a secret: anyone with it can spend your credit.
If LM Studio is running with a model loaded, it serves an OpenAI-compatible API already — no download needed by this app at all.
Base URL: http://localhost:1234/v1
Model: whatever LM Studio shows as the model id
API key: leave blank
This is the quickest way to try the app without a 3 GB download.
Base URL: https://api.openai.com/v1
Model: gpt-4o-mini (or any model your account can use)
API key: sk-…
OpenAI is stricter about what it accepts than most servers, and the app knows this: it sends
the extra sampling parameters (top_k, min_p, repetition_penalty) to servers that
understand them and withholds them from OpenAI, which would reject them.
The think: menu per seat maps to the server's reasoning effort where it supports one:
| Setting | What is sent |
|---|---|
| Off | reasoning: {effort: "none"} |
| Minimal / Low | "low" |
| Medium | "medium" |
| High / Unlimited | "high" |
Thinking off really does switch it off for servers that honour it. There is a floor on the output budget either way, because a server counts reasoning tokens against the same ceiling as the answer — with a ceiling that is too small, a reasoning model spends all of it thinking and returns nothing at all.
Two things, and they are worth knowing before you switch:
-
Web search. The
web_searchandfetch_pagetools run inside this app, so they only exist on the local backend. An API-backed seat has no tools, and the log says so when it starts. - Images, usually. Image upload needs a model that can see. The local Qwen checkpoint can. Most text-only API models cannot, and one that cannot will tell you so rather than invent a description.
This works, and is one of the more interesting things you can do — a 4B model arguing with DeepSeek is a genuinely uneven fight, which is often the point.
Set one pane to MLX and the other to API. Both read the same shared log, so the conversation stays coherent even though the models are running in completely different places.
chatbots-cli --check --backend-a openAIResponses \
--base-url https://api.deepseek.com/v1 \
--api-model deepseek-v4-flash--check loads the seat and generates a few tokens, then exits. If that works, a conversation
will.
| Symptom | Likely cause |
|---|---|
Server returned HTTP 401 |
The key is wrong, expired, or not being sent |
Server returned HTTP 404 |
The base URL is wrong — check for a missing or doubled /v1
|
| The model name is rejected | Use the id the server uses, not the name on its website |
| It connects but returns nothing | The model is a reasoning model and the output ceiling is too small; raise the thinking level or the max tokens |
I cannot see image / I cannot view the image
|
That model has no vision — DeepSeek's pro tier is one. Its flash tier does read images, so this is per model, not per provider. Drop the image or use a seat that can see |
Next: Documents and images · Troubleshooting