Choose Ollama, OpenAI, Anthropic, or Google for chat
Status: Ready
Article ID: 024
Truth label: Current
Audience: System operator
Reader outcome: Select a currently configured chat provider using privacy, capability, latency, cost, and operational evidence rather than a static model list.
Related articles: 009, 016, 023
Target week: 10
Last verified: 2026-09-13
Technical reviewer: Codex source audit
Editorial reviewer: Codex editorial audit
Start with the provider boundary
Brain supports four chat-provider paths: a local Ollama service and configured OpenAI, Anthropic, or Google accounts. The provider choice determines where the assembled prompt is processed. For a cloud provider, that prompt can include the user message, conversation history, rules, retrieved evidence, reasoning guidance, and approved cloud-allowed voice examples.
Decide whether that material is permitted to leave owned infrastructure before comparing model quality. Privacy policy is a gate, not a score in a provider leaderboard.
Ask Brain what is usable now
GET /chat/providers reports providers that are currently usable. Ollama
models come from its live tags endpoint. Cloud models are enumerated through
the configured provider account, with filtered fallback lists only when live
discovery fails.
Use the response that Brain returns for the active environment. A model name written in documentation can age. A provider visible in source code can still be unavailable because its credential or local service is missing.
Compare the dimensions separately
For each eligible provider, record:
- approved data classification and retention terms
- available model and supported generation controls
- factual and task quality on a fixed evaluation set
- first-token and total latency
- reported usage and expected cost
- local hardware, network, and credential dependencies
- failure behavior when the service is unavailable
One provider can win privacy while another wins a difficult reasoning test. That is a deployment decision, not a contradiction.
Run a controlled comparison
Use synthetic or approved prompts. Hold the reasoning lens, voice register, retrieved context, and explicit controls constant where the models support them. Run more than one sample when nondeterminism matters.
Open the generation report after each response. Record unsupported controls instead of quietly substituting another value. Compare the answer against an external rubric or known facts rather than judging only fluency.
Keep credentials out of content
Configure provider keys through the private runtime environment. Do not paste them into Cortex, prompts, articles, screenshots, examples, or repository files. The legacy worker key-distribution route is disabled unless explicitly enabled and is not needed by CLI engines using their own login.
If a provider fails to appear, check the local service or credential without printing its value. A 401 or discovery failure is enough evidence to diagnose configuration.
Current limits
Provider availability, model catalogs, capabilities, prices, and policies can change. Live discovery proves that an account can list a model, not that the model is approved for a given client or will satisfy a task. Cloud calls expose the assembled prompt to an external processor. Verify current provider terms outside this catalog before production use.
Next lesson
Continue with Use reasoning lenses and voice registers independently.
Derivative map
- Weekly package: WEEK-10
- Long video: VIDEO-W10-LONG
- Shorts: SHORT-W10-PROBLEM, SHORT-W10-MECHANISM, SHORT-W10-WARNING
- Email: EMAIL-W10
- LinkedIn: LI-W10-A, LI-W10-B
- X: X-W10-A, X-W10-B
- Visual: VISUAL-W10
Review record
- Provider support, live discovery, fallback, and credential behavior checked against current source.
- Prompt egress, approval, volatility, and account-policy limits reviewed.
- Comparison method uses synthetic or approved prompts and no credentials.
- Internal links and repository voice reviewed.
Review completed: 2026-08-27
Re-audited against the running product: 2026-09-13