Skip to content
Guides

LLM Providers

Set up Claude, OpenAI, Gemini, or local models

Supported Providers

Claude (Anthropic)

config.jsonjson
{
  "provider": "claude",
"apiKey": "sk-ant-..."
}

OpenAI

config.jsonjson
{
  "provider": "openai",
"apiKey": "sk-..."
}

Google Gemini

config.jsonjson
{
  "provider": "gemini",
"apiKey": "AI..."
}

Ollama (Local)

config.jsonjson
{
  "provider": "ollama",
"baseUrl": "http://localhost:11434"
}

Glance Cloud (free, default)

config.jsonjson
{
  "provider": "cloud"
}

Custom endpoint (BYOK)

config.jsonjson
{
  "provider": "custom",
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "sk-...",
"model": "anthropic/claude-sonnet-4.5"
}

Free by default

With no key set, Glance uses Glance Cloud, a free hosted text model. It is text-only (screenshots are not uploaded) and rate-limited. For screen-aware features use Ollama or a vision model on your own endpoint. Set GLANCE_NO_CLOUD=1 to opt out.

No provider needed

Glance works without any LLM provider for basic screen reading and pointing. Providers unlock advanced reasoning and action capabilities.