Lapis for Mac and Lapis Link
Run local models on your Apple Silicon Mac. With Lapis Link, chat with those models from your iPhone or iPad.
A Mac. Also a server.
The Mac implementation shares models between the app, Link and CLI. No Python installation or open window is required.
Your Mac, from the sofa.
Pair your iPhone or iPad by QR or code with a Mac. Works over your local network or remotely through Tailscale. The Mac runs an installed text model and streams the answer back; it must stay awake.
Lapis, in your terminal.
Optionally install the lapis command from the Mac app. List and install supported models, send prompts and control the server or Link. It shares the app’s models and configuration, without another engine or automatic shell changes.
Text Chat Completions
GET /v1/models and POST /v1/chat/completions, JSON or SSE and token usage. This is a compatible subset: no Responses, tools, vision, embeddings or Anthropic API.
Multiple clients, one generation
Up to 32 revocable client keys, a bounded queue, fair scheduling, rate limits and deadlines. Inference remains one generation at a time: no continuous batching or multiple resident models.
Memory and model lifetime
Hardware/Metal-aware budgets, configurable ceilings and idle unloading or model retention. More RAM is not a promise that every model will fit.
Control and observability
Queue status, tokens, latency and owner-only Prometheus metrics. The background service needs macOS approval; the Mac must remain powered on and connected.
Lapis Link transfers encrypted text. No photos, documents or voice transfer. Works over local network or remotely via Tailscale once paired by QR. Its authenticated message encryption is separate from the conventional HTTP API.
Take a conversation further.
From a first draft to a different direction, without losing the work before it.
Projects and instructions
Group chats by project, give each its own instructions and adjust response tone. Projects require PRO.
Duplicate and fork
Copy an entire conversation or branch from a message. The original stays intact; creating a branch does not automatically generate an answer.
History, search and drafts
Return to saved chats, search your history and keep your draft when moving between screens.
Your work, in other formats
Export as PDF, Markdown or text. Copy formatted code and regenerate an answer with another compatible model.
Revise the message. Continue from there.
Edit a sent message and confirm Save & Regenerate to replace later turns. Attachments are preserved; duplication and branching remain separate actions.
Choose a model. Know its limits.
Available memory matters more than a list of model names.
A device-aware catalog
Liquid, Mistral, Qwen, Llama, Gemma and other supported families. See capabilities, size and memory guidance; import compatible Hugging Face models with PRO, including uncensored variants.
Apple, on-device or in the cloud
Apple’s on-device model depends on system readiness. Apple Intelligence Cloud is a separate online choice requiring consent, internet, compatible software and Apple eligibility, with its usage limits.
Verified downloads
Resume downloads, follow progress and opt into completion notifications. File verification helps prevent incomplete models from appearing ready.
Memory-aware context
Space is reserved for the reply and recent turns take priority when context fills. Saved history stays intact: this is not automatic semantic summarization.
Inference controls
With PRO, adjust sampling, response limits, seed, stop strings and cache on compatible models. Prefix reuse is bounded and isolated; KV compression is model-dependent.
Privacy you can understand.
Where a request is processed should never be a surprise.
Local by choice
Downloaded models process on your device; chats and images are stored locally. Local AI needs no account or external API key.
Temporary and protected chats
Use temporary conversations or protect saved chats with Face ID, Touch ID or system authentication, depending on your device.
Your usage, without your messages
View historical tokens, weekly/monthly periods and activity. API cost comparisons are estimates, not bills or guaranteed savings. The ledger stores local counts, not chat contents.
Performance at a glance
Check response speed, memory and device status. Detailed performance and advanced controls stay out of the conversation’s way.