Using Granite 4.0 H Micro on Cloudflare Workers AI

Implementation guide · Granite 4 · IBM Research

ServerlessOpen Source

Cloudflare Workers AI exposes Granite 4.0 H Micro through model ID @cf/ibm-granite/granite-4.0-h-micro. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-09-30. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Cloudflare Workers AI and generate an API key.
  2. 2
    Use the Cloudflare Workers AI SDK or REST API to call @cf/ibm-granite/granite-4.0-h-micro — see the documentation for request format.
  3. 3
    You'll be billed $0.02/1M input, $0.11/1M output tokens. See full pricing.

Code Examples

See Cloudflare Workers AI documentation for integration details.

Pricing on Cloudflare Workers AI

TypePrice (per 1M)
Input tokens$0.02
Output tokens$0.11

Capabilities

JSON / Tool use

About Granite 4.0 H Micro

IBM Granite 4.0 H Micro available via OpenRouter. Pricing: $0.017/1M input, $0.11/1M output.

Model Specs

Released2025-04-01
Context131K
ArchitectureDecoder Only

Provider

Cloudflare Workers AI

Cloudflare

San Francisco, California, United States