Granite 4.0 Micro

API ID: ibm-granite/granite-4.0-h-micro

Input Price
$0.02
/1M tokens
Output Price
$0.11
/1M tokens

About Granite 4.0 Micro

Granite-4.0-H-Micro is a 3B parameter from the Granite 4 family of models. These models are the latest in a series of models released by IBM. They are fine-tuned for long context tool calling.

๐Ÿ“Š
Price Ranking
#610 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
131k
Release Date
2025-10-20
Capabilities
chat
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.04
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$1.26
/month
1000 tickets/day, ~800 tokens each

IBM Granite Model Lineup

Compare all models from IBM Granite to find the best fit

Model Input Output Context Capabilities
Granite 4.0 Micro Current $0.02 $0.11 131k chat
Granite 4.1 8B $0.05 $0.10 131k chat tool_use

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

OpenAI Text Embedding 3 Large
Input: $0.13
Output: Free
Context: 8k
Mistral Mistral Small 3
Input: $0.05
Output: $0.08
Context: 33k
Google Gemma 3 12B
Input: $0.03
Output: $0.10
Context: 131k
Nex Agi Nex-N2-Mini
Input: $0.03
Output: $0.10
Context: 262k

๐Ÿš€ Quick Start

Get started with Granite 4.0 Micro API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="ibm-granite/granite-4.0-h-micro",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)