Why Chinese LLMs Became the Default for Translation Work
Translation was one of the first jobs teams handed to LLMs, and it remains one of the few where output is genuinely production-grade — provided the pipeline around the model is right. Chinese-trained models such as DeepSeek, Qwen and GLM have moved from "interesting" to "default" for a lot of localization teams, most visibly on EN↔ZH, JA and KO pairs, but also on European pairs where differences between vendors are small enough to be noise.
The useful question is no longer "which model translates best". It is "which model should handle which stage, and what does the cheaper one actually buy me in post-edit time?" This post answers that with code you can run today.
Quality Is Not One Number: What to Compare
Public leaderboards score sentence-level adequacy on curated text. Your product ships string tables, legal footnotes, and strings like Cart (3 items) — {total}. A model can win a benchmark and still lose on your content by drifting on terminology. Compare on these dimensions instead:
Locked-term adherence. Run the same 50-segment glossary-heavy set through each model and count how often an approved term comes back translated, re-inflected or dropped. This correlates with post-edit cost more than raw fluency does.
Register control. Vous/tu, du/Sie, 您/你, honorifics in JA/KO. Flash-tier models follow an explicit instruction well, but they will not infer formality from a style guide you never pasted in.
Locale, not just language. zh-Hans versus zh-Hant, en-GB versus en-US, punctuation conventions (、。「」 versus ,。""), date and unit formats. "Chinese" is not a target locale.
Markup and placeholder integrity.
{name},%s,<b>, URLs, ICU plurals. A dropped token is a production incident, not a translation critique.Long-document coherence versus cost. Large context lets you send a whole file in one call, but coherence per token usually improves more from a shared glossary and consistent segmentation than from dumping everything into a single request.
Code-mixed strings. Brand names stay brand names: "Stripe" is left alone, but "the Stripe dashboard" is not.
In production, most "model quality" complaints are glossary, prompting, or QA failures wearing a model's name.
A Glossary-Locked Pipeline You Can Run Today
Here is the smallest pipeline that solves the highest-value problem: protecting what must never be touched. Glossary terms get swapped for lock tokens and restored with your approved translation; URLs, inline code and {variables} are masked the same way, so they cannot be "translated" accidentally.
import re
from openai import OpenAI
client = OpenAI(
api_key="YOUR_AICREDITS_KEY",
base_url="https://api.aicreditsapi.com/v1",
)
GLOSSARY = {"checkout": "结算", "cart": "购物车", "webhook": "Webhook"}
SYSTEM = (
"You are a professional translator. Translate the user's text into {target}. "
"The text contains lock tokens like ⟦3⟧. Keep every lock token exactly as written, "
"in its original position: do not translate, merge, drop or renumber them. "
"Return only the translation, with no notes or preamble."
)
def protect(text, glossary):
"""Swap untouchable strings for lock tokens and remember what to restore."""
mapping = {}
def stash(replacement):
token = f"⟦{len(mapping)}⟧"
mapping[token] = replacement
return token
text = re.sub(r"https?://\S+|`[^`]+`|\{[A-Za-z0-9_]+\}", lambda m: stash(m.group(0)), text)
for src, tgt in sorted(glossary.items(), key=lambda kv: -len(kv[0])):
text = re.sub(re.escape(src), lambda m: stash(tgt), text, flags=re.IGNORECASE)
return text, mapping
def translate(text, target_lang, glossary=None, model="deepseek-v4-flash"):
protected, mapping = protect(text, glossary or {})
resp = client.chat.completions.create(
model=model,
temperature=0.2,
messages=[
{"role": "system", "content": SYSTEM.format(target=target_lang)},
{"role": "user", "content": protected},
],
)
out = resp.choices[0].message.content.strip()
for token, replacement in mapping.items():
out = out.replace(token, replacement)
return out
print(translate("Add the item to your cart, then open checkout at {url}.", "Simplified Chinese", GLOSSARY))
Two engineering notes. First, keep the system prompt and glossary at the front and the segment last: DeepSeek caches repeated prompt prefixes, so a stable prefix makes every subsequent call in a batch cheaper. Second, the script is endpoint-agnostic — it runs against AiCredits, which sells DeepSeek credits to developers who would rather pay by international card or PayPal than set up a Chinese phone number and bank account. Current rates live at aicreditsapi.com/pricing.
Also skip the API entirely for repeats: exact translation-memory matches should be filled locally, and fuzzy matches above your threshold should be pre-translated and reviewed rather than re-billed.
Cost: Compare Per Stage, Not Per Model
Per-token pricing makes translation look simple until the invoice arrives. The reason is directional asymmetry: output tokens are the expensive side of almost every price sheet, so ZH→EN (short Chinese source, long English output) usually bills higher than EN→ZH at the same content volume — and most tokenizers pack more meaning per token into Chinese. Measure the direction split on your own corpus instead of assuming it.
Three levers move the number more than vendor choice: a translation memory so duplicate segments never hit the API twice, a stable prompt prefix to earn cache hits, and routing — flash for volume, pro only where a human will read the line closely. Off-peak inference also costs less than peak, so schedule bulk re-translation runs accordingly.
| Stage | Default model | Why |
|---|---|---|
| Terminology mining from existing TMs | deepseek-v4-flash | High volume, low risk; bad candidates die downstream |
| First-pass translation | deepseek-v4-flash | Most of your tokens live here — cheapest acceptable draft wins |
| Retry after a broken lock token | deepseek-v4-pro | Rare and targeted, so the higher rate barely moves the bill |
| Register-sensitive copy (legal, headlines) | deepseek-v4-pro | Fewer post-edit cycles on strings humans read closely |
| QA sampling and back-translation | deepseek-v4-flash | A cheap second opinion on a sample, not the whole corpus |
Escalate to deepseek-v4-pro Only When It Earns It
The tempting shortcut is running the pro model everywhere for safety. That is real money for a marginal gain on the large majority of segments. The better pattern is flash-first with a deterministic gate, escalating only when the draft fails a mechanical check. A lost lock token is exactly such a check: objective, cheap to compute, and strongly correlated with real breakage in the UI.
def _raw_call(text, target_lang, model):
resp = client.chat.completions.create(
model=model,
temperature=0.2,
messages=[
{"role": "system", "content": SYSTEM.format(target=target_lang)},
{"role": "user", "content": text},
],
)
return resp.choices[0].message.content.strip()
def translate_checked(text, target_lang, glossary):
protected, mapping = protect(text, glossary)
draft = _raw_call(protected, target_lang, "deepseek-v4-flash")
if any(t not in draft for t in mapping):
# flash broke a lock token: one retry on the stronger model, not a full re-run
draft = _raw_call(protected, target_lang, "deepseek-v4-pro")
lost = [t for t in mapping if t not in draft]
if lost:
return None # quarantine for a human; never ship a silently broken string
for token, replacement in mapping.items():
draft = draft.replace(token, replacement)
return draft
Guardrails and a Real Evaluation Loop
Model choice is only half the quality story. These checks catch the failures that look fine to a human skimming a diff:
Length ratio. If output length versus source length falls outside the band you measured for that pair, the model summarized rather than translated.
Structure. Same line count, same list markers, same tag count as the source string.
Back-translation sampling. Re-translate a small share of output back into the source language with flash and diff it against the original — this catches omissions that fluency review misses.
Revenue-weighted human review. Spend reviewer minutes on checkout and onboarding strings, not on tooltips.
Finally, measure yourself. No public leaderboard will tell you which model reduces your post-edit keystrokes. Hold out a stratified sample of a few hundred segments with human-approved references and compare edit distance — the metric that maps directly to reviewer hours.
import json
from difflib import SequenceMatcher
sample = [json.loads(line) for line in open("eval_set.jsonl", encoding="utf-8")] # {"src": ..., "ref": ...}
def edit_rate(mt, reference):
"""Lower is better: 0.0 means the human changed nothing."""
return 1.0 - SequenceMatcher(None, mt, reference).ratio()
for model in ("deepseek-v4-flash", "deepseek-v4-pro"):
total = sum(
edit_rate(translate(seg["src"], "German", GLOSSARY, model=model), seg["ref"])
for seg in sample
)
print(model, round(total / len(sample), 3))
Ship the Pipeline, Not the Model
Pipeline shape matters more than vendor choice. Start with deepseek-v4-flash everywhere, a locked glossary, deterministic gates, and a translation memory in front of the API. Then add deepseek-v4-pro exactly where your own edit-distance data says it earns the extra spend — usually regulatory copy and hero messaging, rarely tooltip strings.
Model quality becomes a variable you tune per stage rather than a decision you defend once. That is also the cheapest way to compare: the same harness that proves flash is enough for your bulk text will tell you when it is not.
FAQ
There is no universal winner — differences between DeepSeek, Qwen and GLM on European pairs are small next to differences in glossary handling. Build a stratified eval set from your own approved translations and compare edit distance per stage. deepseek-v4-flash is a strong default for volume; deepseek-v4-pro pays off on register-sensitive copy.
Yes, but specify the locale explicitly in the system prompt and pin terminology yourself. Simplified and Traditional differ in vocabulary and punctuation conventions, and a model will default to whichever dominates its training mix unless you say otherwise.
Not if you route through AiCredits. It provides an OpenAI-compatible endpoint at https://api.aicreditsapi.com/v1 with the same model names, billed to an international card or PayPal. See aicreditsapi.com/pricing for current terms.
Segments plus a shared glossary usually win: you get cache-friendly prompts, translation-memory reuse, and per-segment QA. Whole-document calls help only where cross-sentence context genuinely changes meaning, such as legal prose or dialogue.