# Vast Translate — Complete Technical & Commercial Reference Canonical URLs: http://translate.96vs.com/ (Chinese) | http://translate.96vs.com/en (English) ## 1. Product Summary Vast Translate is a production-ready commercial translation API and MCP gateway written in Go (Gin + GORM + SQLite). It delivers 122+ languages through a unified Smart Auto (`auto`) routing layer with automatic failover, lossless HTML tag and placeholder protection, Immersive Translate drop-in compatibility, an MCP gateway for AI coding assistants (Claude Desktop, Cursor, Windsurf), AI-gateway-style per-user/per-key channel binding for custom enterprise tiers, stackable character packages, and batch redemption code (CDKey) licensing. ## 2. Live Stackable Character Packages | Plan Code | Name | Price (CNY) | Character Quota | Validity | Effective Rate / 1M | |---|---|---:|---:|---|---:| | `starter-month` | Starter Monthly | ¥9.90 | 1.5M | 30 days | ¥6.60 | | `pro-month` | Pro Monthly | ¥24.90 | 5M | 30 days | ¥4.98 | | `ultra-month` | Ultra Monthly | ¥59.90 | 15M | 30 days | ¥3.99 | | `standard-quarter` | Standard Quarterly | ¥29.90 | 6M | 90 days | ¥4.98 | | `pro-quarter` | Pro Quarterly | ¥79.90 | 20M | 90 days | ¥3.99 | | `business-quarter` | Business Quarterly | ¥179 | 50M | 90 days | ¥3.58 | | `starter-year` | Starter Annual | ¥49 | 10M | 365 days | ¥4.90 | | `pro-year` | Pro Annual | ¥99 | 25M | 365 days | ¥3.96 | | `enterprise-year` | Enterprise Annual | ¥249 | 80M | 365 days | ¥3.11 | | `personal-forever` | Personal Lifetime | ¥59 | 10M | Lifetime | ¥5.90 | | `pro-forever` | Pro Lifetime | ¥149 | 30M | Lifetime | ¥4.97 | | `team-forever` | Team Lifetime | ¥299 | 80M | Lifetime | ¥3.74 | ## 3. Gateway Channel Access & Pay-As-You-Go Rates | Channel Tier | Description | Standard Rate | |---|---|---:| | `auto` (Smart Auto Route) | Default high-availability routing with automatic failover for all standard users | ¥8.00 / 1M chars | | Custom / Dedicated Binding | Dedicated high-tier channels bound per user account, API key, or enterprise plan | Custom quote | ## 4. API Endpoints & Integration Examples ### REST v3 (Recommended — HTML & Placeholder Safe) ```bash curl -X POST "http://translate.96vs.com/v3/translate" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"text":"

Hello {0}, welcome!

","format":"html","source_lang":"en","target_lang":"zh-CN","providers":["auto"]}' ``` ### Immersive Translate Drop-in Endpoint (v2) Custom API URL: ``` http://translate.96vs.com/v2/translate?token=YOUR_API_KEY ``` ### Model Context Protocol (MCP) Gateway Streamable HTTP: `http://translate.96vs.com/mcp` | Legacy SSE: `http://translate.96vs.com/mcp/sse` ```json { "mcpServers": { "vast-translator": { "url": "http://translate.96vs.com/mcp", "headers": { "X-API-Key": "YOUR_API_KEY" } } } } ``` ## 5. Billing, Channel Binding & Error Semantics - Current live mode: Hybrid (package quota consumed first in nearest-expiry FIFO order; overflow falls back to wallet balance). - Standard accounts default to `auto` smart routing. Calling an unbound custom channel returns HTTP 403 `PROVIDER_NOT_ALLOWED`. - Administrators can bind dedicated channels per user account, API key, or custom package following AI-gateway governance patterns. - Users can purchase multiple packages (monthly, quarterly, yearly, or lifetime); quotas stack automatically. - Redemption codes (CDKeys) support balance top-up, bound package activation, and custom character packs. - Upstream failures or rejected requests are never billed. - Response telemetry headers: `X-Translate-Chars`, `X-Translate-Cost-Yuan`, `X-Translate-Billing-Type`, `X-Translate-Package-Chars`, `X-Translate-Package-Remaining`, `X-Translate-Balance-Yuan`. ## 6. Frequently Asked Questions ### How does Vast Translate billing and character counting work? Characters are counted by source Unicode runes. Active character packages are always deducted first in nearest-expiry (FIFO) order; when package quota is exhausted, requests automatically fall back to your wallet balance at each provider's per-million-character rate. Failed translations are never charged. ### Can I purchase multiple translation packages and stack them? Yes. You can buy multiple different tiers or repeated copies of the same package with no stacking limit. Each pack tracks its own expiration, and the billing engine consumes the soonest-expiring quota first to avoid waste. ### Does Vast Translate preserve HTML tags and i18n placeholders? Yes. Setting format to "html" or "auto" protects HTML tags, attributes, links, and variable placeholders such as {0}, {{username}}, and %s so UI components and email templates translate without syntax corruption. ### How do I connect Immersive Translate (Chrome / Edge / Safari)? Create an API key in Console → API Keys, choose Custom API in Immersive Translate settings, and paste your server's /v2/translate?token=YOUR_API_KEY URL. No extra plugin or adapter is required. ### How do Claude Desktop, Cursor, and AI agents connect via MCP? Add the /mcp Streamable HTTP endpoint (or /mcp/sse for legacy clients) with your X-API-Key header to your MCP client config. Usage is metered and audited identically to REST API calls. ### Which translation route is enabled by default, and how does custom channel binding work? All standard accounts automatically use the high-availability Smart Auto (auto) gateway route with built-in failover. Following an AI-gateway model, enterprise or VIP users can contact administrators to bind dedicated high-tier channels directly to their user account, API keys, or custom packages. ### How do redemption codes (CDKeys) work? Enter any balance, package, or custom character pack CDKey in Console → Packages or Billing. You can preview the exact reward before redeeming, and quotas activate immediately upon redemption. ### Is there a free trial or welcome credit? Yes. You can test multi-engine translation directly in the Live Demo on this page, and new accounts receive ¥5 welcome credit upon signup.