Model Configuration | LanMate User Guide
Using the Qianxin edition of LanMate?View Qianxin Edition User Guide

Model Configuration

Provider Management

Settings > Models shows providers as cards.

Subscription Sign-In

Works even with only a subscription account and no API key: click “Add” and choose “Subscription Sign-In”, then sign in with your subscription account (a browser window opens to finish the authorization). Seven platforms are supported: ChatGPT, Claude, GitHub Copilot, Kimi, OpenRouter, xAI, and Meta — once signed in, that platform’s available models appear automatically, no manual key entry needed.

Adding a Provider (API Key)

  1. Click “Add” and select a template (Kimi/GLM/DeepSeek/Qwen/MiniMax/Doubao/OpenAI/Anthropic)
  2. Template auto-fills Base URL and model list (thinking levels, context window, multimodal)
  3. Paste API Key and click “Add”

Custom Providers

Manually enter name, Base URL, API type, API Key, and model list. For intranet or proxy environments, you can configure this provider’s own connection options, then verify with one click via “Test connectivity”.

Fetch Model List

Pulls from /models endpoint with auto-filled metadata. All fields editable.

Model List

Field Description
ID Model identifier for API calls
Display name UI label
Thinking levels off/minimal/low/medium/high/xhigh/max
Image input Auto-verified with 1x1 PNG probe
Context length Token count
Advanced compatibility Extra tuning for when a model service won’t connect or misbehaves (built-in presets for Zhipu/Kimi/DeepSeek/Qwen/OpenRouter)

Image Recognition Fallback

When the current model doesn’t support image input, auto-switches to the configured fallback model.

Sub-Agent Tiers

Settings > Models > Sub-agent tiers: Simple/Standard/Hard, each mapping to a configured model or “Follow parent.”

Org-Synced Models

After Lansenger sign-in, org policies auto-sync:

Adding a Custom Model

For services not covered by built-in provider templates (self-hosted gateways, OpenAI-compatible proxies), choose “Custom Provider”:

Field Notes
API type OpenAI Chat Completions / Anthropic Messages—match the target service’s protocol
Base URL Request endpoint; OpenAI-compatible services usually end at /v1
API Key Auth secret, stored locally and never uploaded
Model list Add manually or fetch from the /models endpoint

The model is selectable immediately after adding. If calls fail, first check the API key’s validity, whether the Base URL has extra path segments, and whether the model ID matches the provider’s.