Inteligência em modelos de IA

Granite 4.0 H Micro

cloudflare-workers-ai/granite-4-0-h-micro

Por cloudflare-workers-ai · família: granite · lançado 2025-10-07

$0.017
Entrada / 1M tokens
$0.112
Saída / 1M tokens
131K
Janela de contexto
131K
Saída máxima

Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.

Capacidades

Tool callingRaciocínioSaída estruturadaAnexosPesos abertosControle de temperatura
Modalidades: entrada text · saída text

Model fit scores

0–100 · higher is better

These scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.

Coding43
  • Tool calling40/40
  • Structured output0/20
  • Reasoning0/10
  • Context window (100K → 1M)2/20
  • Provider availability1/10
Agents51
  • Tool calling35/35
  • Structured output0/25
  • Reasoning0/15
  • Output token limit15/15
  • Provider availability1/10
JSON / structured output50
  • Structured output / JSON mode0/50
  • Tool calling20/20
  • Temperature control10/10
  • Price-friendly for high-volume20/20
Cost efficiency84
  • Headline price (log-scaled)84/95
  • Has prompt-cache pricing0/5
Long context46
  • Context window (100K → 2M)36/90
  • Has published price for full window10/10
Production-readiness65
  • Number of independent providers5/40
  • Has published per-token price20/20
  • Context window ≥ 8K15/15
  • No data inconsistencies across providers10/10
  • Official model (not derivative)15/15

Cost Efficiency Index

Open full calculator →

Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.

ScenarioCostAssumption
RAG answer
per 1,000 RAG answers
$0.14
< $0.01 per request
5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot.
Support ticket triage
per 10,000 tickets
$0.28
< $0.01 per request
1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support.
Data extraction
per 1,000 documents
$0.09
< $0.01 per request
2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines.
Code review
per 1,000 PRs
$0.25
< $0.01 per request
8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads.
Agent step
per 1,000 steps
$0.27
< $0.01 per request
12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step.

Detalhes de preço

Preço recomendado de cloudflare-workers-ai · @cf/ibm-granite/granite-4.0-h-micro

$0.017
Entrada
$0.112
Saída

Disponível em 1 provedores

ProvedorID do modelo do provedorEntrada / 1MSaída / 1MContextoLançado
Cloudflare Workers AI
cloudflare-workers-ai
@cf/ibm-granite/granite-4.0-h-micro$0.017$0.112131K2025-10-07

Frequently asked questions

How much does Granite 4.0 H Micro cost?

Granite 4.0 H Micro costs $0.017 per 1M input tokens and $0.112 per 1M output tokens, sourced from cloudflare-workers-ai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.

What is the context window of Granite 4.0 H Micro?

Granite 4.0 H Micro has a context window of 131K tokens, with a max output of 131K tokens per reply. This is the total combined size of prompt + completion.

Does Granite 4.0 H Micro support tool calling?

Yes. Granite 4.0 H Micro supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.

Does Granite 4.0 H Micro support structured output / JSON mode?

No. Granite 4.0 H Micro does not support structured output / JSON-schema-constrained decoding. If your workflow requires it, look at the /capabilities/structured-output list for alternatives.

Can Granite 4.0 H Micro accept image input?

No. Granite 4.0 H Micro only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.

Is Granite 4.0 H Micro open-weight?

Yes. Granite 4.0 H Micro's weights are publicly available, so you can self-host or fine-tune. Note that open weights ≠ open source — the training data and code are typically not released.

Where does this data come from?

All numbers are normalised into a single canonical model record and reconciled with each provider's official documentation. We re-pull daily and write any changes (price, context, capability) to the /changelog page.

Última atualização:

Pricing and capabilities are refreshed daily and reconciled against each provider's official documentation. Always verify critical production decisions with the provider directly.