Put the free local Apple Intelligence language model to work on your own Mac, with control over how you use it.
No API keys. No cloud. No subscriptions. No per-token billing. The AI is already on your computer — apfel lets you use it.
What is this?
Every Mac with Apple Silicon has a built-in LLM — Apple's on-device foundation model, shipped as part of Apple Intelligence. Apple provides the FoundationModels framework (macOS 26+) to access it, but only exposes it through Siri and system features. apfel wraps it in a CLI and an HTTP server — so you can actually use it. All inference runs on-device, no network calls.
UNIX tool — echo “summarize this” | apfel - pipe-friendly, file attachments, JSON output, exit codes
OpenAI-compatible server — apfel --serve — drop-in replacement at localhost:11434, works with any OpenAI SDK
Tool calling — function calling with schema conversion, full round-trip support
Zero cost — no API keys, no cloud, no subscriptions, 4096-token context window
