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.

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, MiniMax, Tencent Hunyuan, Baidu ERNIE, Cohere, xAI (Grok), Mistral, Perplexity, OpenRouter, Groq, SiliconFlow, 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: DeepSeek, Claude, and certain NVIDIA NIM models support a thinking-chain toggle plus a low / medium / high reasoning effort selector. Only shown when the current model actually supports it.

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

These languages are not yet covered by Qwen-MT — the UI will block them: Kyrgyz (ky), Turkmen (tk), Tajik (tg), Mongolian (mn), Malayalam (ml), Punjabi (pa), Bhojpuri (bho), Hausa (ha), Amharic (am), Uyghur (ug).

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:

  • 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) or translategemma-9b-it (better quality)
  • Source language must be explicit — auto-detect isn't supported
  • Cantonese (yue) and Bhojpuri (bho) aren't covered by the model

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 77 major languages.

Language Code Reference

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

CodeNativeEnglish中文
enEnglishEnglish英语
zh简体Simplified Chinese简体中文
zh-hant繁體Traditional Chinese繁体中文
esEspañolSpanish西班牙语
deDeutschGerman德语
pt-brPortuguês (Brasil)Portuguese (Brazil)葡萄牙语(巴西)
pt-ptPortuguês (Portugal)Portuguese (Portugal)葡萄牙语(葡萄牙)
frFrançaisFrench法语
ja日本語Japanese日语
ko한국어Korean韩语
ruРусскийRussian俄语
itItalianoItalian意大利语
arالعربيةArabic阿拉伯语
viTiếng ViệtVietnamese越南语
hiहिन्दीHindi印地语
idBahasa IndonesiaIndonesian印尼语
yue粵語Cantonese粤语
nlNederlandsDutch荷兰语
svSvenskaSwedish瑞典语
daDanskDanish丹麦语
nbNorsk bokmålNorwegian挪威语
isÍslenskaIcelandic冰岛语
afAfrikaansAfrikaans南非荷兰语
roRomânăRomanian罗马尼亚语
caCatalàCatalan加泰罗尼亚语
ukУкраїнськаUkrainian乌克兰语
plPolskiPolish波兰语
csČeštinaCzech捷克语
skSlovenčinaSlovak斯洛伐克语
bgБългарскиBulgarian保加利亚语
srСрпскиSerbian塞尔维亚语
hrHrvatskiCroatian克罗地亚语
bsBosanskiBosnian波斯尼亚语
slSlovenščinaSlovenian斯洛文尼亚语
mkМакедонскиMacedonian马其顿语
beБеларускаяBelarusian白俄罗斯语
elΕλληνικάGreek希腊语
huMagyarHungarian匈牙利语
fiSuomiFinnish芬兰语
ltLietuviųLithuanian立陶宛语
lvLatviešuLatvian拉脱维亚语
etEestiEstonian爱沙尼亚语
sqShqipAlbanian阿尔巴尼亚语
mtMaltiMaltese马耳他语
hyՀայերենArmenian亚美尼亚语
kaქართულიGeorgian格鲁吉亚语
trTürkçeTurkish土耳其语
heעבריתHebrew希伯来语
faفارسیPersian波斯语
urاردوUrdu乌尔都语
uzOʻzbekchaUzbek乌兹别克语
kkҚазақ тіліKazakh哈萨克语
kyКыргызчаKyrgyz吉尔吉斯语
tkTürkmençeTurkmen土库曼语
azAzərbaycanAzerbaijani阿塞拜疆语
tgТоҷикӣTajik塔吉克语
mnМонголMongolian蒙古语
bnবাংলাBengali孟加拉语
mrमराठीMarathi马拉地语
taதமிழ்Tamil泰米尔语
teతెలుగుTelugu泰卢固语
guગુજરાતીGujarati古吉拉特语
knಕನ್ನಡKannada卡纳达语
mlമലയാളംMalayalam马拉雅拉姆语
paਪੰਜਾਬੀPunjabi旁遮普语
neनेपालीNepali尼泊尔语
bhoभोजपुरीBhojpuri博杰普尔语
thไทยThai泰语
loລາວLao老挝语
myမြန်မာBurmese缅甸语
msBahasa MelayuMalay马来语
filFilipinoFilipino(Tagalog)菲律宾语
jvBasa JawaJavanese爪哇语
swKiswahiliSwahili斯瓦希里语
haهَرْشٜىٰن هَوْسَاHausa豪萨语
amአማርኛAmharic阿姆哈拉语
ugئۇيغۇرچەUyghur维吾尔语

API Documentation

LLMs support all languages. Machine translation API language support: