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

# How to Use Hy3 in Cursor

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 Cursor

- 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 Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

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

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

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

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 Cursor guides](https://spiral.ai/integrations/cursor)

## 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)
- [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](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 Cursor guides

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

## Questions about Hy3 in Cursor

**Can Cursor use Hy3?**

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

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

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

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

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

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

**Does Cursor wait while Hy3 runs?**

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

