LLM_PROVIDERS, which currently exposes 16 built-in configs.
Providers
Cost estimate
Before translation starts, the AI panel calls the active provider’sestimateTokens() implementation and shows:
- estimated token count
- estimated cost
- the input/output pricing used by the current profile
Batch size, concurrency, timeout, and language
The AST / Regex / Theme AI panels edit these global settings directly:llmBatchSizellmConcurrencyLimitllmTimeoutllmStylelanguage/llmLanguage
10, 3, and 60000 for batch size, concurrency limit, and timeout.
What gets translated by default
The current controllers buildtargetItems and only send rows whose target is:
- empty
- whitespace-only
- equal to
source
Prompt templates
The current implementation stores three prompt templates:llmAstPromptllmRegexPromptllmThemePrompt