google/gemma-4-E4B-it vs ibm-granite/granite-4.2-3b
google/gemma-4-E4B-it is 1.5× cheaper for input tokens: google/gemma-4-E4B-it costs $0.02 per M and ibm-granite/granite-4.2-3b costs $0.03 per M. google/gemma-4-E4B-it is 1.2× cheaper for output tokens: google/gemma-4-E4B-it costs $0.10 per M and ibm-granite/granite-4.2-3b costs $0.12 per M. Both read up to 131,072 tokens of context.
| google/gemma-4-E4B-it | ibm-granite/granite-4.2-3b | |
|---|---|---|
| Model id | google/gemma-4-E4B-it | ibm-granite/granite-4.2-3b |
| Input | $0.02 per M | $0.03 per M |
| Output | $0.10 per M | $0.12 per M |
| Context length | 131,072 tokens | 131,072 tokens |
| Accepts | text | text |
| Produces | text | text |
| Served by | deepinfra | deepinfra |
Prices are the providers' list prices per million tokens, as of . Both run on your own provider key through one OpenAI-compatible endpoint, with no fee on the tokens.