Tencent Hy3
tencent/hy3Run Tencent Hy3 in a hosted Python Task with structured output, extended thinking and file inputs.
Tencent's Hy3 via OpenRouter. A mixture-of-experts reasoning model (295B total, 21B active parameters) with configurable reasoning effort and a 262K token context window.
What Tencent Hy3 supports in qbash
- Structured outputReplies as JSON that matches a schema you pass.
- Extended thinkingReasons through a problem before it replies.
- Reasoning effort2 levels, from low to high.
- Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.
- Prompt cachingRepeated input is billed at the cached rate.
What is qbash?
qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Tencent Hy3 only at the ones that need judgment, with integrations, memory and files available in the same script.
A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.
Specifications
- Context window
- 262Ktokens
- Max output
- 131,072tokens
- Temperature
- 0 to 1default 0.9
Structured output with Tencent Hy3 in a Python Task
qbash.ai.raw calls Tencent Hy3 from a Task. Pass a JSON Schema as output_schema and the reply comes back as a Python dict that matches it, ready to route to a connector.
ticket = qbash.inputs.get("ticket")
triage = qbash.ai.raw(
f"Summarize this support ticket and rate its urgency:\n\n{ticket}",
model="tencent/hy3",
output_schema={
"type": "object",
"properties": {
"summary": {"type": "string"},
"urgency": {"type": "string", "enum": ["low", "medium", "high"]},
},
"required": ["summary", "urgency"],
},
)
# triage is a dict, e.g. {"summary": "...", "urgency": "high"}
if triage["urgency"] == "high":
qbash.integrations.slack.create_message(
channel="#support",
text=triage["summary"],
)
qbash.output(triage)
Reasoning effort with Tencent Hy3
Set Effort to low and high in the prompt's Settings. Higher effort spends more tokens on reasoning before the reply.
Turn on Thinking in the same Settings popover to have Tencent Hy3 reason through a problem before it replies.
Tencent Hy3 pricing
| Input | $0.132 per 1M tokens |
|---|---|
| Output | $0.528 per 1M tokens |
| Cached input | $0.033 per 1M tokens |
Standard rates in USD.
Supported file formats
Documents
- TEXT
- DOC
- XLS
- RTF
- DOCX
- XLSX
- PPTX
- PPT
- ODT
- ODP
- ODS