Retain leaderboard

Which LLM writes the best memories from chats, documents and code: complete, attributed, dated, and nothing invented.

OverviewAll operationsRetainConsolidationReflectRefresh pagesCoding agentsConversations

Pick the LLM that turns chats, documents and code into memories: complete, attributed, dated, and nothing invented.

Swapped on this board
LLM
Held fixed
  • Embeddings: bge-small-en-v1.5
  • Reranker: ms-marco-MiniLM-L-6-v2
  • Hindsight: 1.2.0
  • Judge: gemini-3.1-flash-lite

Results

42 cases in 12 categories

Default retain: one extraction call per chunk.

#ModelCasesLLM callsTokens in / out
1
minimax-m3.1-flash
MiniMax · open weights
96.4
98.8
$0.81
83/841.54.8k / 982
2
gpt-6-luna
OpenAI
95.8
94.0
$0.43
79/841.54.5k / 664
3
glm-5.3-flash
Z.ai · open weights
94.4
92.9
$0.50
78/842.37.9k / 2.5k
4
claude-haiku-5.5
Anthropic
92.4
96.4
$1.39
81/841.56.9k / 1.4k
5
qwen3.8-flash
Qwen · open weights
91.8
97.6
$1.95
82/841.55.2k / 3.8k
6
gpt-5.6-luna
OpenAI
91.4
92.9
$1.00
78/841.54.5k / 661
7
deepseek-v4.1-flash
DeepSeek · open weights
90.9
94.0
$1.32
79/841.75.4k / 2.4k
8
gpt-6.1-terra
OpenAI
89.2
97.6
$3.52
82/841.54.5k / 539
9
nemotron-3.5-super-vl
NVIDIA · open weights
88.5
96.4
$3.38
81/841.58.5k / 4.7k
10
gemini-3.1-flash-lite
Google
88.3
89.3
$1.14
75/841.53.1k / 678
11
qwen3.8-27b
Qwen · open weights
87.6
98.8
$6.12
83/841.55.2k / 2.9k
12
qwen3.6-35b-a3b
Qwen · open weights
84.7
92.9
$4.66
78/841.55.1k / 4.8k
13
gemma-4-26b-a4b
Google · open weights
84.4
79.8
$0.60
67/841.65.4k / 748
14
gemini-3.8-flash
Google
84.0
95.2
$7.87
80/841.53.1k / 1.8k
15
gpt-5.6-terra
OpenAI
81.7
91.7
$7.66
77/841.54.5k / 469
16
gpt-5.6-sol
OpenAI
81.1
97.6
$23
118/1271.54.5k / 909

Click a row for its categories and failed cases. Hover for how a column is computed.

Quality vs. cost across 16 models on Retain

Top left is best value. Hover a point for details.

Best value75%80%85%90%95%100%$0.5$1$2$5$10$20Cost per 1k cases (log scale) →Quality →minimax-m3.1-flashqwen3.8-27bgpt-5.6-solgpt-6.1-terraqwen3.8-flashclaude-haiku-5.5nemotron-3.5-super-vlgemini-3.8-flashdeepseek-v4.1-flashgpt-6-lunagpt-5.6-lunaqwen3.6-35b-a3bglm-5.3-flashgpt-5.6-terragemini-3.1-flash-litegemma-4-26b-a4b
Model, as its provider’s logoBest value: no other model is both cheaper and better

Cases passed by category

Where each model wins and loses. The best in each category is outlined.

ModelSelectivityCompletenessAttributionTemporalLanguageFidelityMissionModeEntitiesEntity labelsInputsNo invention
minimax-m3.1-flash
6/6
4/4
8/8
8/8
14/14
10/10
4/4
8/8
4/4
6/6
6/6
5/6
gpt-6-luna
6/6
3/4
8/8
8/8
10/14
10/10
4/4
8/8
4/4
6/6
6/6
6/6
glm-5.3-flash
6/6
4/4
8/8
8/8
10/14
9/10
4/4
7/8
4/4
6/6
6/6
6/6
claude-haiku-5.5
6/6
4/4
8/8
7/8
14/14
8/10
4/4
8/8
4/4
6/6
6/6
6/6
qwen3.8-flash
6/6
4/4
8/8
8/8
14/14
8/10
4/4
8/8
4/4
6/6
6/6
6/6
gpt-5.6-luna
6/6
4/4
7/8
8/8
11/14
10/10
4/4
8/8
4/4
6/6
6/6
4/6
deepseek-v4.1-flash
6/6
3/4
8/8
8/8
13/14
8/10
4/4
7/8
4/4
6/6
6/6
6/6
gpt-6.1-terra
6/6
4/4
8/8
8/8
14/14
10/10
4/4
8/8
4/4
6/6
6/6
4/6
nemotron-3.5-super-vl
6/6
3/4
8/8
8/8
14/14
8/10
4/4
8/8
4/4
6/6
6/6
6/6
gemini-3.1-flash-lite
6/6
2/4
6/8
6/8
14/14
8/10
4/4
7/8
4/4
6/6
6/6
6/6
qwen3.8-27b
6/6
4/4
8/8
8/8
14/14
9/10
4/4
8/8
4/4
6/6
6/6
6/6
qwen3.6-35b-a3b
6/6
4/4
8/8
7/8
12/14
9/10
4/4
6/8
4/4
6/6
6/6
6/6
gemma-4-26b-a4b
6/6
3/4
4/8
7/8
10/14
8/10
4/4
5/8
4/4
5/6
6/6
5/6
gemini-3.8-flash
6/6
4/4
8/8
8/8
14/14
10/10
4/4
6/8
4/4
6/6
6/6
4/6
gpt-5.6-terra
6/6
4/4
7/8
8/8
10/14
10/10
4/4
8/8
4/4
6/6
6/6
4/6
gpt-5.6-sol
9/9
6/6
12/12
12/12
19/22
15/15
6/6
10/12
6/6
9/9
9/9
5/9

Categories

From the evals in this version. Click one for its cases.

  • Selectivitychatter stores nothing; plans survive among small talk; a fact said three times is stored once (3)
    chatter-onlysaid-three-timesdurable-among-noise
  • Completenessexact figures, never rounded; sensory and emotional detail kept (2)
    exact-figuressensory-and-emotional
  • Attribution"my roommate" becomes Tamsin; the user's rules are `world`, the agent's actions `experience`; a speaker named in context or metadata is credited (4)
    coreference-rolesagent-actions-vs-user-rulescontext-names-the-speakermulti-speaker-attribution
  • Temporalrelative dates resolved; a year spans the year; open-ended and undated facts; no event date, no invented date (4)
    relative-dates-resolvedcoarse-dates-span-the-periodopen-ended-and-undatedno-event-date
  • LanguageGerman, Chinese, Spanish keep their language and script; English, Italian, Japanese inputs retained 6× never switch (7)
    german-with-english-termschinese-scriptspanish-conversationen-coding-sessionen-git-commitit-coding-sessionja-personal-note
  • Fidelityhedges stay hedged, past states stay past, a correction wins, the prompt's examples never leak, instructions inside content are not obeyed (5)
    hedges-stay-hedgednegation-and-past-statein-text-correctionexamples-do-not-leakinstructions-in-content
  • Missionthe retain mission filters what is kept and outranks the generic selectivity rules (2)
    mission-filtersmission-overrides-selectivity
  • Modecustom instructions, verbose, verbatim, a strategy chosen per item (4)
    custom-instructionsverbose-keeps-detailverbatim-preserves-textstrategy-per-item
  • Entitiesnamed entities stored; one person across documents is one entity (2)
    entities-namedentities-across-documents
  • Entity labelsvalue and multi-value labels, free-text and map labels, labels-only mode (3)
    labels-value-and-multilabels-free-text-and-maplabels-only-mode
  • Inputsdocument metadata read, JSON conversations, a fact in the last chunk of a long document (3)
    metadata-readjson-conversationlate-fact-in-long-document
  • No inventiona date, owner or place stated for a neighbouring subject is not borrowed (3)
    date-borrowed-from-nearby-subjectowner-borrowed-from-nearby-subjectplace-borrowed-from-nearby-subject