hy4-flash

Neural Network

Beep-boop, writing text for you...
pc1pc2pc3pc4

Specifications

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

Prompt cost

(per 1M tokens)

0,17 $

Answer cost

(per 1M tokens)

*Prices are shown for API usage via ECO providers.
bothub
BotHub: Попробуйте нейросети бесплатноbot

Осталось Caps: 0 CAPS
Пример кода и API для hy4-flashМы предлагаем полный доступ к API OpenAI через наш сервис. Все наши конечные точки полностью соответствуют конечным точкам OpenAI, их можно использовать как с плагинами, так и при разработке собственного программного обеспечения через SDK.Создать API ключ
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-flash',
  });
} 

// Async - Text generation 

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

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

How it works hy4-flash?

Bothubs gather information...empty

Frequently asked questions about hy4-flash

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.

Служба поддержкиРаботаем с 10:00 до 18:00 по МСК