Try Bifrost Enterprise free for 14 days.
Request access

hy4-preview Cost Calculator - Aihubmix

Calculate the cost of using hy4-preview from Aihubmix for your AI applications

Pricing data last updated:

hy4-preview Cost Calculator

Mode: Chat

Max: 1,048,576 tokens

Max: 64,000 tokens

Cost Breakdown

Input Cost$0.00084500
Output Cost$0.002535
Total Cost$0.003380

Pricing Details

Input: $0.0000008450 per token
Output: $0.00000253 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling
Reasoning
Web Search

Limits

Max Input Tokens1,048,576
Max Output Tokens64,000
Max Tokens64,000

About hy4-preview

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.

Pricing Information

Input Cost$0.84 per 1M tokens
Output Cost$2.53 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens1,048,576
Maximum Output Tokens64,000
Maximum Total Tokens64,000

Pro Tip

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.

Model Capabilities

Function Calling - Execute custom functions and tools
Advanced Reasoning - Complex problem-solving capabilities
Web Search - Access real-time web information
Prompt Caching - Optimize repeated prompts
Response Schema - Structured output formatting

How hy4-preview Pricing Compares

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.

ModelProviderInput / 1M tokensOutput / 1M tokensvs hy4-preview
anthropic.claude-haiku-4-5-20251001-v1:0AWS Bedrock$1.00$5.00+18%
gpt-5.4-miniAzure$0.75$4.50-11%
gpt-5.4-mini-2026-03-17Azure$0.75$4.50-11%

Alternatives to hy4-preview

Similar chat models from other providers

AWS Bedrock
anthropic.claude-haiku-4-5-20251001-v1:0
$1.00/1M input
+18% vs hy4-preview
Azure
gpt-5.4-mini
$0.75/1M input
-11% vs hy4-preview
Anthropic
claude-haiku-4-5
$1.00/1M input
+18% vs hy4-preview
Vertex AI
gemini-3.6-flash
$0.75/1M input
-11% vs hy4-preview

Frequently Asked Questions

Is hy4-preview cheaper than anthropic.claude-haiku-4-5-20251001-v1:0?

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.

How does hy4-preview pricing compare to the average chat model?

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.

What makes hy4-preview different from other Aihubmix models?

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.

What are the best alternatives to hy4-preview?

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.

How large is hy4-preview's context window?

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.

How do I calculate hy4-preview costs?

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.