Try Bifrost Enterprise free for 14 days.
Request access

granite-4.0-h-micro Cost Calculator - Cloudflare

Calculate the cost of using granite-4.0-h-micro from Cloudflare for your AI applications

Pricing data last updated:

granite-4.0-h-micro Cost Calculator

Mode: Chat

Max: 131,000 tokens

Max: 131,000 tokens

Cost Breakdown

Input Cost$0.00001700
Output Cost$0.00011200
Total Cost$0.00012900

Pricing Details

Input: $0.0000000170 per token
Output: $0.0000001120 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

Limits

Max Input Tokens131,000
Max Output Tokens131,000
Max Tokens131,000

About granite-4.0-h-micro

granite-4.0-h-micro is a chat model from Cloudflare, one of 52 chat models they offer. It is priced at $0.02 per 1M input tokens and $0.11 per 1M output tokens, ranking 13 out of 2661 chat models by cost and cheaper than 99% of models in this category. granite-4.0-h-micro supports function calling. It accepts up to 131K input tokens.

Pricing Information

Input Cost$0.02 per 1M tokens
Output Cost$0.11 per 1M tokens

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

Technical Specifications

Maximum Input Tokens131,000
Maximum Output Tokens131,000
Maximum Total Tokens131,000

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 131,000 input tokens. The maximum output length is 131,000 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools

How granite-4.0-h-micro Pricing Compares

At $0.02 per 1M input tokens and $0.11 per 1M output tokens, granite-4.0-h-micro ranks 13 out of 2661 chat models by input cost. It is more affordable compared to the median of $0.50 for chat models, and is cheaper than 99% of models in this category.

granite-4.0-h-micro is one of 52 Cloudflare chat models, with support for function calling.

ModelProviderInput / 1M tokensOutput / 1M tokensvs granite-4.0-h-micro
Llama-3.2-3B-InstructDeepInfra$0.02$0.02+18%
Meta-Llama-3.1-8B-InstructDeepInfra$0.02$0.05+18%
Meta-Llama-3.1-8B-Instruct-TurboDeepInfra$0.02$0.03+18%

Alternatives to granite-4.0-h-micro

Similar chat models from other providers

DeepInfra
Llama-3.2-3B-Instruct
$0.02/1M input
+18% vs granite-4.0-h-micro
DeepInfra
Meta-Llama-3.1-8B-Instruct
$0.02/1M input
+18% vs granite-4.0-h-micro
DeepInfra
Meta-Llama-3.1-8B-Instruct-Turbo
$0.02/1M input
+18% vs granite-4.0-h-micro
DeepInfra
Mistral-Nemo-Instruct-2407
$0.02/1M input
+18% vs granite-4.0-h-micro
Lambda Ai
llama3.2-11b-vision-instruct
$0.01/1M input
-12% vs granite-4.0-h-micro

Frequently Asked Questions

Is granite-4.0-h-micro cheaper than Llama-3.2-3B-Instruct?

Yes. granite-4.0-h-micro costs $0.02 per 1M input tokens compared to Llama-3.2-3B-Instruct's $0.02 per 1M input tokens, making it 18% more affordable. Both are chat models and share support for function calling.

How does granite-4.0-h-micro pricing compare to the average chat model?

granite-4.0-h-micro input pricing is $0.02 per 1M tokens, which is 97% below the median of $0.50 for chat models. It ranks 13 out of 2661 chat models by input cost, making it cheaper than 99% of models in this category. For output, it costs $0.11 per 1M tokens compared to the median of $1.44.

What makes granite-4.0-h-micro different from other Cloudflare models?

Among Cloudflare's 52 chat models, granite-4.0-h-micro ranks 1 by input cost.

What are the best alternatives to granite-4.0-h-micro?

The most comparable chat models to granite-4.0-h-micro are: Llama-3.2-3B-Instruct from DeepInfra ($0.02/1M input tokens); Meta-Llama-3.1-8B-Instruct from DeepInfra ($0.02/1M input tokens); Meta-Llama-3.1-8B-Instruct-Turbo from DeepInfra ($0.02/1M input tokens); Mistral-Nemo-Instruct-2407 from DeepInfra ($0.02/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 do I calculate granite-4.0-h-micro costs?

granite-4.0-h-micro 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.02 and generating 1M output tokens costs $0.11.