Translation API Guide

The tool integrates 8 classic translation APIs and 21 large language models, so you can pick whichever fits your text type, budget, and privacy needs.

Which API should I pick?

Use caseRecommendedWhy
First-time user, no API keyGTX (Free)Free, zero-config — the default
Subtitles, UI strings, lots of short sentencesGTX Free or Qwen-MT FlashHigh concurrency, cheap
Long text, business / literatureDeepLBest overall quality and flow
Entry-level AI translation / budget-conscious LLM useDeepSeekBest price/value LLM — strong CN/EN quality at a fraction of Claude / GPT per-token cost
Chinese ↔ English, reliabilityDeepSeek / Qwen-MT PlusDirect access from mainland CN, great CN/EN quality
Technical docs needing consistent terminologyDeepSeek (best value) / Claude (premium) / GPT / GeminiLLMs let you control style via custom prompts
Privacy-sensitive, local-onlyTranslateGemmaSelf-hosted, free, purpose-built translation model
Low-resource languages (Wolof, Bhojpuri, etc.)DeepLCovers many low-resource languages reliably (e.g. wo / an / gn that Google doesn't carry)

For detailed comparisons and how to get API keys, keep reading ↓

Classic Translation APIs

APIQualityStabilityBest forFree tier
DeepL(X)★★★★★★★★★☆Long text, business / literature500K characters/month
Google Translate★★★★☆★★★★★UI strings, short sentences500K characters/month
Azure Translate★★★★☆★★★★★Widest language coverage (90+)2M characters/month for the first year
Qwen-MT★★★★★★★★★★CN/EN translation, domain-tunedPay-per-token, free tier for new users
TranslateGemma★★★★☆★★★★☆Local translation, privacy-firstFree (self-hosted)
GTX API (Free)★★★☆☆★★★☆☆General textShared service, ~5M chars per 3 hours
GTX Web (Free)★★★☆☆★★☆☆☆Small-volume translationFree

Notes:

  • DeepL can't be called directly from the browser — the tool routes through a built-in proxy by default. If you have your own proxy, fill it in the API URL field.
  • Qwen-MT is Alibaba Cloud's translation-specialized model. See Qwen-MT essentials below.
  • TranslateGemma is Google's open-source translation-specialized Gemma model. You'll need to run it locally with LM Studio / Ollama / llama.cpp — see Local Model Setup.
  • GTX API/Web are free but rate-limited. Use a paid API for long-running jobs.

For more reliable service, apply for a commercial API key — see the API application guide.

Large Language Models (LLMs)

Supported: DeepSeek, OpenAI, Claude, Gemini, Qwen, Moonshot (Kimi), Zhipu GLM, Doubao, Xiaomi MiMo, MiniMax, Tencent Hunyuan, Baidu ERNIE, Cohere, xAI (Grok), Mistral, Perplexity, OpenRouter, Groq, SiliconFlow, GitHub Models, Nvidia NIM, Azure OpenAI, plus any OpenAI-compatible endpoint.

LLMs work best for:

  • Literature and technical documentation that needs deeper understanding
  • Multilingual content where consistent terminology matters
  • Custom prompts to control translation style

Key parameters:

  • Model: enter the model name from your provider; for Azure OpenAI, enter the deployment name.
  • Temperature: defaults to 0.7. Try 0.2 for technical content, 0.9 for marketing or creative paraphrasing.
  • Thinking mode: lets the AI think before translating — higher quality, slower and pricier. Supported models show a toggle in the UI. The toggle is stored per model so switching models preserves each one's setting independently. The exact UI form depends on the provider:
    • Three levels (off / low / medium / high): Claude, Gemini, DeepSeek, OpenAI GPT-5, Qwen3, Azure OpenAI, Nvidia NIM, Perplexity Sonar Deep Research
    • Binary toggle (off / on): Doubao, Zhipu GLM, Moonshot (Kimi), MiniMax, Xiaomi MiMo, Hunyuan TurboS, Mistral (Medium 3.5 / Small 4), Cohere Command A Reasoning (underlying APIs accept on/off but not an effort param)
    • Low / high only: xAI Grok 4.3 (API limitation)
    • Three-state (off / on / auto): when you enter an unlisted custom model on a thinking-capable provider (incl. Mistral, Perplexity, and the custom OpenAI-compatible endpoint). Auto omits the thinking param to follow the model's built-in default — a fallback for strict providers that 422 on a non-thinking SKU; defaults to Off
    • Always-on SKUs (no toggle shown): ERNIE 5.0-Thinking, Hunyuan 2.0-Thinking, Mistral Magistral, Perplexity Sonar Reasoning Pro, Grok 4.20 Reasoning / Multi-Agent
    • No thinking toggle: GitHub Models (the gateway doesn't support reasoning params)

Regional Endpoint Switcher

Many providers run separate endpoints for Mainland China, International, and US regions. The official endpoints appear as quick-pick chips above the URL field — click to switch:

ProviderAvailable regions
Qwen / Qwen-MTMainland CN / International / US
Moonshot (Kimi)Mainland CN / International
Zhipu GLMMainland CN / International (Z.ai)
MiniMaxMainland CN / International
Doubao (Volcano Ark)Standard / Coding Plan

URL Auto-Completion

OpenAI-compatible URL fields auto-complete to the full path when focus leaves the field — paste http://host:port or http://host:port/v1 and the tool fills in the rest. This catches the most common "incomplete URL → connection failure" mistake.

Qwen-MT Essentials

Qwen-MT is a machine translation service (not a general LLM). It has no system-prompt concept and works purely with source/target language codes — so the Prompt settings don't apply.

Picking a Model

You'll need to fill in the Model field manually:

ModelCharacteristicsBest for
qwen-mt-plusHighest quality, slower, premium pricingLiterature, legal, medical translation
qwen-mt-turboBalanced speed and qualityGeneral documents, batch jobs
qwen-mt-flashFastest and cheapest (default)Subtitles, UI strings, large short-text volumes

Domain Hint

The domains field tells the model what industry the text is from, so terminology lands closer to the field. Important: write a short English description, not a keyword list. Alibaba's official example:

The sentence is from Ali Cloud IT domain. It mainly involves computer-related
software development and usage methods, including many terms related to computer
software and hardware. Pay attention to professional troubleshooting terminologies
and sentence patterns when translating. Translate into this IT domain style.

Leave empty if you don't need it.

Unsupported Languages

Qwen-MT covers ~92 languages; a number of low-resource ones aren't covered and the UI auto-blocks them with a clear message (the in-app blocklist is authoritative): e.g. Kyrgyz (ky), Turkmen (tk), Tajik (tg), Mongolian (mn), Malayalam (ml), Uyghur (ug), Amharic (am), and dozens more.

Built-in API Proxy

DeepL, Nvidia NIM, and similar providers can't be called from the browser due to CORS. The tool routes those through a built-in proxy by default. If you specify a custom API URL in settings, the proxy is bypassed and requests go directly to your URL.

Local Model Setup

Want to run models locally for privacy? The tool works with any OpenAI-compatible local server. For decent translation quality, use qwen3-14b or larger (32B / 70B works even better).

Default Endpoints

ToolDefault endpoint
LM Studiohttp://127.0.0.1:1234/v1/chat/completions
Ollamahttp://127.0.0.1:11434/v1/chat/completions
llama.cpphttp://127.0.0.1:8080/v1/chat/completions

These appear as quick-pick chips next to the URL field.

TranslateGemma

Google's translation-specialized Gemma model, trained specifically for translation quality. Quick notes:

  • Pick "TranslateGemma" directly from the service list — don't go through "Custom (OpenAI-compatible)" with translategemma-4b-it as the model name. The two take entirely different code paths: the dedicated TranslateGemma service makes line-by-line calls tailored to the Gemma translation model's I/O format, while Custom uses the generic LLM pipeline with batching and context markers — which causes dropped lines and slower runs on small (under 14B) models.
  • The default URL points to LM Studio on port 1234; one click switches to Ollama / llama.cpp
  • Recommended models: translategemma-4b-it (compact and fast), translategemma-12b-it (better quality), or translategemma-27b-it (best quality)
  • Source language must be explicit — auto-detect isn't supported
  • Limited language coverage: only ~55 mainstream languages (Google's WMT24++ benchmark scope). About 68 low-resource languages — including Cantonese (yue), Bhojpuri (bho), Wolof (wo), Aragonese (an), Guarani (gn), Kurdish (ckb/kmr) — are blocked by the UI. Use DeepL / Google / Azure / Qwen-MT for broader coverage

Solving CORS Issues

If a local model can't be reached, the two usual culprits:

Step 1: Disable ad/privacy extensions, then refresh and retry.

Step 2: Enable CORS on the local server.

Ollama

Run this once in PowerShell (Win + X to open Terminal) to enable it permanently:

[System.Environment]::SetEnvironmentVariable('OLLAMA_ORIGINS', '*', 'User')

* allows all origins. For tighter security, use a specific domain like http://192.168.2.20:3000.

Restart the Ollama service for the change to take effect. To enable temporarily, set the variable when starting:

OLLAMA_ORIGINS="*" ollama serve

LM Studio

  1. Open the "Developer" icon in the left menu
  2. Go to the local server settings page, click "Settings" at the top
  3. Check the "Enable CORS" box

LM Studio CORS settings screenshot

That's it — local models should work now. If you're still stuck, check for port conflicts and look at the browser console for the actual error. (Special thanks to mrfragger for the configuration tips.)

Language Support

This tool supports translation between 120+ major languages, organized by region.

Language Code Reference

Use the language codes below for batch multi-language configuration (e.g., en, zh, ja, ko):

Common

CodeNativeEnglish中文
enEnglishEnglish英语
zh简体Simplified Chinese中文
zh-hant繁體Traditional Chinese繁体中文
esEspañolSpanish西班牙语
frFrançaisFrench法语
deDeutschGerman德语
ja日本語Japanese日语
ko한국어Korean韩语
hiहिन्दीHindi印地语
arالعربيةArabic阿拉伯语
ruРусскийRussian俄语
pt-brPortuguês (Brasil)Portuguese (Brazil)葡萄牙语(巴西)
idBahasa IndonesiaIndonesian印尼语
viTiếng ViệtVietnamese越南语
itItalianoItalian意大利语
yue粵語Cantonese粤语

Europe

CodeNativeEnglish中文
plPolskiPolish波兰语
ukУкраїнськаUkrainian乌克兰语
nlNederlandsDutch荷兰语
roRomânăRomanian罗马尼亚语
elΕλληνικάGreek希腊语
huMagyarHungarian匈牙利语
svSvenskaSwedish瑞典语
csČeštinaCzech捷克语
pt-ptPortuguês (Portugal)Portuguese (Portugal)葡萄牙语(葡萄牙)
caCatalàCatalan加泰罗尼亚语
srСрпскиSerbian塞尔维亚语
bgБългарскиBulgarian保加利亚语
hyՀայերենArmenian亚美尼亚语
daDanskDanish丹麦语
sqShqipAlbanian阿尔巴尼亚语
fiSuomiFinnish芬兰语
nbNorsk bokmålNorwegian Bokmål挪威语
skSlovenčinaSlovak斯洛伐克语
hrHrvatskiCroatian克罗地亚语
beБеларускаяBelarusian白俄罗斯语
scnSicilianuSicilian西西里语
kaქართულიGeorgian格鲁吉亚语
lmoLombardLombard伦巴第语
ltLietuviųLithuanian立陶宛语
glGalegoGalician加利西亚语
bsBosanskiBosnian波斯尼亚语
slSlovenščinaSlovenian斯洛文尼亚语
mkМакедонскиMacedonian马其顿语
lvLatviešuLatvian拉脱维亚语
etEestiEstonian爱沙尼亚语
isÍslenskaIcelandic冰岛语
mtMaltiMaltese马耳他语
cyCymraegWelsh威尔士语
gaGaeilgeIrish爱尔兰语
brBrezhonegBreton布列塔尼语
euEuskaraBasque巴斯克语
yiייִדישYiddish意第绪语
lbLëtzebuergeschLuxembourgish卢森堡语
ocOccitanOccitan奥克语
anAragonésAragonese阿拉贡语
laLatinaLatin拉丁语
eoEsperantoEsperanto世界语

Middle East

CodeNativeEnglish中文
trTürkçeTurkish土耳其语
heעבריתHebrew希伯来语
faفارسیPersian波斯语
urاردوUrdu乌尔都语
psپښتوPashto普什图语
prsدریDari达里语
ckbکوردیCentral Kurdish中库尔德语
kmrKurdîNorthern Kurdish北库尔德语

Central Asia

CodeNativeEnglish中文
uzOʻzbekchaUzbek乌兹别克语
kkҚазақ тіліKazakh哈萨克语
kyКыргызчаKyrgyz吉尔吉斯语
tkTürkmençeTurkmen土库曼语
azAzərbaycanAzerbaijani阿塞拜疆语
tgТоҷикӣTajik塔吉克语
mnМонголMongolian蒙古语
baБашҡортсаBashkir巴什基尔语
ttТатар телеTatar鞑靼语
ugئۇيغۇرچەUyghur维吾尔语

South Asia

CodeNativeEnglish中文
bnবাংলাBengali孟加拉语
mrमराठीMarathi马拉地语
teతెలుగుTelugu泰卢固语
taதமிழ்Tamil泰米尔语
guગુજરાતીGujarati古吉拉特语
knಕನ್ನಡKannada卡纳达语
paਪੰਜਾਬੀPunjabi旁遮普语
mlമലയാളംMalayalam马拉雅拉姆语
bhoभोजपुरीBhojpuri博杰普尔语
maiमैथिलीMaithili迈蒂利语
neनेपालीNepali尼泊尔语
siසිංහලSinhala僧伽罗语
asঅসমীয়াAssamese阿萨姆语
gomकोंकणीKonkani孔卡尼语
saसंस्कृतम्Sanskrit梵语

Southeast Asia

CodeNativeEnglish中文
thไทยThai泰语
loລາວLao老挝语
myမြန်မာBurmese缅甸语
msBahasa MelayuMalay马来语
filTagalogFilipino(Tagalog)菲律宾语(塔加拉语)
jvBasa JawaJavanese爪哇语
suBasa SundaSundanese巽他语
aceAcèhAcehnese亚齐语
pagSalitan PangasinanPangasinan邦阿西楠语
pamKapampanganPampangan邦板牙语
cebCebuanoCebuano宿务语

Africa

CodeNativeEnglish中文
swKiswahiliSwahili斯瓦希里语
haهَرْشٜىٰن هَوْسَاHausa豪萨语
amአማርኛAmharic阿姆哈拉语
igIgboIgbo伊博语
woWolofWolof沃洛夫语
xhisiXhosaXhosa科萨语
zuisiZuluZulu祖鲁语
afAfrikaansAfrikaans南非荷兰语
omAfaan OromooOromo奥罗莫语
stSesothoSouthern Sotho南索托语
tnSetswanaTswana茨瓦纳语
tsXitsongaTsonga聪加语
mgMalagasyMalagasy马拉加西语
lnLingálaLingala林加拉语

Americas & Oceania

CodeNativeEnglish中文
htKreyòl ayisyenHaitian Creole海地克里奥尔语
quRuna SimiQuechua克丘亚语
ayAymar aruAymara艾马拉语
gnAvañe'ẽGuarani瓜拉尼语
miMāoriMaori毛利语

API Support Documentation

LLMs support all languages. Machine translation API language support: