{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "okf-memory-okf-agent-memory--benchmark-token-savings-on-local-llm",
 "repo": "okf-memory/okf-agent-memory",
 "repo_url": "https://github.com/okf-memory/okf-agent-memory",
 "repo_slug": "okf-memory-okf-agent-memory",
 "title": "Measure token and latency savings on a local model",
 "page_title": "How to measure token and latency savings on a local model with Okf Agent Memory",
 "summary": "Run the bundled benchmark suite to check the claimed token reduction on your own hardware.",
 "who": "A developer or researcher evaluating whether progressive disclosure cuts prompt size for a locally hosted model.",
 "problem": "The repo claims large token and latency gains, and a team wants to check those numbers on its own machine before adopting the approach.",
 "outcome": "A local benchmark run that reports time-to-first-token and token counts for the progressive disclosure setup.",
 "steps": [
  "Run `make build` to create the tooling.",
  "Start a local model server such as LM Studio or Ollama, as the README suggests.",
  "Run `make benchmark` from the repository root.",
  "Open the Progressive Disclosure Benchmark Suite in the benchmarks/ folder to read the setup and output.",
  "Compare the time-to-first-token and token results against the README's claims for your own hardware and model."
 ],
 "agent_prompt": "Using the okf-memory/okf-agent-memory repo, run the make benchmark target against the local model server at <endpoint>. Report time-to-first-token and token counts for the run and compare them with the README's claimed reduction. Verify that the benchmark used the local model and not a remote API.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README's headline figures for speed and token reduction are the author's claims, and the benchmark results will depend on your model and hardware.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "go",
 "requirements": [
  "A Git repository where the agent works",
  "A Go toolchain and make, since the README builds the tool with make build",
  "Clone access to github.com/okf-memory/okf-agent-memory"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/benchmark-token-savings-on-local-llm/",
 "md": "https://dedupedai.com/use-cases/okf-memory-okf-agent-memory/benchmark-token-savings-on-local-llm/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/okf-memory-okf-agent-memory--benchmark-token-savings-on-local-llm.json",
 "api_version": "v1"
}
