Compare Granite 4.0 Micro from ibm-granite and GPT-5.2 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.
Granite 4.0 Micro and GPT-5.2 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Granite 4.0 Micro, from ibm-granite, has a 131,000-token context window and is priced at $0.017/M tokens input, $0.112/M tokens output on OpenRouter.
GPT-5.2, from OpenAI, has a 400,000-token context window and is priced at $1.75/M tokens input, $14/M tokens output on OpenRouter.