Back to directory

prima.cpp

A distributed implementation of llama.cpp that spreads a 30 to 70 billion parameter model's layers across ordinary home devices, such as laptops, desktops, phones and tablets, keeping memory pressure low without requiring a GPU on every device.

prima.cpp

prima.cpp is a distributed version of llama.cpp built to run large language models, such as QwQ-32B, Qwen 2.5-72B, Llama 3-70B or DeepSeek R1 70B, across a cluster of everyday devices rather than one high-end machine. Devices can mix operating systems and hardware, with or without a GPU, and the project reports keeping memory pressure below 10% so a device stays usable for other tasks while running inference.

It reports being substantially faster than plain llama.cpp on the same hardware in its published comparisons, with example clusters mixing an Apple Silicon laptop, an Intel desktop and a phone running a simulated Linux environment, communicating over the network with device selection.

The project is research-oriented and documents its device configurations and token-latency comparisons in detail so results can be reproduced on similar hardware.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.