hy4-preview API — per-token pricing and code examples
Price per 1M tokens
Cache rates apply when the provider reports cache tokens.
44% offAbout this model
hy4-preview is served through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages. You pay $0.46704 per 1M input tokens and $1.40056 per 1M output tokens. That is 44% below the official price of $0.834 and $2.501. Cache reads cost $0.042 per 1M tokens when the provider reports cached tokens. It is included in budget packs from $9.99 up.
Specification
- Context window
- —
- Input and output
- Text
- Endpoints
- /v1/chat/completions, /v1/responses, /v1/messages
- Smallest pack
- $9.99
Latency and error rate per model are on the status page. status.cent-ai.dev
What a request costs
Open the full calculatorCost per request
Estimate
hy4-previewAn estimate at price version 4. Your bill comes from the usage the provider reports for each request.
Save $0.0473Code
curl https://api.cent-ai.dev/v1/chat/completions \
-H "Authorization: Bearer $CENT_AI_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "hy4-preview", "messages": [{"role": "user", "content": "Hello"}]}'Set CENT_AI_KEY to a key from the dashboard. OpenAI SDKs use https://api.cent-ai.dev/v1; Anthropic SDKs use https://api.cent-ai.dev.
Price history
Version 4, in effect since Nov 12, 2026.
Effective
per 1M tokens
Inputold $0.46704 new $0.46704Cache readold $0.046704 new $0.042Cache writeold $0.46704 new $0.46704Outputold $1.40056 new $1.40056Effective
per 1M tokens
Inputold $0.042 new $0.46704Cache readold $0.0042 new $0.046704Cache writeold $0.042 new $0.46704Outputold $0.125 new $1.40056Effective
per 1M tokens
Inputold $0.042 new $0.042Cache readold $0.002115108 new $0.0042Cache writeold $0.042 new $0.042Outputold $0.125 new $0.125
Compare with
- deepseek-v4-proInput$0.165
- gpt-6.1-solInput$0.58
- gpt-6.1-terraInput$0.15
- glm-5.3Input$0.14
Questions
How much does hy4-preview cost on Cent AI?
$0.46704 per 1M input tokens and $1.40056 per 1M output tokens. Cache reads cost $0.042 and cache writes $0.46704 per 1M tokens. Each request is rounded up once.
Is there a minimum charge?
A successful request costs at least $0.00002. A request that ends early, because the client left or the output was cut off, pays only for its tokens.
How do I pay?
Top up a prepaid USD balance with QRIS or USDT/USDC, or buy a budget pack once. Nothing renews automatically.
What if the provider does not report usage?
The request is billed from an estimate and marked estimated on the Requests page. An estimate never contains cache tokens.
Which endpoint do I call?
/v1/chat/completions, /v1/responses, /v1/messages. The OpenAI base URL is https://api.cent-ai.dev/v1.
Try hy4-preview with one key
One prepaid balance for every model. Pay with QRIS or USDT/USDC.