Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute
A 50-million-token memory on one GPU, restored byte-exact.
Persistent KV-cache software for self-hosted LLMs
Galahad gives your self-hosted model a long-term memory. It retrieves work the model has already done instead of redoing it, with the same output, byte-for-byte.
The Galahad memory layer
Galahad remembers what your model has already read and solved, and retrieves it instead of recomputing it. It runs next to your serving engine, on your own servers, and your model stays exactly as it is.
Patent pending
Less GPU energy usage
12 to 14x
The same hardware does the work with a fraction of the energy, whatever tools you use.
Measured per question
More correct answers
10 to 100
100 questions about a long document set: 10 answered correctly without Galahad, all 100 with it. Same model, same text.
Same model, same text
Faster recall
4.25x
Restoring a saved block is faster than recomputing it, even at 50 million tokens of memory.
50M tokens, one H100
Yours, unchanged
100%
No model changes. Your data and weights never leave your servers.
Checked byte for byte
Measured results with their conditions are in Benchmarks.
Three engines, one memory
Engine 1 · Memory and deduplication
Hashes every incoming prompt and answers from a live registry, in under 2 µs. A durable on-disk ledger survives restarts and moves byte-identical between machines. It can also run standalone to strip redundant context.
Engine 2 · KV-Graft protocol
Takes the state Merlin identified and splices it into the live request with 0 tokens recomputed. Logits are byte-for-byte identical, SHA-256 equal and verified across model scales and GPUs.
Engine 3 · Text memory
Keeps your documents as byte-exact text in sections and passes the model only the section a question needs, so it reads a few hundred tokens instead of the whole corpus.
How a request flows
Repeated contextMerlin and Taliesin
DocumentsBlaise
Fundamental Principles
You keep renting your servers wherever you like. We only license the software layer on top. Runs in your VPC, your colocation facility, or your bare-metal racks.
Galahad is model-agnostic. Whatever you run stays 100% yours, and we never see your data or weights. You provide the model: Llama, Mistral, Gemma, Qwen, DeepSeek, or custom fine-tunes.
A cache keeps copies that can go stale. Galahad is a memory layer: it stores your model's work byte-exact, checks it before every reuse, and recomputes if a check fails.
Every single claim is measured, SHA-256 verifiable, and re-measurable on your own workload. We provide reproducible benchmark scripts before any production rollout.
Measured & Reproducible
Measured on AWS, Google Cloud, RunPod and vast.ai, across 12 GPU models and three runtimes: llama.cpp, vLLM and SGLang. Replay and rewind checks: 1,367 run, 0 failures. Each result states its conditions.
GPU energy per question, in joules (lower is better)
12 to 14 times less GPU energy per question on all three runtimes.
Formal Peer-Reviewable Publications
Every claim we make is backed by formal, reproducible proofs in C++, Lean, and Z3 SMT solver invariants.
Fair & Linear Pricing
Our pricing depends solely on compute power (TFLOPS), not your server brand or cloud provider. Predictable, transparent, and fair.
List price: monthly per-accelerator license calculated strictly on raw theoretical compute
| Hardware Accelerator | Compute Tier | List Price |
|---|---|---|
| AMD MI355X / NVIDIA B300 SXM | 2,500 TFLOPS | $1,423.50 / mo |
| NVIDIA B200 SXM | 2,250 TFLOPS | $1,281.15 / mo |
| AMD MI300X / MI325X | 1,307 TFLOPS | $744.21 / mo |
| NVIDIA H100 SXM / H200 SXM | 989 TFLOPS | $563.14 / mo |
| NVIDIA A100 SXM | 312 TFLOPS | $177.65 / mo |
| NVIDIA RTX 4090 | 165 TFLOPS | $93.95 / mo |
| Apple Mac Studio (M3 Ultra) | 28 TFLOPS | $15.94 / mo |
Example: a server with 8 NVIDIA A100 SXM accelerators is 8 × $177.65 = $1,421.20 per month at list price. Prices are in US dollars, per accelerator, per month.
Running a fleet? Volume and enterprise agreements are available.
Talk to salesNon-commercial / individual developers: 1 GPU free forever on GitHub.
Get Community LicenseZero-Friction Adoption
From first conversation to measured production efficiency in three straightforward steps.
Quick check on your cluster fleet and workload characteristics in under 30 minutes, with no obligation. Nothing to pay.
Proved on your own servers with clear success criteria defined upfront. Nothing to pay. You decide if the measured speedup and savings on your workload worked.
Scale up server by server across your cluster. Simple per-accelerator software licenses at the list prices above, with volume agreements for fleets.
The people behind Galahad
Systems architects and engineers building deterministic computational infrastructure.

CEO, Deep Systems & Science
Leads Galahad's systems architecture and formal verification, and authors the research behind its persistent memory technology.

CSO, Sales & Partnerships
Leads enterprise sales and partnerships, drawing on seven years of B2B sales experience to develop customer relationships.

CPO, Product
Turns systems research into deployable products and leads design partnerships, customer onboarding and the product experience.
Clarity & Common Queries
Partly. vLLM supports prefix caching, and the ecosystem includes external KV-storage systems. Galahad stores model state persistently and restores it only after checking that the input bytes, model and tenant match; if any check fails, it recomputes. Evaluate it on persistent reuse, verification and operational behavior under its documented compatibility conditions, and compare the same model, engine version, hardware, cache state and workload before choosing a solution.
In one side-by-side test on one hardware and model configuration, Galahad reloaded state from disk 2.3 times faster than LMCache, and its break-even against recomputing came at roughly half the input length. Stored data was 100% encrypted with Galahad and 0% in the tested LMCache configuration. With state already in GPU memory the two perform the same, because that speed comes from the inference engine. These results come from one configuration and should not be read as general performance claims. Full measurements are available on request.
Exactness is not a simple configuration flag; it is a foundational architectural shift. Big-tech inference engines are built for stateless batching throughput where small semantic drifts are accepted. Corbenic’s Galahad memory layer combines zero-copy C++ sub-tensor memory addressing with formal verification guarantees (Lean, Z3), described across 6 published research papers.
Yes. Galahad requires zero new physics, no custom ASICs, and no future hardware. It runs on the GPUs you already rent or own. It has been tested on 12 NVIDIA GPU models, from T4 to H200, on AWS, Google Cloud, RunPod and vast.ai, with llama.cpp, vLLM and SGLang. Tell us your hardware and we will confirm support.
Pilot
Non-intrusive pilots on your own servers. We measure on your workload before you commit, and the pilot costs nothing. Licensing is per accelerator.
Prefer email? [email protected]
Prefer to try it yourself?
Install the community package, then measure it on your own workload. pip install galahad-kv · GitHub · Benchmark methods