- Home
- Compare
Granite 4.0 Micro vs GPT-5.1-Codex-Mini
Compare Granite 4.0 Micro from ibm-granite and GPT-5.1-Codex-Mini from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Overview
Analysis
Granite 4.0 Micro vs GPT-5.1-Codex-Mini at a glance
| Attribute | Granite 4.0 Micro | GPT-5.1-Codex-Mini |
|---|---|---|
| Input price | Pricing varies by provider | $0.25/M tokens |
| Output price | Pricing varies by provider | $2/M tokens |
| Context window | 8,192 tokens | 400,000 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | Not available | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | Not available | 2.45 s |
| Throughput (p50) | Not available | 63.0 tok/s |
| Provided by | ibm-granite | OpenAI |
| Model page | Granite 4.0 Micro model details, providers and pricing | GPT-5.1-Codex-Mini model details, providers and pricing |
Benchmark data updated
Frequently asked questions
Which has the longer context window, Granite 4.0 Micro or GPT-5.1-Codex-Mini?
GPT-5.1-Codex-Mini has the longer context window at 400,000 tokens, compared with 8,192 tokens for Granite 4.0 Micro.