ibm-granite/granite-4.2-3b vs meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo is 1.5× cheaper for input tokens: ibm-granite/granite-4.2-3b costs $0.03 per M and meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo costs $0.02 per M. meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo is 3× cheaper for output tokens: ibm-granite/granite-4.2-3b costs $0.12 per M and meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo costs $0.04 per M. Both read up to 131,072 tokens of context.
| ibm-granite/granite-4.2-3b | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | |
|---|---|---|
| Model id | ibm-granite/granite-4.2-3b | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo |
| Input | $0.03 per M | $0.02 per M |
| Output | $0.12 per M | $0.04 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.