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

Grok Build · LLMReleased 2026-07-06

How to Use Hy3 in Grok Build

Hy3 handles coding, long-document analysis, and tool-driven tasks. Compared with Hy3 Preview, Tencent reports more reliable tool calls and output formats, plus fewer factual errors.

Prompts to try with Hy3 in Grok Build

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

Use Hy3 with high reasoning to investigate the failing tests in this project. Trace the cause, make a focused fix, and run the relevant regression checks.

Hy3Grok Build
Try asking
  • Use Hy3 with high reasoning to review the database migration in this branch. Identify data-loss risks, ordering problems, and assumptions that need verification.

  • Use Hy3 to implement the interface described in the project brief. Check keyboard behavior, validation, and the stated acceptance criteria.

  • Ask Hy3 through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.

  • Get a second opinion from Hy3 on this function, then tell me what the call cost.

How to set up Hy3 in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 Hy3

    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/hy3",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Grok Build finds Hy3 on Spiral, shows the price and runs it.

Hy3 providers and prices

Spiral runs Hy3 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Tencent: Hy3
tencent/hy3

Settings you can ask for

Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Max tokens1 to 128000

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Reasoning effortnone, low, or highhigh

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Tencent: Hy3 is on its tool page: open its card above.

What can you do with Hy3 in Grok Build?

Turn project code, logs, and requirements into repairs and implementation plans with Hy3 or Hy3 Preview. Give the agent a concrete acceptance check and request deeper reasoning for difficult debugging.

Debug a software failure

Use Hy3 or Hy3 Preview to connect an error log with relevant code, propose a focused repair, and identify a regression check.

Compare lengthy specifications

Ask Hy3 or Hy3 Preview to identify changed requirements, conflicting clauses, and missing decisions, with references to the supplied sections.

Prepare a research brief

Have Hy3 or Hy3 Preview combine retrieved sources into a brief that separates supported conclusions, disagreements, and open questions.

Explain changes in business data

Give Hy3 or Hy3 Preview tabular text and metric definitions. Request a comparison, supporting calculations, and a list of explanations that need more evidence.

Extract decisions from meeting notes

Ask Hy3 or Hy3 Preview to turn lengthy notes into decisions, assigned actions, deadlines, and unresolved questions without inventing missing details.

Work through a technical problem

Use Hy3 or Hy3 Preview with deeper reasoning to analyze a math or engineering problem, state assumptions, and check the proposed result.

Build a front-end prototype

Use Hy3 to turn written requirements into interface code, then check the result against the requested behavior and constraints.

Questions about Hy3 in Grok Build

Can Grok Build use Hy3?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Hy3 like any built-in tool.

How much does Hy3 cost in Grok Build?

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

Do I need an OpenRouter account to use Hy3 in Grok Build?

No. Spiral runs Hy3 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Hy3 in Grok Build?

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

Does Grok Build wait while Hy3 runs?

Hy3 runs in the background. Grok Build starts the run, checks on it and gives you the text, json when it's ready.

What is Tencent Hy3 useful for?

Hy3 and Hy3 Preview suit coding, reasoning, document analysis, and tasks that combine retrieved information with tool results. Practical requests include debugging a failure, comparing lengthy specifications, and turning research into a brief.

How much context can Tencent Hy3 handle?

Tencent documents a 256K-token context window for both Hy3 and Hy3 Preview. For document comparisons, ask for section references and keep the requested answer focused.

When should I use deeper reasoning?

Use high reasoning for difficult coding, math, or analysis. Direct responses suit straightforward requests such as extracting a short list or rewriting a paragraph.

How does Hy3 differ from Hy3 Preview?

Hy3 builds on Hy3 Preview with improvements to tool calls, output formats, factual accuracy, and conversation tracking. Tencent reports these improvements from product feedback and internal evaluations.

Can I trust every factual answer?

Check factual claims against the underlying sources. Tencent still measured hallucinations in Hy3's internal evaluations; a useful prompt asks for supporting passages and an explicit statement when evidence is missing.

Get started

Start using Hy3 in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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