Skip to content

Configuration

LLM Provider

Select your provider in the configuration panel. The selection is also configurable via the TERMAID_LLM_PROVIDER environment variable (ollama, claude, or openai).

Ollama

  • URL: Address of your Ollama instance (local or remote)
  • API Key: Optional, if your Ollama instance requires authentication
  • Model: Ollama model to use (llama2, mistral, etc.)
  • Temperature: Controls AI creativity (0 = more precise, 1 = more creative)
  • Max Tokens: Maximum number of tokens in the response

Claude

  • API Key: Your Anthropic API key (from console.anthropic.com)
  • Model: Claude model to use (claude-haiku-4-5-20251001, claude-sonnet-4-5-20250929, etc.)
  • Temperature: Controls AI creativity (0 = more precise, 1 = more creative)
  • Max Tokens: Maximum number of tokens in the response

OpenAI

  • API Key: Your OpenAI API key (from platform.openai.com)
  • Model: OpenAI model to use (gpt-4o, gpt-4, gpt-3.5-turbo, etc.)
  • Temperature: Controls AI creativity (0 = more precise, 1 = more creative)
  • Max Tokens: Maximum number of tokens in the response

Interface

  • Theme: Dark (default) or Light
  • Font Size: Adjust text size (10-20px)

Environment Variables

Environment variables take priority over the UI configuration. Copy .env.example to .env to get started.

VariableDescriptionDefault
TERMAID_LLM_PROVIDERLLM provider to use (ollama, claude, or openai)ollama
TERMAID_OLLAMA_URLOllama instance URLhttp://localhost:11434
TERMAID_OLLAMA_API_KEYAPI key for Ollama authentication(none)
TERMAID_OLLAMA_MODELOllama model to usegemini-3-flash-preview:cloud
TERMAID_OLLAMA_TEMPERATUREOllama temperature (0–1)0.7
TERMAID_OLLAMA_MAX_TOKENSMaximum tokens for Ollama response1000
TERMAID_CLAUDE_API_KEYAnthropic API key for Claude(none)
ANTHROPIC_API_KEYStandard Anthropic API key (fallback for TERMAID_CLAUDE_API_KEY)(none)
TERMAID_CLAUDE_MODELClaude model to useclaude-haiku-4-5-20251001
TERMAID_OPENAI_API_KEYOpenAI API key(none)
TERMAID_OPENAI_MODELOpenAI model to usegpt-4o
TERMAID_SHELLShell to use (auto for system default, or explicit path)auto
TERMAID_DEVTOOLSOpen DevTools on launch (true/false)false
ELECTRON_OZONE_PLATFORM_HINTForce X11 on Linux Wayland (x11)(unset)

Released under the MIT License.