Apple details AFM context sizes; fm serve spins up a local Chat Completions API

rxwei · x · 2026-11-07

Following its Apple Intelligence Group Lab livestream, Apple published a doc on Apple Foundation Models context sizes: AFM Core Advanced (20B params, 8K context, on-device), AFM Core (3B params, 4–8K context, on-device), and AFM Cloud (32K context, Private Cloud Compute).

Practical bonus: the fm CLI lets you chat with the on-device model in the terminal and start a local Chat Completions-compatible API server via fm serve (endpoints /v1/chat/completions, /health, /v1/models; TCP or Unix socket modes) — wiring Apple's on-device model into standard OpenAI-style calls.

Original post →

More from Infra

Infra channel →