Skip to main content
TouchAI connects to AI services through configurable providers. Each provider has an API endpoint, an optional API key, and a list of models. Navigate to Settings → AI Services to manage your providers.

Supported provider types

TouchAI supports two provider types, matching the underlying API protocol:
TypeProtocolExample services
openaiOpenAI Chat Completions APIOpenAI, DeepSeek, Gemini, Grok, Ollama, and any OpenAI-compatible endpoint
anthropicAnthropic Messages APIAnthropic Claude, MiniMax (Anthropic-compatible)
When you add a provider, TouchAI automatically appends /v1 to the endpoint for OpenAI-type providers and uses the base URL as-is for Anthropic-type providers. Some built-in providers (e.g. Volcengine) already include a path suffix in their endpoint — in those cases, /v1 is still appended, so the full URL used for requests will include both suffixes. Check your provider’s API documentation if requests fail.

Built-in providers

TouchAI ships with 11 built-in providers pre-configured with the correct endpoints. OpenAI is enabled by default; all others are disabled until you add an API key and enable them.
ProviderTypeEndpointDefault state
OpenAIopenaihttps://api.openai.comEnabled
Anthropicanthropichttps://api.anthropic.comDisabled
DeepSeekopenaihttps://api.deepseek.comDisabled
Volcengine (火山引擎)openaihttps://ark.cn-beijing.volces.com/api/v3Disabled
Geminiopenaihttps://generativelanguage.googleapis.comDisabled
Grokopenaihttps://api.x.aiDisabled
Tencent Hunyuan (腾讯混元)openaihttps://api.hunyuan.cloud.tencent.comDisabled
MiniMaxanthropichttps://api.minimaxi.com/anthropicDisabled
Moonshot (月之暗面)openaihttps://api.moonshot.cnDisabled
Alibaba Bailian (阿里云百炼)openaihttps://dashscope.aliyuncs.com/compatible-modeDisabled
Zhipu (智谱)openaihttps://open.bigmodel.cn/api/paasDisabled

Add your first provider

1

Open AI Services settings

Open TouchAI and navigate to Settings → AI Services. The provider list appears in the left panel.
2

Select a provider or add a custom one

Click an existing built-in provider to configure it, or click Add custom provider to create a new one.For a custom provider, fill in:
  • Provider name — a display label of your choice
  • Provider typeOpenAI or Anthropic
  • API endpoint — the base URL without a /v1 suffix (e.g. https://api.openai.com)
  • API key — your secret key (optional for some local providers)
3

Save the provider configuration

For built-in providers, enter your API key and endpoint in the Provider configuration panel on the right. Changes are saved automatically after a short debounce delay.
4

Enable the provider

Toggle the provider switch in the provider list to enable it. Disabled providers and their models are not available for selection in the chat interface.
5

Add models

With the provider selected, scroll to the Models section. Click Refresh to fetch the model list from the API automatically, or click Add model to add one manually.
6

Set a default model

Click the star icon next to any model to mark it as the default. The default model is used when you start a new conversation without selecting a specific model.

Provider setup by type

OpenAI uses the Chat Completions API.
API endpoint: https://api.openai.com
API key:      sk-...
TouchAI normalizes the endpoint to https://api.openai.com/v1 automatically.Common models to add:
Display nameModel ID
GPT-4ogpt-4o
GPT-4o minigpt-4o-mini
o3o3
o4-minio4-mini
Use Refresh on the models panel to automatically fetch the full list of models available on your account.

Managing models

Add a model manually

Click Add model in the models panel and fill in:
FieldDescription
Model nameDisplay label shown in the model selector (e.g. GPT-4o)
Model IDThe identifier sent in API requests (e.g. gpt-4o)
CapabilitiesOptional: toggle reasoning, tool calls, multimodal, file, or open-weights flags
If you leave all capability toggles off, TouchAI will attempt to match the model against its built-in model metadata database and fill in the capabilities automatically.

Model capabilities

Capabilities are stored per-model and affect how TouchAI uses them:
CapabilitySchema fieldEffect
Tool callstool_callEnables MCP tool use for this model
Multimodalmodalities (input includes image)Allows image attachments
FileattachmentAllows file attachments
ReasoningreasoningIndicates the model produces extended thinking output
Open weightsopen_weightsInformational label only

Output token limit

The output_limit field (sourced from the model metadata database) sets the maximum number of tokens the model can generate per response. This is passed as max_tokens in Anthropic requests. For OpenAI requests the field is informational only.

Default model

Exactly one model across all providers can be marked as default (is_default = 1). The default model is pre-selected when you open a new conversation. Click the star icon next to any model to change the default.

Refresh models from API

Click Refresh on the models panel to call the provider’s model list endpoint and import any new models not already in your list. Existing models are not modified.
For providers that require authentication, the Refresh button will fail if no API key is configured.

Enable and disable providers

The toggle next to each provider in the provider list enables or disables it. Disabled providers are hidden from the model selector in the chat interface. Their models and configuration are preserved.

Build docs developers (and LLMs) love