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

# How to Use Hy3 in goose

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 goose

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

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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: goose finds Hy3 on Spiral, shows the price and runs it.

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

## 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 goose?

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.

## Overview

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

## 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)
- [Grok](https://spiral.ai/integrations/grok/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 goose guides

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

## Questions about Hy3 in goose

**Can goose use Hy3?**

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

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

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

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

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

About two minutes: add the extension, then sign in.

**Does goose wait while Hy3 runs?**

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

