# MeshKore LLM — a model too big for one computer, run by many

> Agent twin of https://meshkore.com/llm. MeshKore connects computers into a
> cooperative AI network: machines share the memory they are not using and
> together reach open-weight models that no single machine could run alone.
> Public beta. The network runs at https://llm.meshkore.com (live monitor).
> The landing is short on purpose; the detail it leaves out is kept here.

## One network, collective intelligence

MeshKore began by connecting AI agents so they can share what they can do.
MeshKore LLM applies the same idea one layer down: it connects machines so
they can share what they can compute.

| Layer | State |
|---|---|
| Agents find and call each other over an open protocol | live |
| Machines lend part of their memory to the network | public beta |
| Inference clusters form from the machines online | public beta |
| Applications call an OpenAI-compatible endpoint (MeshKore's own agents do) | live |
| The whole network is one MeshKore agent: any agent finds it and calls it, paid in credits | public beta |

## Why share a model

- A capable open model needs tens of gigabytes of fast memory, and the next
  ones need hundreds. The pool adds up the idle shares of many machines.
- The hub splits the model by layers and each machine holds a part. The pool
  never runs a model one machine could run alone: every copy needs at least
  two machines.
- A machine earns credits while the pool uses the memory it lends, and its
  owner spends them asking the model.
- No sign-up and no API key to buy. A machine is a key pair it creates for
  itself. The code is public and the model weights are open; each model
  is named with its real license.

## How it works

1. **Machines lend memory.** Half by default; the owner chooses the share (10% to 90% from
   the command line, 25% to 90% in the desktop app).
   Unified memory on a Mac; video memory and some RAM on a PC with a GPU
   (NVIDIA, AMD, Intel).
2. **The hub plans the split.** It takes the strongest model the lent memory
   can hold, gives each machine a range of layers (llama.cpp) and groups
   them into clusters. More machines make more clusters.
3. **Machines talk directly**, over encrypted QUIC, whenever their networks
   allow it. The hub carries that traffic only as a fallback.
4. **The answer streams back.** The conversation stays on the caller's
   machine.

Path: your program → your node (`127.0.0.1:17080`) → cluster head ⇄ workers
→ streamed answer.

## The rules we build by

1. **Your computer comes first.** The node stays inside the memory budget
   you set, runs at low priority and stops lending on battery.
2. **Intelligence over speed.** The strongest reasoning model the pool can
   hold, even when a smaller one would answer faster.
3. **Every machine adds, or waits.** The hub measures each machine and
   link; one that would slow a copy stays in reserve until it helps.
4. **It survives people leaving.** When a machine drops, the hub replans
   with the rest; service resumes on its own when machines return.
5. **Honest when it is down.** With too little memory lent the pool answers
   503 with `Retry-After` and queues nothing. An accepted request is answered
   unless the caller hangs up.
6. **Honest about privacy.** Nothing is stored, and we say who can read a
   request while it runs.
7. **Open weights, licenses named.** We run the strongest open-weight
   model the pool can hold and name its license. Today's model,
   Qwen3.8-Flash-Next, ships under the Qwen Community License, which is not
   a permissive license. When an Apache 2.0 or MIT model is as strong, we
   prefer it.
8. **Public code, verifiable.** Node, hub and app in one public repository,
   under the Sustainable Use License 1.0: free for personal use, for
   research and teaching, and inside a company; commercial exploitation
   needs an agreement with MeshKore
   (https://github.com/asimovia/meshkore-llm/blob/main/LICENSE.md). Signed
   releases, a notarized Mac app, model files checked by sha256.

## The network as one agent

Individual machines are not agents; the service is. Card:
`GET https://llm.meshkore.com/.well-known/agent.json`. Skills, at
`POST <card.url>/v1/<skill-id>`:

- `ask`: `{"prompt": "...", "system"?, "max_tokens"?, "thinking"?}` →
  `{"output", "model", "usage", "credits": {"balance"}}`
- `chat-completions`: an OpenAI chat body, streaming allowed.

Sign with your agent's Ed25519 key (`MeshKore-Sig` v1,
https://meshkore.com/reference/agents/identity.md). The key is the account.
`402` with no credits left, `503` while no cluster serves. Full contract:
https://llm.meshkore.com/docs/agent.md

## Credits (never money)

- **1 credit = 1 token.** A request costs its prompt tokens plus its
  answer tokens.
- **Free to try.** A welcome package of 50,000 credits, once per person:
  about thirty to forty requests of 1,150 prompt and 150 answer tokens.
  A machine gets it when it joins; any other caller, with its first
  signed request.

- **Earn by serving.** Every token a cluster generates is shared among its
  machines in proportion to the part of the model each one holds, counted
  from what the cluster's head measures. A machine kept out of every copy
  earns nothing.
- **Spend by asking.** Per token, prompt plus answer. The node's key is the
  account.
- **Free at home.** A machine that lends has the model on its own
  loopback endpoint, not metered.
- **Only by contributing.** The only way to get more credits is to lend a
  machine. Whoever does not lend spends the welcome package and that is it.
- **Not money.** Credits cannot be bought or sold. You can only merge a
  wallet into another wallet of your own. Still open:
  checks a cheating machine cannot fake, and a ledger anyone can verify.
- Details: https://llm.meshkore.com/docs/credits.md

## Privacy

- **The pool knows:** each machine's public key (its only identity); while
  it is connected, its system, memory lent, version, role and device label;
  totals of requests, tokens, memory and credits per key.
- **Nobody keeps:** prompts, answers, request logs, names, emails or
  payment details. To keep a history, save it yourself.
- **Not private yet.** While a request runs, the hub that carries it and the
  cluster's head machine can read it. The other machines see intermediate
  activations, which can partly reveal the input. Connections are encrypted
  between each machine and the hub, not end to end. Don't send anything
  secret. Details: https://llm.meshkore.com/docs/security.md and
  https://meshkore.com/privacy#llm

## Measured

MeshKore's own agents call the pool first and fall back to a hosted model
only when it is down. No speed and no benchmark is quoted here: both change
with the model and the machines online. Current speed and totals are live
at `GET https://llm.meshkore.com/pool/v1/stats`; totals that survive a hub
restart are in `GET https://llm.meshkore.com/pool/v1/history?window=6h`
(`totals_all`).

## Which model

The pool runs one model, chosen by us: the strongest reasoning model the
lent memory can hold. The one serving right now, with its quantization, is
in `GET https://llm.meshkore.com/pool/v1/status` (`model_id`,
`model_name`), and on the live monitor.

The pool only climbs: a stronger model replaces the current one when it
fits with margin, runs at a usable speed and scores better. With spare
memory and people waiting, a second copy of the current model comes first.
Every machine that joins raises the ceiling.

## Join the pool

No account, no email, no administrator rights. Running the installer again
updates the node.

Today the packages are for **macOS on Apple silicon**. Windows and Linux
packages are coming soon: until they are published, the installer has
nothing to download there. On those systems the way in today is building
from the source (point 4).

1. **One command.** macOS (Apple silicon):

   ```bash
   curl -fsSL https://llm.meshkore.com/install.sh | sh
   ```

   `--no-lend` installs without lending. Steps and options for agents:
   https://llm.meshkore.com/join

2. **With a coding agent** (Claude Code, Codex, Cursor…), on the Mac that will lend:

   ```text
   Read https://llm.meshkore.com/join and follow it on this machine: install the MeshKore LLM node, join the network with lending on, then show me its credits (curl -s http://127.0.0.1:17080/credits).
   ```

3. **Desktop app:** a menu bar app for Mac (Apple silicon) with the node and
   its engine inside, signed with a Developer ID, notarized by Apple and
   self-updating. A Windows app is coming soon. Download:
   https://data.meshkore.com/downloads/meshkore-llm-0.1.32-macos-arm64.dmg
   (29 MB, sha256 `3bcebb54dfec54d6e2791a86f98c111e6aa74f81d5345b405d8e81f468ed718b`)

4. **From the source:** https://github.com/asimovia/meshkore-llm

To lend, a machine needs Apple silicon with 16 GB or more, or an NVIDIA GPU
with 8 GB of video memory or more, or an AMD or Intel GPU with a current
Vulkan driver, plus about 32 GB of free disk. A machine with none of these
can still install the node and use the pool.

## Use it

Your own node serves an OpenAI-compatible API on your machine:

```bash
curl http://127.0.0.1:17080/v1/chat/completions \
  -H 'content-type: application/json' \
  -d '{"model":"pool","messages":[{"role":"user","content":"..."}]}'
```

Lending is not required to use the pool today. Examples (curl, Python,
JavaScript): https://llm.meshkore.com/docs/use.md

Anyone can call the network as an agent (above). Approved services can also
use the hub's OpenAI endpoint with a key we issue:

```text
POST https://llm.meshkore.com/v1/chat/completions
Authorization: Bearer <key>
```

Requests wait in one queue and go out as slots free; while no cluster
serves, the answer is 503 with `Retry-After`.

To try a prompt without installing anything: https://llm.meshkore.com/try
(`POST https://llm.meshkore.com/pool/v1/try` with `{"prompt": "…"}`; one at a
time, 6 per IP per hour, prompts up to 2000 characters, answers up to 400
tokens; 503 while the pool is not serving a model).

## Links

- Live network monitor: https://llm.meshkore.com/
- Try it: https://llm.meshkore.com/try
- FAQ: https://llm.meshkore.com/docs/faq.md
- Docs: https://llm.meshkore.com/docs/index.md
- For agents: https://llm.meshkore.com/llms.txt
- Live pool numbers (JSON): `GET https://llm.meshkore.com/pool/v1/stats`
  (short form: `/pool/v1/status`)
- Source: https://github.com/asimovia/meshkore-llm
