Calculate the cost of using hy4-preview from Aihubmix for your AI applications
Pricing data last updated:
Mode: Chat
Max: 1,048,576 tokens
Max: 64,000 tokens
Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.
hy4-preview is a chat model from Aihubmix, one of 72 chat models they offer. It is priced at $0.84 per 1M input tokens and $2.53 per 1M output tokens, ranking 2150 out of 3639 chat models by cost and cheaper than 41% of models in this category. hy4-preview supports function calling, reasoning, web search, prompt caching, structured output — one of only 5 chat models with this combination. Its 1,049K-token context window is in the top 12% among chat models.
Note: Use the interactive calculator above to estimate costs for your specific usage patterns.
Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,048,576 input tokens. The maximum output length is 64,000 tokens.
At $0.84 per 1M input tokens and $2.53 per 1M output tokens, hy4-preview ranks 2150 out of 3639 chat models by input cost. It is more expensive compared to the median of $0.58 for chat models, and is cheaper than 41% of models in this category.
hy4-preview is one of 72 Aihubmix chat models, one of only 5 chat models combining function calling, prompt caching, reasoning, structured output, web search. its 1,049K-token context window places it in the top 12% of chat models.
| Model | Provider | Input / 1M tokens | Output / 1M tokens | vs hy4-preview |
|---|---|---|---|---|
| anthropic.claude-haiku-4-5-20251001-v1:0 | AWS Bedrock | $1.00 | $5.00 | +18% |
| gpt-5.4-mini | Azure | $0.75 | $4.50 | -11% |
| gpt-5.4-mini-2026-03-17 | Azure | $0.75 | $4.50 | -11% |
Similar chat models from other providers
Yes. hy4-preview costs $0.84 per 1M input tokens compared to anthropic.claude-haiku-4-5-20251001-v1:0's $1.00 per 1M input tokens, making it 18% more affordable. Both are chat models and share support for vision, function calling, reasoning, web search, prompt caching, structured output.
hy4-preview input pricing is $0.84 per 1M tokens, which is 46% above the median of $0.58 for chat models. It ranks 2150 out of 3639 chat models by input cost, making it cheaper than 41% of models in this category. For output, it costs $2.53 per 1M tokens compared to the median of $1.66.
Among Aihubmix's 72 chat models, hy4-preview ranks 39 by input cost. Its combination of function calling, prompt caching, reasoning, structured output, web search is shared by only 4 other chat models.
The most comparable chat models to hy4-preview are: anthropic.claude-haiku-4-5-20251001-v1:0 from AWS Bedrock ($1.00/1M input tokens); gpt-5.4-mini from Azure ($0.75/1M input tokens); gpt-5.4-mini-2026-03-17 from Azure ($0.75/1M input tokens); claude-haiku-4-5 from Anthropic ($1.00/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.
hy4-preview supports up to 1,048,576 input tokens, placing it in the top 12% of chat models by context window size (rank 295 of 3346). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.
hy4-preview is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.84 and generating 1M output tokens costs $2.53.