Local models

Run models on your machine and point Glyph at them. Local setups use the same Glyph AI panel once AI features are on. Configure them under Settings → AI for the open Space. Set Connection type to Local, then pick Ollama or llama.cpp under Provider.

Local endpoints are per space, same as API keys.

Ollama

Glyph connects to Ollama at http://localhost:11434. There is no Base URL or Allow local network control for Ollama; local network access is always on.

  1. Install and start Ollama on your Mac.
  2. Pull the models you want in Ollama.
  3. In Glyph, choose Local and then Ollama.
  4. Enable AI features and open the AI panel.

Keep Ollama running while you chat. If Ollama is stopped, Send fails until you start it again.

llama.cpp

llama.cpp servers default to localhost:8080/v1.

  1. Start your llama.cpp server with an OpenAI-compatible HTTP API.
  2. In Glyph, choose Local and then llama.cpp.
  3. Set the Base URL if you changed the port (default http://localhost:8080/v1).
  4. Keep Allow local network on. It is on by default for llama.cpp.
  5. Send a test message from the AI panel.

Match the port in Glyph to the port your server prints when it starts.

OpenAI compatible (LM Studio and similar)

Apps like LM Studio often expose an OpenAI-compatible API.

  1. Start the local server in that app and note the Base URL it shows.
  2. In Glyph, set Connection type to API and choose OpenAI compatible.
  3. Set the Base URL to that address.
  4. Enable Allow local network.
  5. Set a key only if the local app requires one.

You may not need a real API key for a local server. Follow what your local app documents. Glyph still stores the connection with the Space.

Allow local network

The control appears for llama.cpp and OpenAI compatible only. Ollama always uses local network access. Turn it on for llama.cpp, LM Studio, and other local OpenAI-compatible servers.

How this fits with other AI options

  • Local models: this guide (Ollama, llama.cpp, and OpenAI compatible local servers).
  • Cloud API keys: OpenAI, Anthropic, Google, OpenRouter.
  • Agents: Codex, Cursor, Grok, OpenCode, Claude Code, PI with their CLIs.

Pick one approach per Space profile, or keep several configured and switch which one you use in the panel. Chat, tools, and @ context follow the Glyph AI overview.

Tips

  • If chat fails, confirm the local server is running and the port matches Glyph.
  • Large models need RAM and time; a hung Send often means the server is still loading weights.
  • Tools on vs off still applies: chat-only vs create mode is independent of where the model runs.