google/gemma-4-E4B-it vs Qwen3 4B
google/gemma-4-E4B-it is 1.5× cheaper for input tokens: google/gemma-4-E4B-it costs $0.02 per M and Qwen3 4B costs $0.03 per M. Qwen3 4B is 3.3× cheaper for output tokens: google/gemma-4-E4B-it costs $0.10 per M and Qwen3 4B costs $0.03 per M. About the same: google/gemma-4-E4B-it takes up to 131,072 tokens of context and Qwen3 4B up to 128,000.
| google/gemma-4-E4B-it | Qwen3 4B | |
|---|---|---|
| Model id | google/gemma-4-E4B-it | qwen/qwen3-4b-fp8 |
| Input | $0.02 per M | $0.03 per M |
| Output | $0.10 per M | $0.03 per M |
| Context length | 131,072 tokens | 128,000 tokens |
| Accepts | text | text |
| Produces | text | text |
| Served by | deepinfra | novita |
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.