CodeBuddy

Hy4free API

Hy4free on AtmoRouter — from $0.406575 per million input tokens, from $1.2192375 per million output tokens on a 1M context, through one OpenAI-compatible key.

Input · per Mtok

From $0.406575

$0.8340 official

Output · per Mtok

From $1.2192375

$2.50 official

Off official

51.2%

Context

1M

up to 64K output

14 price tiers

Final prices in USD per million tokens. Each tier is compared with official input and output prices.

InputOutputOffers
$0.40657551.2% off official$1.219237551.2% off official4
$0.41074550.7% off official$1.231742550.7% off official12
$0.4128350.5% off official$1.23799550.5% off official1
$0.41491550.2% off official$1.244247550.2% off official13
$0.41750% off official$1.250550% off official59
$0.5212537.5% off official$1.56312537.5% off official3
$0.6088227% off official$1.8257327% off official3
$0.813152.5% off official$2.4384752.5% off official1
$0.8402550.7% above official$2.51975750.7% above official1
$0.896557.5% above official$2.6885757.5% above official1
$0.92782511.2% above official$2.782362511.2% above official3
$0.9382512.5% above official$2.81362512.5% above official7
$1.03624524.2% above official$3.107492524.2% above official13
$1.042525% above official$3.1262525% above official132

Offer counts are a snapshot and do not guarantee available capacity.

Updated

Prices vary by available offers. Requests can use any listed tier by default. Set maximum input and output prices in Budgets to limit routing.

Model id

cb/hy4free

Use this exact id in API calls.

Modality

text,image

Prompt caching supported — cached input $0.0406575/Mtok.

Protocols

OpenAI Chat Completions

Anthropic Messages endpoint also available for every model.

Call Hy4free

curl

curl https://atmorouter.dev/v1/chat/completions \
  -H "Authorization: Bearer ar-xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cb/hy4free",
    "messages": [{"role": "user", "content": "Say hello in one word."}]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://atmorouter.dev/v1",
    api_key="ar-xxxxxxxxxxxx",
)

resp = client.chat.completions.create(
    model="cb/hy4free",
    messages=[{"role": "user", "content": "Say hello in one word."}],
)
print(resp.choices[0].message.content)

Works with anything OpenAI-compatible — Cursor, Cline, LangChain and more. See the cookbook configs at github.com/Micolaabdi/atmorouter-cookbook and the docs for the Anthropic Messages endpoint.

Questions about Hy4free

How much does Hy4free cost per million tokens?

AtmoRouter prices start from $0.406575 per million input tokens and from $1.2192375 per million output tokens. The provider's official list rate is $0.8340 / $2.50 — AtmoRouter is 51.2% below it.

Does Hy4free support streaming?

Yes — server-sent events on the OpenAI-compatible endpoint, and the Anthropic Messages endpoint streams natively.

Is there a subscription or minimum spend?

No subscription or minimum commitment. Billing uses the selected offer’s rates, and a minimum request charge applies. See Budgets for the current minimum.

Build with AtmoRouter.