npm · @houtini/lm
$npx -y @houtini/lm@3.3.4 HOUTINI_LM_ENDPOINT_URL — Base URL of the OpenAI-compatible API endpoint (e.g. http://localhost:1234, https://openrouter.ai/api). Legacy alias: LM_STUDIO_URL.
HOUTINI_LM_API_KEY · secret — Bearer token for API authentication (no auth if blank). Legacy aliases: LM_STUDIO_PASSWORD, LM_PASSWORD, OPENROUTER_API_KEY.
HOUTINI_LM_MODEL — Model identifier to use for requests (auto-detected if not set). Legacy alias: LM_STUDIO_MODEL.
HOUTINI_LM_PROVIDER — Optional provider override: 'openrouter' forces OpenRouter-specific handling (attribution headers, reasoning.exclude, no inference serialisation). Auto-detected from the endpoint URL when possible.