meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo vs Qwen3 4B
meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo is 1.5× cheaper for input tokens: meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo costs $0.02 per M and Qwen3 4B costs $0.03 per M. Qwen3 4B is 1.3× cheaper for output tokens: meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo costs $0.04 per M and Qwen3 4B costs $0.03 per M. About the same: meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo takes up to 131,072 tokens of context and Qwen3 4B up to 128,000.
| meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | Qwen3 4B | |
|---|---|---|
| Model id | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo | qwen/qwen3-4b-fp8 |
| Input | $0.02 per M | $0.03 per M |
| Output | $0.04 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.