google/gemma-4-E4B-it vs meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo

They cost about the same for input tokens: google/gemma-4-E4B-it $0.02 per M, meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo $0.02 per M. meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo is 2.5× cheaper for output tokens: google/gemma-4-E4B-it costs $0.10 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.

google/gemma-4-E4B-itmeta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
Model idgoogle/gemma-4-E4B-itmeta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
Input$0.02 per M$0.02 per M
Output$0.10 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.