Skip to content
AI Memory Benchmark

Head to head

Cognee vs Mastra Observational Memory: published benchmark scores

Every benchmark where both Cognee and Mastra Observational Memory have a published score, side by side, with where each number came from.

2 shared benchmarks · reviewed

Scores side by side

Best published run for each system on each track. Scores link to their source.

Cognee versus Mastra Observational Memory: best published score per benchmark
BenchmarkCogneeMastra Observational Memory
BEAM100K tokens
79.0Self-reportedJune 2026 · Cognee blog
83.3Self-reportedOctober 2026 · Mastra research
BEAM1M tokensNot published
80.6Self-reportedOctober 2026 · Mastra research
BEAM10M tokens
67.0Self-reportedJune 2026 · Cognee blog
66.4Self-reportedOctober 2026 · Mastra research
LongMemEvalS (about 115K tokens)
51.8self-hosted, run by MemTensorCompetitorJuly 2026 · OmniMemEval (MemTensor)
94.87GPT-5 mini answererSelf-reportedFebruary 2026 · Mastra research

All Cognee and Mastra Observational Memory runs on shared benchmarks

Every configuration either system has published on the benchmarks they have in common.

All published runs for Cognee and Mastra Observational Memory on shared benchmarks
BenchmarkModelsReported bySource
LongMemEval (S (about 115K tokens))Mastra Observational Memory · GPT-5 mini answererUnweighted mean of the six category scores. Weighted by question, the published counts give 468 of 500, or 93.6.94.87Answer: GPT-5 miniJudge: GPT-4oSelf-reportedMastra research
LongMemEval (S (about 115K tokens))Mastra Observational Memory · Gemini 3 Pro answererUnweighted mean of the six category scores; 464 of 500, or 92.8, weighted by question.93.27Answer: Gemini 3 Pro (preview)Judge: GPT-4oSelf-reportedMastra research
LongMemEval (S (about 115K tokens))Mastra Observational Memory · Gemini 3 Flash answerer89.2Answer: Gemini 3 Flash (preview)Judge: GPT-4oSelf-reportedMastra research
LongMemEval (S (about 115K tokens))Mastra Observational Memory · GPT-4o answererUnweighted mean of the six category scores; 424 of 500, or 84.8, weighted by question.84.23Answer: GPT-4oJudge: GPT-4oSelf-reportedMastra research
BEAM (100K tokens)Mastra Observational MemoryAverage of two runs. With Gemini 3.8 Flash answering instead, the same system scored 78.4.83.3Answer: Claude Opus 5.5Judge: Gemini 3 FlashSelf-reportedMastra research
BEAM (1M tokens)Mastra Observational MemoryAverage of two runs. With Gemini 3.8 Flash answering instead, the same system scored 72.8.80.6Answer: Claude Opus 5.5Judge: Gemini 3 FlashSelf-reportedMastra research
BEAM (100K tokens)CogneeBased on a single 100K conversation, with prompts customised per question type and retriever settings tuned. Answer and judge models are not named.79.0Not statedSelf-reportedCognee blog
BEAM (10M tokens)CogneeReported as a best case on a single 10M conversation, with retrieval parameters explored on that same conversation. Cognee itself advises caution about this figure.67.0Not statedSelf-reportedCognee blog
BEAM (10M tokens)Mastra Observational MemoryAverage of two runs (67.2 and 65.5). With Gemini 3.8 Flash answering instead, the same system scored 57.8. Mastra puts the 10M error bar at about ±5.8.66.4Answer: Claude Opus 5.5Judge: Gemini 3 FlashSelf-reportedMastra research
BEAM (100K tokens)Cognee · self-hosted, run by MemTensorRun by MemTensor, the MemOS vendor, under one harness for all systems; MemTensor says its adapters are not claimed to be optimally tuned.59.3Answer: GPT-4.1-miniJudge: GPT-4o-miniCompetitorOmniMemEval (MemTensor)
BEAM (10M tokens)Cognee · self-hosted, run by MemTensorRun by MemTensor, the MemOS vendor, under one harness for all systems; MemTensor says its adapters are not claimed to be optimally tuned.56.02Answer: GPT-4.1-miniJudge: GPT-4o-miniCompetitorOmniMemEval (MemTensor)
LongMemEval (S (about 115K tokens))Cognee · self-hosted, run by MemTensorRun by MemTensor, the MemOS vendor, under one harness for all systems on the cleaned S data; MemTensor says its adapters are not claimed to be optimally tuned.51.8Answer: GPT-4.1-miniJudge: GPT-4o-miniCompetitorOmniMemEval (MemTensor)

How they differ

Design, licence and pricing, from each vendor's own pages.

Cognee versus Mastra Observational Memory: product profile
CogneeMastra Observational Memory
Made byTopoteretesMastra
ApproachPipeline of chunking, entity extraction and ontology building into a knowledge graph, exposed as remember, improve and recall.An Observer agent turns message history into observations once it passes 30K tokens, and a Reflector condenses them past 40K tokens. Needs a storage adapter such as PostgreSQL or LibSQL.
Open sourceYes (Apache-2.0)Yes (Apache-2.0 (enterprise directories licensed separately))
DeploymentSelf-hosted or Cognee CloudSelf-hosted framework, or the hosted Mastra Platform
GitHub stars33k29k
PricingFree with 1M tokens; Standard $1 per 1M tokens; Enterprise by contactFramework free; Platform Starter $0, Teams $250/month, Enterprise custom
SDKsPython, TypeScriptTypeScript

Cognee websiteMastra Observational Memory website

Cognee vs Mastra Observational Memory FAQ

Which scores higher on BEAM (100K tokens), Cognee or Mastra Observational Memory?

Highest published BEAM (100K tokens) scores: Cognee 79.0 (self-reported, June 2026) and Mastra Observational Memory 83.3 (self-reported, October 2026). Mastra Observational Memory has the higher published number. They come from separate runs by different teams, so the gap is not a controlled measurement.

Which scores higher on BEAM (10M tokens), Cognee or Mastra Observational Memory?

Highest published BEAM (10M tokens) scores: Cognee 67.0 (self-reported, June 2026) and Mastra Observational Memory 66.4 (self-reported, October 2026). Cognee has the higher published number. They come from separate runs by different teams, so the gap is not a controlled measurement.

Which scores higher on LongMemEval (S (about 115K tokens)), Cognee or Mastra Observational Memory?

Highest published LongMemEval (S (about 115K tokens)) scores: Cognee 51.8 (reported by a competitor, July 2026) and Mastra Observational Memory 94.87 (self-reported, February 2026). Mastra Observational Memory has the higher published number. They come from separate runs by different teams, so the gap is not a controlled measurement.

Are Cognee and Mastra Observational Memory open source?

Cognee is open source (Apache-2.0). Mastra Observational Memory is open source (Apache-2.0 (enterprise directories licensed separately)).

More comparisons

All comparisons