Spiral gives your agent every tool with one account. Browse the tools →

Amp · LLMReleased 2026-08-19

How to Use Hy-MT2-7B in Amp

Hy-MT2-7B translates text with glossary, tone, and formatting instructions. Its 7-billion-parameter size sits between Hy-MT2-1.8B and Hy-MT2-30B-A3B.

Prompts to try with Hy-MT2-7B in Amp

Copy an example into Amp, or ask in your own words.

Use Hy-MT2-7B to translate the visible values in locales/en.json into French. Preserve keys and placeholders exactly, use espace de travail for workspace, and validate that the translated JSON parses.

Hy-MT2-7BAmp
Try asking
  • Use Hy-MT2-7B to translate docs/getting-started.md into Japanese, one section at a time. Preserve code blocks, links, and command names. Return only the translated document text for each section.

  • Use Hy-MT2-7B to translate the latest release notes into German. Keep version numbers and feature names unchanged, preserve bullets, and use a direct professional tone. Show the resulting diff.

  • Use Hy-MT2-7B to translate visible text in the project's help-page HTML into Spanish. Preserve tags and attributes exactly, then check that the markup structure matches the source.

  • Use Hy-MT2-7B to translate the English onboarding strings into Portuguese using the project's glossary. Process short batches, preserve interpolation tokens, and compare source and output keys before saving.

How to set up Hy-MT2-7B in Amp

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    No header and no client ID or secret: Amp registers itself with Spiral.

    amp mcp add spiral https://api.spiral.ai/mcp
  2. Sign in

    Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

  3. Check it
    amp mcp doctor

Use the Spiral skill

  1. Send Amp this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Hy-MT2-7B

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "tencent/hy-mt2-7b",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Amp finds Hy-MT2-7B on Spiral, shows the price and runs it.

Hy-MT2-7B providers and prices

Spiral runs Hy-MT2-7B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Tencent: Hy-MT2-7B
tencent/hy-mt2-7b

Settings you can ask for

Ask Amp for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Max tokens1 to 4096

The most output tokens to generate.

Temperature0 to 2

Every API field of Tencent: Hy-MT2-7B is on its tool page: open its card above.

What can you do with Hy-MT2-7B in Amp?

Translate application strings and documentation while keeping code identifiers and placeholders intact. Have the coding agent select text from the project, supply glossary instructions, and validate the translated files.

Application text localization

Translate visible strings in JSON or other structured text. Specify which keys, placeholders, and tags must stay unchanged, then validate the result.

Product descriptions

Translate descriptions with approved product terminology and a consistent tone. Supply exact translations for recurring feature names.

Customer support replies

Translate a drafted reply into the customer's language. Include brief issue context and request a polite, direct tone.

Help center articles

Translate articles section by section with a shared glossary. Explicitly preserve headings, links, and product names.

Release notes

Translate update announcements while retaining version numbers, feature names, and list structure. Specify the tone used in previous announcements.

Webpage text translation

Translate visible text in supplied HTML while asking to preserve tags and attributes. Check the markup before using the output.

Internal communications

Translate meeting notes or team announcements with context for company terminology. Request the same headings and bullet structure.

Questions about Hy-MT2-7B in Amp

Can Amp use Hy-MT2-7B?

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run Hy-MT2-7B like any built-in tool.

How much does Hy-MT2-7B cost in Amp?

Up to $0.001575 per run at the default inputs. $0.0962 per 1M input tokens, $0.3835 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Amp plan is separate.

Do I need an OpenRouter account to use Hy-MT2-7B in Amp?

No. Spiral runs Hy-MT2-7B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Hy-MT2-7B in Amp?

About two minutes: add the server, then sign in, then check it.

Does Amp wait while Hy-MT2-7B runs?

Hy-MT2-7B runs in the background. Amp starts the run, checks on it and gives you the text, json when it's ready.

What is Hy-MT2 best used for?

Use Hy-MT2 for translation that needs specific terminology, a requested tone, or preserved structure. Examples include product copy, support replies, and application text.

Which languages does Hy-MT2 support?

Tencent describes translation among 33 languages. Its published language list includes English, Chinese, Spanish, French, Portuguese, Japanese, German, Arabic, Korean, and Hindi.

How should I write a translation prompt?

Write the target language in full, provide the source text, and ask for only the translation. Add exact glossary translations, the desired tone, and brief background when those details matter.

Can Hy-MT2 translate text inside structured data?

Tencent provides instructions for translating visible text while preserving structure, keys, tags, and variable placeholders. Ask for those constraints explicitly, then validate the returned structure.

How should I handle long documents?

Tencent's inference guide specifies an 8,192-token context and recommends a 4,096-token output budget. Translate sections separately, leaving room for the output and repeating the glossary where needed.

Get started

Start using Hy-MT2-7B in Amp

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Amp:

Set up Amp

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options