deepflock docs

deepflock serves large open models from flocks of ordinary Macs. You call one OpenAI-compatible API; we split each model across many Macs and stream the answer back.

deepflock is in private preview. Endpoints below describe the API as it will ship; keys are issued to waitlist members in order. Join the waitlist.

Overview

Models with hundreds of billions of parameters do not fit in one Mac's memory. deepflock cuts a model into consecutive pieces, places each piece on a different Mac, and connects them over the internet into a row we call a flock. A request enters the first Mac and leaves the last one.

Because each trip between Macs takes tens of milliseconds, a plain row is slow. deepflock keeps the row busy by drafting several words ahead with a small helper model and checking every draft against the full model. Drafts that are wrong are discarded, so the text you receive is what the full model would produce.

Quickstart

Use any OpenAI SDK. Set the base URL and your key:

pip install openai
export DEEPFLOCK_API_KEY="df-..."
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.deepflock.dev/v1",
                api_key=os.environ["DEEPFLOCK_API_KEY"])

stream = client.chat.completions.create(
    model="qwen3-235b-a22b",
    messages=[{"role": "user", "content": "Explain pipeline parallelism in two sentences."}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")

Or with curl:

curl https://api.deepflock.dev/v1/chat/completions \
  -H "Authorization: Bearer $DEEPFLOCK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3-235b-a22b","messages":[{"role":"user","content":"Hello"}],"stream":true}'

API keys

Keys are created in the console and start with df-. Send them as a bearer token. Keep keys on your server; never ship them in a browser or app bundle.

Chat completions

POST /v1/chat/completions follows the OpenAI schema. Supported fields in the preview: model, messages, stream, max_tokens, temperature, top_p, stop, seed. Tool calls and images will follow.

Determinism

With temperature: 0 a flock returns the same text as the same model running on a single machine with the same number format. The guess-ahead step never changes the output.

Models

Model idSizeStatus
qwen3-235b-a22b235B total, 22B activeIn testing
qwen3.5-397b-a17b397B total, 17B activePlanned
qwen3-vl-235b-a22b235B, visionPlanned
mistral-small-4-119b119BPlanned

GET /v1/models lists what is live for your key.

Through OpenRouter

We plan to serve deepflock models as a provider on OpenRouter. If you already use OpenRouter, you will be able to reach deepflock without a separate account; pick deepflock as the provider for a supported model.

Speed and limits

A flock is a row of Macs in different homes, so speed depends on the trips between them. In our measurements a 30B model split over two 16 GB Macs generated 7.6 tokens per second with 50 ms added per trip, against 3.4 for a plain row, with identical text. Long prompts take longer to read on a flock than on a datacentre GPU; we will publish live speeds per model on the status page.

Run a node on your Mac

Mac owners install a small app that downloads one piece of a model and serves it when the Mac is idle and plugged in. The installer opens with the preview.

# available to waitlist members when the preview opens
curl -fsSL https://deepflock.dev/install.sh | bash

Requirements

Earnings

Owners keep 75% of what their Mac earns. A 16 GB M4 that is available most of the day is estimated at about $25–45 a month at today's model prices; faster chips earn more. Estimates, not promises: real earnings depend on demand.

How a flock runs a model

  1. The model is cut into consecutive pieces sized to each Mac's memory.
  2. Our coordinator turns your prompt into numbers and sends them to the first Mac.
  3. Each Mac runs its piece and passes the result to the next. The last Mac's output becomes the next word.
  4. A small helper drafts the next several words, so all Macs work on different words at once instead of waiting.

Why the output is exact

Every drafted word is checked by the full model before it is accepted. When a draft is wrong, the flock drops it and everything after it, then continues from the correct word. We send one position at a time through the row so each word is computed exactly as it would be without drafting, which keeps the text identical even in 16-bit arithmetic.