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-3bmeta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
Model idibm-granite/granite-4.2-3bmeta-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 length131,072 tokens131,072 tokens
Acceptstexttext
Producestexttext
Served bydeepinfradeepinfra

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.