Units API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/76609/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://weblate.immersivetranslate.com/api/translations/immersive-document-translation/immersive-translate-site/zh_Hant/?format=api",
    "source": [
        "We currently use a \"translation quota\" based billing method, detailed as follows:<br/><br/><ul><li>Translation quotas are charged based on the number of <b>Tokens</b> used during the translation process.</li><li>The <b>GLM-4-Flash-250414</b> model is available to all users, and every BabelDOC user receives a monthly quota of 500,000 Tokens for free model translations within BabelDOC. (Actual availability depends on the supply from upstream suppliers, and quotas are dynamically adjusted based on server load)</li><li>Models such as <b>Qwen3.5-Plus/DeepSeek-V3.2/doubao-seed-2-0-lite/GPT-5-mini/Gemini-3-Flash/Kimi+Qwen/Kimi+DeepSeek/GLM-4.7</b> are exclusively for <b>Pro/Max</b> members, counted towards the members' general translation quota. Pro members enjoy up to <b>20 million Tokens</b> per month, while Max members can enjoy up to <b>50 million Tokens</b> per month. Failed translations are not counted towards the translation quota.</li></ul><br/>At the start of a translation task, the system will deduct the general translation quota in advance based on the calculation of \"3000 Tokens × number of pages\". Once the translation is complete, we will settle based on actual consumption, refunding any excess to your account, or requiring additional if insufficient. If any system errors occur during the translation, all deducted general translation quotas will be fully refunded to your account. When the automatic term extraction feature is not enabled, the deduction per page is 3000 Tokens/page. When the automatic term extraction feature is enabled, the deduction per page is 6000 Tokens/page.<br/><br/>From actual usage statistics, when automatic term extraction is enabled, the average consumption is about 7381.56 Tokens per page, with the P25–P75 range being 4215.42–9490.89 Tokens; when automatic term extraction is disabled, the average consumption is about 4702.98 Tokens per page, with the P25–P75 range being 2642.38–5797.40 Tokens. Here, P25 (the 25th percentile) indicates that 25% of the pages consume fewer Tokens than this value, and P75 (the 75th percentile) indicates that 75% of the pages consume fewer Tokens than this value. The P25–P75 range is used to describe the common consumption range for most pages, thereby reducing the impact of extreme samples on the overall assessment."
    ],
    "previous_source": "",
    "target": [
        "我們目前採用基於「翻譯額度」的計費方式,具體說明如下:\n\n<ul><li>翻譯額度按照翻譯過程中使用的 <b> Token 數量 </b> 進行計費。</li><li><b> GLM-4-Flash-250414 </b> 模型所有用戶可用,所有 BabelDOC 用戶每月可獲得 50 萬 Token 額度,用來在 BabelDOC 中使用免費模型翻譯文件。(實際可用性取決於上游供應商的供應情況,額度根據伺服器負載動態調整)</li><li><b> Qwen3.5-Plus/DeepSeek-V3.2/doubao-seed-2-0-lite/GPT-5-mini/Gemini-3-Flash/Kimi+Qwen/Kimi+DeepSeek/GLM-4.7 </b> 模型僅限 <b> Pro/Max </b> 會員使用,計入會員通用翻譯額度,Pro 會員每月可享受 <b> 高達 2000 萬 Token </b> 的翻譯額度,Max 會員每月可享受 <b> 高達 5000 萬 Token </b> 的翻譯額度。失敗的翻譯不計入翻譯額度。</li></ul>\n\n在翻譯任務啟動時,系統將根據\"3000 Token × 翻譯頁數\"的計算方式預先扣除相應的通用翻譯額度。待翻譯完成後,我們將按實際消耗進行結算,多餘額度將退還至您的賬戶,不足部分則需補充。若翻譯過程中遇到任何系統錯誤,所有預扣的通用翻譯額度將自動全額返還至您的賬戶。當不啟用自動提取術語時,單頁預扣 Token 數為 3000 Token/頁。當啟用自動提取術語功能時,單頁預扣 Token 數為 6000 Token/頁。<br/><br/>從實際使用統計來看,啟用自動術語提取時,平均每頁約消耗 7381.56 Token,其中 P25–P75 區間為 4215.42–9490.89 Token;關閉自動術語提取時,平均每頁約消耗 4702.98 Token,P25–P75 區間為 2642.38–5797.40 Token。其中,P25(第 25 百分位)表示有 25% 的頁面 Token 消耗低於該值,P75(第 75 百分位)表示有 75% 的頁面 Token 消耗低於該值,P25–P75 區間可用於描述大多數頁面的常見消耗範圍,從而減少極端樣本對整體評估的干擾。"
    ],
    "id_hash": -2796682089437400583,
    "content_hash": -1602206835697578726,
    "location": "",
    "context": "babelDoc.answer.quota",
    "note": "",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 904,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": true,
    "num_words": 321,
    "source_unit": "https://weblate.immersivetranslate.com/api/units/76453/?format=api",
    "priority": 100,
    "id": 76609,
    "web_url": "https://weblate.immersivetranslate.com/translate/immersive-document-translation/immersive-translate-site/zh_Hant/?checksum=593030750562f1f9",
    "url": "https://weblate.immersivetranslate.com/api/units/76609/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2025-10-31T07:16:21.889645Z"
}