Model Defaults
Model Defaults is where you choose which AI model is used for each kind of task, including Cortex's own background tasks. It is the second tab of the AI Credentials & Model Defaults page.
There is no separate page
The Cortex sidebar has no Model Defaults row. It has one row, AI model keys, and Model Defaults is a tab on that page. To go straight to it, open the page and click the Model Defaults tab, or use the address /memory/settings/credentials?tab=model-defaults.
This is the same tab that Nexus shows, so the choices you make apply to both products. Models in the lists come from the keys you saved on the AI Model Keys tab.
What the tab says
"Choose which model APEX uses for each type of AI task." Features that need a model use the one you set here, or ask you to pick one.
The four groups
| Group | Rows | Notes |
|---|---|---|
| Primary | Chat / General (required), Code Generation, Reasoning, Embeddings, Reranking, Image Generation | Chat / General is the only required one |
| Sub-agent task models | Explore, Audit, Plan, Review | For the coding agent. Unset rows use your Code Generation default |
| Context summarization | Context Compaction | Shortens older conversation near the model's limit. Unset uses the session's own model, with a notice |
| Cortex task models | Conversation Titles, Memory Classification, Causal Chain Assembly, Rationale Synthesis, Benchmark Judge | Cortex's background work. None are required |
Cortex task models
These are the rows that matter most for Cortex.
| Row | What Cortex uses it for |
|---|---|
| Conversation Titles | Writes a one-line title for a Cortex chat after its first exchange. Runs on every new chat, so a cheap, fast model is suggested |
| Memory Classification | Sorts every new memory by type, sensitivity and routing. Runs on every memory write, so your cheapest model is suggested |
| Causal Chain Assembly | Builds cause-and-effect chains across related memories |
| Rationale Synthesis | Writes the "why" behind a decision or causal chain |
| Benchmark Judge | Scores how well Cortex retrieves memories in its internal benchmark |
If you leave one blank, it falls back to a service or platform default. Your own key is still needed for the model that gets used.
Set a default
Open the tab
Click AI model keys in the Cortex sidebar, then the Model Defaults tab.
Pick a row
Find the task and click Set default.
Choose provider and model
Choose a Provider ("-- Provider --"), then a Model ("-- Model --"). Only providers you have a key for can supply models.
Save
Click Save. A toast says "Model default saved."
A row that is set shows provider/model, with Change and a red X that clears it at once ("Model default cleared."). Context Compaction also has fields for when to compact (default 80 percent) and how much recent context to keep.