Skip to main content

Results, October 2026*

Cut the context.
Keep the answers.

LLMSlim Core 0.12 and 0.9 against Mem0, Zep, LLMLingua-2, LongLLMLingua and dense retrieval, on held-out test questions read by the same model. Only the context changed between runs, and every cost is end to end.

  • Mem0
  • Zep
  • LLMLingua-2
  • LongLLMLingua
42×
lower cost than the whole chat history on LongMemEval, at the same accuracy (77.8%)
212×
lower cost than Mem0 on its own LongMemEval questions, and as accurate (78.3% vs 76.7%)
20pts
ahead of LongLLMLingua on LoCoMo conversations (93.3% vs 73.3%), at a seventh of its cost
See one question through

One question, one long memory

How LLMSlim compresses a long chat history

  1. 01

    The history

    Fifty chat sessions. 111,372 tokens.

    The size of an average LongMemEval history. The question needs a few lines of it.

  2. 02

    The read

    Every turn, scored against the question.

    Lexical ranking with no model at all, or a 22M-parameter reranker for a sharper read. A question stays with its answer.

  3. 03

    The cut

    Nine percent stays, in its original order.

    Kept turns go to the model whole, with their session dates. Everything else is left out.

  4. 04

    The answer

    77.8% right. So was the whole history.

    At 1/42 of the cost at Haiku 5.5 list prices, on 180 held-out questions. Dense retrieval over turns scored 80.6% at about twice LLMSlim's cost, within noise.

Context
111,372 tokens
Per 1,000 questions
$90.21

Eight benchmarks

Memory, retrieval, documents, and agents.

Each one public, each one scored by its own official metric. Same reader and prompt for every run.

01 / 09Agent memory

BEAM-1M

700 held-out questions about 35 chats of about 946,000 tokens each

On par with Mem0, 60x cheaper at 2,500 tokens

44.6

rubric score out of 100

  • LLMSlim 0.12 + reranker44.6
  • Mem0, top 50 memories43.4
  • Zep, on 30 of the 35 chats38.4
  • LLMSlim 0.11.1 + reranker38.0
2,436 of about 946,000 tokens kept
Budget
2,500 tokens · at 10,000: 47.3 vs Mem0 46.7
Cost per 1k
$1.22 · Mem0 $73.12 · Zep $330.07
Trails Mem0 on
summarization, −8.9 and −4.0
02 / 09Chat memory

LoCoMo

Questions about long conversations between two people

More answers right than Mem0, at about a third of the cost

93%

accuracy, 95.1 with whole history

  • Whole history95.1
  • LLMSlim + reranker93.0
  • Mem0, top 50 memories91.0
  • Zep74.4
9% of the tokens kept
Questions
1,307 held-out
Budget
about 2,500 tokens
Context
27,133 → 2,495 tokens
03 / 09Long histories

LongMemEval-S

Answer from about 50 earlier chat sessions

As accurate as the whole history at 1/42 of the cost

77.8%

accuracy, 77.8 with whole history

  • Dense retrieval over turns80.6
  • Whole history77.8
  • LLMSlim77.8
  • LLMLingua-215.6
9% of the tokens kept
Questions
180 held-out
Budget
10,000 tokens
Context
111,372 → 10,008 tokens
04 / 09Retrieval

NaturalQuestions

20 retrieved passages, the answer in one

Level with a plain reranker, ahead of the LLMLingua family

73.5%

accuracy, 78.4 with every passage

  • Every passage78.4
  • LLMSlim + reranker73.5
  • LLMSlim60.6
  • LLMLingua-252.5
23% of the tokens kept
Questions
2,255 held-out
Budget
25%
Context
2,908 → 668 tokens
05 / 09Multi-hop

HotpotQA

Two of ten paragraphs hold the answer

90% of the full-context score on 40% of the tokens

52.4

exact match, 58 with all ten paragraphs

  • All ten paragraphs58.0
  • LLMSlim52.4
  • Plain reranker50.5
  • LLMLingua-246.7
40% of the tokens kept
Questions
2,000 held-out
Budget
40%
Context
1,315 → 522 tokens
06 / 09Long docs

LongBench v1

Seven tasks over 15.5k-token documents

The same score on a third of the tokens

54.9

macro score, 54.9 with full context

  • Full context54.9
  • LLMSlim54.9
  • LLMSlim + reranker54.2
  • Middle truncation45.2
34% of the tokens kept
Samples
210 · Core 0.8
Budget
3,000 tokens
Context
15,532 → 5,232 tokens
07 / 09Hard docs

LongBench v2

Multiple choice over 30k-token documents

72% fewer tokens, the best compressed score

55.6%

accuracy, 60 with full context

  • Full context60.0
  • LLMSlim + reranker55.6
  • LLMSlim53.9
  • Middle truncation48.3
28% of the tokens kept
Questions
180 · Core 0.8
Budget
25%
Context
30,493 → 8,469 tokens
08 / 09Coding agent

SWE-bench Verified

50 real GitHub issues, graded by the official harness

No measured harm inside a coding agent

38

issues resolved, 38 with no compression, best run

  • No compression, best run38
  • LLMSlim 0.838
  • No compression, second run36
  • LLMSlim 0.7.234
38 of 50 issues resolved
Issues
25 Django · 25 Sphinx
Compressed
Outputs over 800 tokens
Prompt tokens
48–58k → 51k per task
09 / 09Agent turns

InjecAgent

1,054 tool results carrying an injected instruction

Agent turns in order: zero repeated calls

0

repeated tool calls, 1 with native tool-use history

  • Request after the tool results50
  • Calls beside their results43
  • Native tool-use history1
  • Vault agent turn0
0 of 50 repeated calls
Cases
1,054 · enhanced attacks
Attack success
0 in every setup
Fix
prepare(continue_turn=True)

Head to head

More right answers per dollar. Against memory systems and compressors.

Accuracy against what 1,000 questions cost end to end, including the model calls that build Mem0's and Zep's memory. Up and to the left is better. We ran every system ourselves, with its own settings, on held-out questions.

35404550$0.10$1$10$100$1,000Cost per 1,000 questions, log scaleMem0 costs 60× moreLLMSlim + reranker 44.6LLMSlim, 10,000 tokens 47.3Mem0 43.4Mem0, top 200 46.7LLMSlim 0.11.1 38.0
  1. 1LLMSlim, 10,000 tokens0.12 + reranker · $2.61 per 1k47.3
  2. 2Mem0, top 200Top 200 memories · $74.53 per 1k46.7
  3. 3LLMSlim + reranker0.12, 2,500 tokens · $1.22 per 1k44.6
  4. 4Mem0Top 50 memories · $73.12 per 1k43.4
  5. 5LLMSlim 0.11.1+ reranker, 2,500 tokens · $0.91 per 1k38.0

BEAM-1M, 700 held-out questions on 35 conversations. On par with Mem0 at both budgets (+1.2 points at 2,500 tokens, 95% CI −0.7 to +3.2; +0.6 at 10,000, −1.6 to +2.7), and 60x and 28.6x cheaper per 1,000 questions at list prices. Mem0's cost is mostly the extraction calls that build its memory, paid once per stored exchange, so with more than BEAM's 20 questions per conversation the gap narrows. No history fits the reader's 1M-token window, so there is no whole-history line. Zep ran on 30 of the 35 conversations: 38.4 for $330.07 per 1,000 questions, where LLMSlim scored 45.9 for $1.20.

LLMLingua-2 paper (arXiv 2403.12968) · LongLLMLingua paper (arXiv 2310.06839) · LLMLingua code (microsoft/LLMLingua) · Round 3 report and tables · Per-question results · Kaggle build notebooks and run scripts

Weak spots

Where it loses. Published with the rest.

LLMSlim was tuned on separate development questions, and the test questions were read once. These are the places it trails.

Summarization and multi-session reasoning on BEAM-1M

Against Mem0, LLMSlim 0.12 trails on summarization by 8.9 points at 2,500 tokens (95% CI −13.1 to −4.7) and 4.0 at 10,000 (−7.8 to −0.2), and on multi-session reasoning at 10,000 tokens by 6.0 (−10.1 to −1.8). Information extraction is also behind (4.6 and 4.9 points), within noise.

Search time with the reranker on BEAM-1M

With the reranker on a laptop CPU, a search over a 946,000-token history took 3.6 s at the median at 2,500 tokens and 4.9 s at 10,000. The default lexical mode takes about 45 ms on a 100,000-token history, but it was not scored in that round.

A relaxed ship rule on BEAM-1M

The ship rule was loosened before any LLMSlim result on this data was read. The original, stricter per-type bar, which also required the lower bounds for instruction following and summarization to stay within 5 points of Mem0, would have failed on summarization (both budgets) and instruction following (10,000 tokens). The report gives both verdicts.

Open-domain retrieval without the reranker

On NaturalQuestions the default lexical mode scores 60.6%, against 73.9% for a plain reranker. Paraphrased questions need semantic matching. With its optional reranker LLMSlim scores 73.5%.

Dense retrieval on LongMemEval

RAG over turns scores 80.6% to LLMSlim's 77.8% at 10,000 tokens, and 76.1% to 74.4% at 2,500, at about twice the cost. Neither gap is significant on 180 questions, but both point the same way. A fix that narrowed it on development questions did not hold up on test, so it was not shipped.

Multi-hop and temporal questions at 1,000 tokens

Overall, Mem0's top 20 memories and LLMSlim are within noise (88.7% and 87.5%), but Mem0 is clearly better on LoCoMo's multi-hop (88.7% against 80.3%) and temporal (93.4% against 85.7%) questions, where its extracted facts pack evidence from many sessions into few tokens. With the reranker LLMSlim is ahead overall (90.5%).

A cached full history

When a conversation's questions come back to back, the cached full history (95.1% for $0.83 per 1,000 questions) is cheaper than LLMSlim at 10,000 tokens and more accurate than any compressed context. LLMSlim is the cheaper choice when the context changes between questions, when questions arrive too far apart for the cache, or when a history is long enough to be billed at the long-prompt rate.

Run it on your context.

Paste a long history, a stack of passages or a CI log, and watch what stays.

* Every context was read by Claude Haiku 5.5 with the same prompt; only the context changed. Costs are per 1,000 questions at list prices, end to end: the answer call, Mem0's and Zep's memory-building calls, and each system's compute. Confidence intervals are paired bootstrap 95% over the same questions. BEAM-1M (Core 0.12, round 6) is scored by BEAM's own rubric judge out of 100, with three reads per question and paired t intervals over conversations; its report is published as results only. Long documents and agents were measured on Core 0.8. The reranker is optional: pip install "llmslim[semantic]", then relevance="semantic".

On BEAM-1M, Mem0 still leads on summarization at both budgets and on multi-session reasoning at 10,000 tokens. Full context still leads on NaturalQuestions and HotpotQA by about 5 points, and dense retrieval over turns leads on LongMemEval at both budgets, within noise. Every table and method.