# AI maths inside memory

Source: https://stateofthefuture.io/memory/in-memory-computing/ai-maths-inside-memory/
Checked: 25 Nov 2026

Seven ways of doing AI maths where the weights are stored.

## The job: ai maths inside memory

Moving data, not the maths, sets much of the energy and speed of AI chips. Doing the maths in memory cuts the moving.

## The approaches

| Approach | Potential | Readiness | Stage | What sets it apart |
| --- | --- | --- | --- | --- |
| [Analog in-memory compute](https://stateofthefuture.io/memory/in-memory-computing/analog-in-memory-compute/) | 61 | 31 | In paid use | Flash chips in volume since 2022; the highest claimed work per watt |
| [Processing-in-memory](https://stateofthefuture.io/memory/in-memory-computing/processing-in-memory/) | 50 | 38 | Pilot | Logic inside DRAM; both large DRAM makers; standard nearly final |
| [Digital in-memory compute](https://stateofthefuture.io/memory/in-memory-computing/digital-in-memory-compute/) | 39 | 44 | In paid use | Exact maths; in full production for data centres |
| [SRAM compute-in-memory](https://stateofthefuture.io/memory/in-memory-computing/sram-cim/) | 39 | 38 | Pilot | Standard SRAM; car and PC chips, mostly in China |
| [Charge-domain compute](https://stateofthefuture.io/compute/analog-computing/charge-domain-compute/) | 39 | 25 | Shown | Capacitor sums; one product in early access |
| [Memristors](https://stateofthefuture.io/memory/in-memory-computing/memristors/) | 39 | 25 | Shown | Multi-level resistive cells; first foundry chip sampling late 2026 |
| [Memcapacitor](https://stateofthefuture.io/memory/in-memory-computing/memcapacitor/) | 39 | 13 | Shown | Weight held in the capacitor itself; one builder |

## What every approach rests on

- **The memory wall.** Over 20 years, peak compute in AI hardware grew about 60,000 times while DRAM bandwidth grew about 100 times ([Gholami et al.](https://arxiv.org/abs/2403.14123)). Chips wait for data more than they compute.
- **Answer generation.** Writing a reply token by token reads every weight for little maths, so memory sets the pace. d-Matrix splits the work: GPUs read the prompt, its in-memory chip writes the answer ([HPCwire](https://www.hpcwire.com/off-the-wire/d-matrix-corsair-ai-inference-platform-enters-full-production-to-meet-customer-demand/)).
- **The converter.** Analog forms must turn each sum back into a digital number, and the converters cost energy and space ([arXiv](https://arxiv.org/abs/2404.06553)). Digital forms skip this but gain less per watt.
- **Scarce hardware.** Real PIM hardware is still scarce ([arXiv, Jul 2026](https://arxiv.org/abs/2607.24196)), so many published gains for the newer forms come from simulations, not chips.

## Scores every approach shares

- **Impact 3/5.** Cheaper AI inference would change who wins in AI chips.. AI chip buyers and cloud providers would notice first, then anyone paying for AI. It falls short of 4: no approach has shown that it alone halves the cost of inference. Judgement
- **Ease of adoption 2/5.** A new chip, a new compiler, and models tuned to fit.. Each approach needs its own chip and software. Analog forms need models adjusted for lower precision. Judgement

## Against the alternatives

| Way of doing it | What it gives you | What it costs you | Where it is now |
| --- | --- | --- | --- |
| Analog in-memory compute | Up to 120 TOPS per watt, maker claim ([DCVC](https://www.dcvc.com/news-insights/mythic-raises-125m-to-break-through-ais-power-wall/)) | Drift; converters; one flash supplier | In paid use at the edge |
| Processing-in-memory | 2.28 times plain LPDDR5X, maker claim ([Tom's Hardware](https://www.tomshardware.com/pc-components/dram/hot-chips-2026-samsung-makes-lpddr5x-smart-with-logic-unit-in-memory-lpddr5x-pim-is-3-01x-faster-than-lpddr5x-in-ai-inference-with-8x-the-bandwidth)) | Needs software from processor makers | Pilot; standard nearing final ([TrendForce](https://www.trendforce.com/news/2026/08/26/news-samsungs-4nm-gaia-could-mark-first-pim-commercialization-in-ai-pcs-mass-production-as-early-as-2027/)) |
| Digital in-memory compute | Exact maths; about 14 TOPS per watt ([TechPowerUp](https://www.techpowerup.com/352768/axelera-launches-europa-ai-processing-unit-aipu-with-up-to-629-tops)) | SRAM is costly per bit ([Wikipedia](https://en.wikipedia.org/wiki/Static_random-access_memory)) | In paid use ([HPCwire](https://www.hpcwire.com/off-the-wire/d-matrix-corsair-ai-inference-platform-enters-full-production-to-meet-customer-demand/)) |
| SRAM compute-in-memory | Standard processes; 7.3 TOPS per watt ([Wccftech](https://wccftech.com/houmo-ai-claims-first-chinese-hpc-ai-chip-with-computing-memory-35w-package/)) | Below digital chips per watt | Pilot |
| Charge-domain compute | About 24 TOPS per watt on a card ([Business Wire](https://www.businesswire.com/news/home/20250529108055/en)) | One maker; not shipped | Shown |
| Memristors | Several bits per cell | Cell variation limits accuracy | Shown ([Evertiq](https://evertiq.com/news/2026-05-19-tetramem-announces-22nm-rram-analog-imc-soc-milestone)) |
| Memcapacitor | Over 3,500 TOPS per watt, modelled ([MPI Halle](https://www.mpi-halle.mpg.de/ultra-low-power-memcapacitor-device-for-neuromorphic-computing)) | No chip-scale device | Shown |
| GPUs with [high-bandwidth memory](https://stateofthefuture.io/memory/dram/hbm/) | Runs every model; mature software | Power; HBM cost and supply ([Notebookcheck](https://www.notebookcheck.net/SK-hynix-sells-out-its-DRAM-NAND-and-HBM-chip-supply-to-Nvidia-through-2026.1151402.0.html)) | Routine |
| [Edge AI accelerators](https://stateofthefuture.io/compute/edge-ai/edge-ai-accelerator/) | Low power on standard digital designs | Memory traffic remains | In paid use ([Wikipedia](https://en.wikipedia.org/wiki/Hailo_Technologies)) |
| [Wafer-scale chips](https://stateofthefuture.io/compute/ai-chips/wafer-scale/) | Huge on-chip SRAM | Cost per system | In paid use ([Wikipedia](https://en.wikipedia.org/wiki/Cerebras)) |
| [Model in silicon](https://stateofthefuture.io/compute/ai-chips/model-in-silicon/) | Fixed model; maker claims 17,000 tokens a second per user ([heise](https://heise.de/-11185112)) | One model per chip | Prototype ([heise](https://heise.de/-11185112)) |
| [Photonic tensor cores](https://stateofthefuture.io/photonic-systems/optical-computing/photonic-tensor-cores/) | Multiply with light | Converters; precision [unverified] | Prototype [unverified] |
| [Spiking neural networks](https://stateofthefuture.io/compute/neuromorphic-computing/spiking-neural-networks/) | Compute only on events | Different models and tools | Pilot [unverified] |

Works with: GPUs, which read prompts while in-memory chips write answers ([HPCwire](https://www.hpcwire.com/off-the-wire/d-matrix-corsair-ai-inference-platform-enters-full-production-to-meet-customer-demand/)).
Needs: Standard foundry processes; flash and resistive cells licensed from a few suppliers; low-precision models.
Feeds: AI inference in data centres, PCs, cars and wearables.

Author: Lawrence Lundy-Bryan, State of the Future (https://stateofthefuture.io/)
