Back to directory

Godwit

A Swift and Metal runtime that runs a 120-billion-parameter mixture-of-experts language model on a 16 GB Apple Silicon Mac by streaming only the experts a token actually needs from disk.

Godwit

Godwit keeps only a mixture-of-experts model's shared trunk, roughly 2 gigabytes for GPT-OSS-120B, resident in memory, and streams the individual expert weights a token's router selects from SSD on demand, rather than requiring the full, much larger model to be loaded, which is what most inference runtimes still assume. The tradeoff is throughput: on a base MacBook Air the approach currently runs at roughly 1.4 tokens per second, in exchange for making a 59-gigabyte model runnable at all on a 16-gigabyte machine.

It also runs GPT-OSS-20B and Qwen3-30B-A3B from the same binary, switchable at runtime, and serves a live view of which of a model's thousands of experts are firing for each token, built with Swift and Metal and no external dependencies. Its documentation corrects an earlier, incorrect conclusion about expert-choice prefetching, explaining why naively reusing a previous layer's expert choices does not work but running the next layer's router early on the current hidden state can.

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.