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

OpenRouterLLMAvailable nowReleased 2026-11-16

Tencent: Hy4 flash

tencent/hy4-flash

Generate and analyse text with Tencent: Hy4 flash from OpenRouter through one Spiral API key. Hy4 flash is a cost-efficient variant of Hy4 from Tencent, served with roughly a quarter of the flagship's parameter count for lower latency and cost. It runs in the background and returns text and structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.000751 per run at the default inputs. $0.0455 per 1M input tokens, $0.18265 per 1M output tokens.

Limits

Runs
In the background
Returns
text, json
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
messages requiredJSON—

The conversation so far, oldest first.

stopJSON—
toolsJSON—
reasoningJSON—

Reasoning effort; reasoning tokens count toward max_tokens.

max_tokensnumber (whole)
1 to 65536
—

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

temperaturenumber
0 to 2
—
tool_choiceJSON—
response_formatJSON—
reasoning_efforttext—

OpenAI's reasoning effort (minimal, low, medium, high, xhigh).

Same request in code

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/hy4-flash",
    "input": {
      "messages": [
        {
          "role": "user",
          "content": "Hello!"
        }
      ]
    }
  }'

Frequently asked questions

How much does Tencent: Hy4 flash cost?

Up to $0.000751 per run at the default inputs. $0.0455 per 1M input tokens, $0.18265 per 1M output tokens. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Tencent: Hy4 flash through an API?

Send `POST /v1/runs` with `"provider": "openrouter"`, `"model": "tencent/hy4-flash"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with OpenRouter to use Tencent: Hy4 flash?

No. Spiral runs it on its own OpenRouter account and charges your Spiral balance.

Can my AI agent use Tencent: Hy4 flash?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.