AI Rate Card

Qwen2.5-Coder 7B Instruct vs Qwen3 4B Instruct: API price and specs

Qwen3 4B Instruct has a 100% larger context than Qwen2.5-Coder 7B Instruct.

FieldQwen2.5-Coder 7B InstructQwen3 4B Instruct
Lowest input, per 1M$0.01$0.01
Median input, per 1M$0.01055$0.22 +1947.4%
Lowest output, per 1M$0.03$0.03
Median output, per 1M$0.03165$0.44 +1280.7%
Lowest unit price——
Cost of 1M in + 200k out$0.016$0.016
Context131K +50%262K
Max output——
Providers32 +33.3%
Regions——
Acceptstexttext
Returnstexttext
TypeText modelsText models
Free optionnono
Cheapest providerhuggingfacehuggingface

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

huggingface, trustedrouter

Frequently asked questions

Which has the larger context, Qwen2.5-Coder 7B Instruct or Qwen3 4B Instruct?

Qwen2.5-Coder 7B Instruct: 131K tokens; Qwen3 4B Instruct: 262K tokens.

Where can I use both Qwen2.5-Coder 7B Instruct and Qwen3 4B Instruct?

huggingface, trustedrouter