Hy4

Neural Network

Hy4 for agent tasks: official model version with significantly increased autonomy for long workflows

Specifications

Input
text, images, documents
Output
text
Context size
1 048 576 tokens
Max answer length
65 536 tokens
Reasoning effort
none, low, high
Capabilities
reasoning, function calling
0,5 $

Prompt cost

(per 1M tokens)

1,5 $

Answer cost

(per 1M tokens)

*Prices are shown for API usage via ECO providers.
bothub
BotHub: Try neural networks for freebot

Caps remaining: 0 CAPS
Code example and API for Hy4We offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
import OpenAI from 'openai';
const openai = new OpenAI({
  apiKey: '<your bothub access token>',
  baseURL: 'https://openai.bothub.chat/v1'
});


// Sync - Text generation 

async function main() {
  const chatCompletion = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'hy4',
  });
} 

// Async - Text generation 

async function main() {
  const stream = await openai.chat.completions.create({
    messages: [{ role: 'user', content: 'Say this is a test' }],
    model: 'hy4',
    stream: true
  });

  for await (const chunk of stream) {
    const part: string | null = chunk.choices[0].delta?.content ?? null;
  }
} 
main();
illustaration

How it works Hy4?

Hy4 is the official release of the model, improved compared to Hy4 Preview. Key enhancements focus on agent capabilities and performance on long, multi-step tasks where results cannot be obtained in a single prompt. Via BotHub, the model is accessible from Russia without a VPN or foreign card; payment is made with Russian cards in rubles on a pay-as-you-go basis, and tokens do not expire. Switching between Hy4 and other models takes one action in a single window, allowing you to compare responses and select the right model without rebuilding integrations. A unified API helps embed Hy4 into a multi-model system with a fallback option for niche scenarios. Data is protected by AES-GCM encryption and is not stored. Teams have access to contracts, invoices, electronic document management (EDO), an admin panel, and limits. Scenarios: multi-step agent chains, long-form analytics and preparation of work materials, automation of repetitive operations, API integration into your own product, and comparing results with the previous Hy4 Preview version on the same tasks.

Frequently asked questions about Hy4

You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.

Hy4 is a Tencent model that accepts text, documents, and images. It can reason before answering, call functions, and output structured JSON. It is suitable for coding, parsing large documents, analyzing images, and agent scenarios requiring multiple sequential steps.

A single Hy4 response holds up to 65,536 output tokens, and the input context is up to 1,048,576 tokens. In practice, this means entire documents as input plus voluminous results: detailed analysis, reports, or long code snippets. If there is significantly more material, it is better to provide it in parts.

Yes, Hy4's reasoning mode is confirmed. The model first builds a chain of steps and then provides a result — this helps in mathematics, analytics, and coding tasks where the order of actions and verification of intermediate conclusions are important. For simple questions, detailed reasoning is not necessary.

Yes, function calling and structured JSON output are supported. The model can be connected to external tools and APIs, and responses can be received in a format that is immediately machine-readable. Through the unified OpenAI-compatible BotHub API, such integration is built once and does not need to be rewritten when changing models.

Images and documents — yes, they are stated as supported input types alongside text. We have no information about audio and video, so we will not promise them. If you need to analyze an image or document, upload the file via BotHub and check the result.

We do not have specific data on the quality of Russian language processing for Hy4, so we cannot provide specific figures. The model is universal: it works with text, documents, and images, and how accurately it writes in Russian depends on the task and the prompt formulation. It is easiest to check with your own examples.

Support ServiceOpen from 10:00 to 18:00 MSK