AI Rate Card

qwen2-7b-instruct vs llama-3-8b: API price and specs

qwen2-7b-instruct is 8% cheaper than llama-3-8b on input price.

qwen2-7b-instruct is 54% cheaper than llama-3-8b on output price.

qwen2-7b-instruct is 21% cheaper than llama-3-8b on a 1M-in / 200k-out workload.

Fieldqwen2-7b-instructllama-3-8b
Lowest input, per 1M$0.055$0.06 +9.1%
Median input, per 1M$0.08$0.21 +162.5%
Lowest output, per 1M$0.055$0.12 +118.2%
Median output, per 1M$0.08$0.21 +162.5%
Lowest unit price——
Cost of 1M in + 200k out$0.066$0.084 +27.3%
Context33K—
Max output——
Providers32 +33.3%
Regions——
Accepts——
Returnstexttext
TypeText modelsText models
Free optionnono
Cheapest providerdeepinfraaihubmix

Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.

Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.

Providers selling both

aihubmix, aiml

Frequently asked questions

Which is cheaper, qwen2-7b-instruct or llama-3-8b?

qwen2-7b-instruct is 8% cheaper than llama-3-8b on input price. qwen2-7b-instruct is 54% cheaper than llama-3-8b on output price. qwen2-7b-instruct is 21% cheaper than llama-3-8b on a 1M-in / 200k-out workload.

Where can I use both qwen2-7b-instruct and llama-3-8b?

aihubmix, aiml