Example AI
Get a key
Text model

Hy4 Preview

hy4-preview

hy4-preview is available at hy4-preview. Below: price, specifications and request examples.

Price

model valueInput, per 1MOutput, per 1MCache, per 1M
hy4-preview$0.0574$0.1719$0.0058

Prices per 1M tokens. You pay for what you use.

Specifications

Context window
1,000,000 tokens
Image input
yes
Reasoning
no
Anthropic format (/v1/messages)
no
Data in Russia
no

Request example

Create a key in the dashboard. Streaming works too: add "stream": true.

curl
curl https://whitelabel-demo.getvibeapi.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hy4-preview", "messages": [{"role": "user", "content": "Hello!"}]}'
Python
from openai import OpenAI

client = OpenAI(base_url="https://whitelabel-demo.getvibeapi.com/v1", api_key="YOUR_KEY")
reply = client.chat.completions.create(
    model="hy4-preview",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)

Questions and answers

How much does hy4-preview cost?

Input is $0.0574 per 1M tokens, output $0.1719 per 1M. You are charged for the tokens actually used, so a single request costs a fraction of a cent. Your balance and spending are in the dashboard.

What is the context window of hy4-preview?

Up to 1,000,000 input tokens.

How do I call hy4-preview?

Set the base URL to https://whitelabel-demo.getvibeapi.com/v1 and use "hy4-preview" in the model field of any OpenAI-compatible client. curl and Python examples are on this page.

Is cached input cheaper?

Repeated context is billed at the cache price — $0.0058 per 1M tokens instead of $0.0574.

Does hy4-preview understand images?

Yes, images can be sent along with text.

Other models

Start using hy4-preview in minutes

Sign up by email, create a key in the dashboard, top up your balance without a contract.

Get an API key