Docs
Sign in

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.

Screenshot to add: The Model Defaults tab, with the Cortex task models group at the bottom.

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

GroupRowsNotes
PrimaryChat / General (required), Code Generation, Reasoning, Embeddings, Reranking, Image GenerationChat / General is the only required one
Sub-agent task modelsExplore, Audit, Plan, ReviewFor the coding agent. Unset rows use your Code Generation default
Context summarizationContext CompactionShortens older conversation near the model's limit. Unset uses the session's own model, with a notice
Cortex task modelsConversation Titles, Memory Classification, Causal Chain Assembly, Rationale Synthesis, Benchmark JudgeCortex's background work. None are required

Cortex task models

These are the rows that matter most for Cortex.

RowWhat Cortex uses it for
Conversation TitlesWrites 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 ClassificationSorts every new memory by type, sensitivity and routing. Runs on every memory write, so your cheapest model is suggested
Causal Chain AssemblyBuilds cause-and-effect chains across related memories
Rationale SynthesisWrites the "why" behind a decision or causal chain
Benchmark JudgeScores 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

  1. Open the tab

    Click AI model keys in the Cortex sidebar, then the Model Defaults tab.

  2. Pick a row

    Find the task and click Set default.

  3. Choose provider and model

    Choose a Provider ("-- Provider --"), then a Model ("-- Model --"). Only providers you have a key for can supply models.

  4. 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.

Things to know