REST v1/v2/v3 · MCP Gateway · Smart Auto + Stackable Packages

One Unified Translation API & MCP Gateway

High-availability Smart Auto routing with instant failover, lossless HTML/placeholder protection, Immersive Translate v2 compatibility, stackable packages, and enterprise channel binding.

122+
Supported languages with auto-detect
Smart Auto
Default auto routing + custom channel binding
¥3.11 / 1M
Starting effective character rate
REST + MCP
REST v1/v2/v3 + AI MCP Gateway
Platform Overview

Built for Production Localization & AI Agents

Structured summary of gateway routing, safety guarantees, channel binding, and billing

Vast Translate is a commercial translation API and Model Context Protocol (MCP) gateway built in Go. Developers, localization teams, and AI agents connect once via the Smart Auto (`auto`) route for 122+ languages with automatic failover, lossless HTML/placeholder protection, Immersive Translate compatibility, and optional dedicated channel binding for enterprise accounts.

Protocols
REST v1 / v2 (Immersive Translate) / v3 + MCP (/mcp & /mcp/sse)
Language Coverage
122+ global languages with auto detection
Gateway Routing
Standard Smart Auto (auto) route by default; dedicated premium channels bound per account/key on demand
Content Safety
Lossless HTML tag preservation & variable placeholder lock ({0}, {{name}}, %s)
Billing Model
Package-first FIFO + PAYG wallet fallback; from ¥3.11 / 1M chars; 0 cost on errors
Key & Licensing
Scoped API keys, per-key channel binding & spend caps, stackable packs & batch CDKeys
Live Sandbox

Test Smart Auto Translation Instantly

No login required (up to 300 characters per request). Try HTML tags and {0} placeholders.

Smart Auto (auto)
0 / 300
Translated Output
Click "Translate Now" to see live translated output...
Core Capabilities

Everything Needed to Operate Commercial Translation

Engineered for high availability, clean developer ergonomics, and transparent monetization

Smart Auto Routing & Instant Failover

Unified high-availability routing (auto) handles load balancing, retries, and instant failover automatically so your services stay fast and resilient.

Lossless HTML & Placeholder Protection

Parses HTML DOM nodes and locks template placeholders ({0}, {{var}}, %s) before translation so web layouts, emails, and i18n bundles never break.

Stackable Packages & Live Billing Control

Buy and stack monthly, quarterly, annual, or lifetime character packs. Admins can toggle PAYG fallback on or off live without restart.

Immersive Translate Drop-in (/v2)

Paste a single token URL into Immersive Translate Custom API settings for instant bilingual web browsing and PDF translation.

Native MCP AI Gateway (/mcp)

Connect Claude Desktop, Cursor, Windsurf, or custom AI agents via Streamable HTTP or SSE with full per-key authentication and usage metering.

AI-Gateway Channel Binding & Enterprise Tiers

Bind dedicated high-tier channels per VIP account, API key, or enterprise plan, backed by batch CDKeys, spend caps, and per-request audit logs.

Transparent Pricing

Stackable Character Packages & Gateway Access

Live pricing synced directly from the billing engine — no hidden fees, zero cost on errors

Live Billing Policy: Hybrid Mode Active — Your active package quotas are deducted first (nearest-expiry FIFO), with automatic pay-as-you-go wallet fallback.
Packages & CDKeys →

Monthly Plans (30-Day Validity)

Flexible 30-day character packs for personal tools or monthly workloads.

Monthly · 30d Starter

Starter Monthly

¥9.90 / 30 days
1.5M chars ~¥6.60 / 1M chars

Ideal for Immersive Translate, personal tools & daily API testing

  • Smart Auto gateway (auto)
  • HTML tag & placeholder protection
  • Stackable across cycles (FIFO deduction)
  • Zero deduction on failed calls
Select Plan
Monthly · 30d High Vol

Ultra Monthly

¥59.90 / 30 days
15M chars ~¥3.99 / 1M chars

Built for high-volume e-commerce catalogs & team workloads

  • Smart Auto gateway (auto)
  • HTML tag & placeholder protection
  • Stackable across cycles (FIFO deduction)
  • Zero deduction on failed calls
Select Plan
Gateway Access Tiers & Pay-As-You-Go Reference (CNY per 1M Source Unicode Characters)
Route ID Gateway Tier Capabilities & Binding Policy Standard Rate
auto Standard Smart Auto Route Default high-availability gateway route with automatic load balancing and instant failover. Works with all monthly, quarterly, annual, and lifetime character packages. ¥8.00 / 1M chars
custom Dedicated / Enterprise Bound Channels AI-gateway-style channel binding for VIP or enterprise customers — bind dedicated premium routes directly to specific user accounts, API keys, or custom packages. Custom Binding
Developer Quickstart

Go Live in Under 60 Seconds

Compatible with standard HTTP clients, Immersive Translate, and MCP-enabled AI IDEs

  1. 1

    Create Account & Activate Quota

    Register in seconds, claim welcome credit, purchase a stackable character package, or redeem a CDKey in the console.

  2. 2

    Issue a Scoped API Key

    Generate a dedicated API key under Console → API Keys with REST/MCP permissions and optional spend limits.

  3. 3

    Call REST v3, Immersive v2, or MCP

    Send requests to /v3/translate, configure Immersive Translate with /v2/translate?token=..., or mount /mcp in your AI IDE.

curl -X POST "http://translate.96vs.com/v3/translate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "<p>Hello {0}, welcome to <strong>Vast Translate</strong>!</p>",
    "format": "html",
    "source_lang": "en",
    "target_lang": "zh-CN",
    "providers": ["auto"]
  }'
FAQ

Frequently Asked Questions

Clear answers on billing, package stacking, HTML preservation, and MCP integration

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.

Ready to Unify Your Translation Stack?

Sign up to generate API keys, stack character packages, redeem CDKeys, and track usage per request.