[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Hy3](https://spiral.ai/integrations/grok/hy3)

# How to Use Hy3 in Grok

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.

|  |  |
| --- | --- |
| Model | Hy3 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.002819 per run at the default inputs. $0.1716 per 1M input tokens, $0.6864 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hy3 in Grok

- Use Hy3 to compare the two specifications pasted in this conversation. List changed requirements, cite section names, and finish with the three decisions we need to make.
- Use Hy3 to turn the meeting notes above into decisions, owners, deadlines, and open questions. Mark anything the notes do not specify.
- Use Hy3 with deeper reasoning to compare the two proposals above against our stated requirements. Recommend one and identify the evidence that could change your recommendation.
- Ask Hy3 through Spiral to review the diff on this branch and list the three riskiest changes.
- Get a second opinion from Hy3 on this function, then tell me what the call cost.

## How to set up Hy3 in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

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

```bash
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.

```bash
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 finds Hy3 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Hy3 tools and prices

- [Tencent: Hy3](https://spiral.ai/tools/openrouter/tencent/hy3) (OpenRouter): Up to $0.002819 per run at the default inputs. $0.1716 per 1M input tokens, $0.6864 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with Hy3 in Grok?

Turn long discussions and supplied source text into comparisons, decisions, and explanations with Hy3 or Hy3 Preview. Ask for section references and separate conclusions from unanswered questions.

### 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.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Hy3 in other agents

- [Amp](https://spiral.ai/integrations/amp/hy3)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hy3)
- [Claude](https://spiral.ai/integrations/claude-desktop/hy3)
- [Claude Code](https://spiral.ai/integrations/claude-code/hy3)
- [Cline](https://spiral.ai/integrations/cline/hy3)
- [Codex](https://spiral.ai/integrations/codex/hy3)
- [Cursor](https://spiral.ai/integrations/cursor/hy3)
- [Devin](https://spiral.ai/integrations/devin/hy3)
- [dots](https://spiral.ai/integrations/dots/hy3)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hy3)
- [Gemini](https://spiral.ai/integrations/gemini/hy3)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hy3)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hy3)
- [goose](https://spiral.ai/integrations/goose/hy3)
- [Grok Build](https://spiral.ai/integrations/grok-build/hy3)
- [Hermes](https://spiral.ai/integrations/hermes/hy3)
- [Instinct](https://spiral.ai/integrations/instinct/hy3)
- [Manus](https://spiral.ai/integrations/manus/hy3)
- [Muse](https://spiral.ai/integrations/muse/hy3)
- [Muse Code](https://spiral.ai/integrations/muse-code/hy3)
- [n8n](https://spiral.ai/integrations/n8n/hy3)
- [Notion](https://spiral.ai/integrations/notion/hy3)
- [OpenClaw](https://spiral.ai/integrations/openclaw/hy3)
- [opencode](https://spiral.ai/integrations/opencode/hy3)
- [Perplexity](https://spiral.ai/integrations/perplexity/hy3)
- [Raycast](https://spiral.ai/integrations/raycast/hy3)
- [VS Code](https://spiral.ai/integrations/vscode/hy3)
- [Windsurf](https://spiral.ai/integrations/windsurf/hy3)
- [Zapier](https://spiral.ai/integrations/zapier/hy3)

## More Grok guides

- [Hy-MT2-7B](https://spiral.ai/integrations/grok/hy-mt2-7b)
- [Hy4](https://spiral.ai/integrations/grok/hy4)
- [Hy-MT2-30B-A3B](https://spiral.ai/integrations/grok/hy-mt2-30b-a3b)
- [Hy4 Flash](https://spiral.ai/integrations/grok/hy4-flash)
- [Hy-MT2-1.8B](https://spiral.ai/integrations/grok/hy-mt2-1-8b)
- [Hy4 Preview](https://spiral.ai/integrations/grok/hy4-preview)

## Questions about Hy3 in Grok

**Can Grok use Hy3?**

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

**How much does Hy3 cost in Grok?**

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 plan is separate.

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

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?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Hy3 runs?**

Hy3 runs in the background. Grok 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.

