gpt-oss-20b vs Llama 3.1 8B Instruct.

model vs model · prices as of

gpt-oss-20b and Llama 3.1 8B Instruct split the 5 rounds this table counts: the two list price rows, the cheapest price we can explain, the standard price and context. The weighting you pick decides the rest.

OpenAI

gpt-oss-20b

$0.16/M tokens

cheapest we can explain, at Kilo Gateway · $0.018 per 1,000 pages

131k context · tool calling · open weights

Meta

Llama 3.1 8B Instruct

$0.10/M tokens

cheapest we can explain, at Kilo Gateway · $0.0144 per 1,000 pages

131k context · tool calling · open weights

List price in (lower wins)

$0.03/M

$0.05/M

List price out (lower wins)

$0.13/M

$0.08/M

Cheapest we can explain (lower wins)

$0.16/M at Kilo Gateway

$0.10/M at Kilo Gateway

Standard price (lower wins)

$0.22/M

$0.23/M

Cost per 1,000 pages (lower wins)

$0.018

$0.0144

Context

131k tokens

131k tokens

Open weights

yes

yes

Tool calling

yes

yes

Structured output

yes

yes

Reads images

no

no

Reasoning

yes

no

Released

5 Aug 2025

23 Jul 2024

Providers selling it

43

24

Price we measure against

OpenRouter

OpenRouter

Trains on your prompts (no is better)

not stated

not stated

Providers selling both · 21

  • Kilo Gateway$0.16 / $0.10
  • Nous Portal$0.16 / $0.10
  • TrustedRouter$0.17 / $0.12
  • DeepInfra$0.23 / $0.10
  • Novita$0.27 / $0.11
  • OpenRouter$0.22 / $0.23
  • Helicone$0.35 / $0.11
  • Jiekou$0.35 / $0.11

gpt-oss-20b then Llama 3.1 8B Instruct, per million tokens · showing the 8 cheapest of 21

Go further

Add a third or fourth model, or switch the weighting, in the tool.

What moved in the last seven days

  1. gpt-oss-20bio.net Intelligence$0.06 / $0.21 $0.06 / $0.204% cheaper ·
  2. gpt-oss-20bNous Portal$0.02 / $0.08 $0.02 / $0.1025% dearer ·
  3. gpt-oss-20bRequesty$0.07 / $0.30 $0.10 / $0.5057% dearer ·
  4. gpt-oss-20bTrustedRouter$0.03 / $0.14 $0.02 / $0.1127% cheaper ·
  5. Llama 3.1 8B InstructNous Portal$0.02 / $0.03 $0.02 / $0.0425% dearer ·
  6. gpt-oss-20bNanoGPT$0.20 / $0.80 $0.04 / $0.1581% cheaper ·

Frequently asked

Which is cheaper, gpt-oss-20b or Llama 3.1 8B Instruct?
Llama 3.1 8B Instruct, at $0.10 per million tokens against $0.16 for gpt-oss-20b, three parts input to one part output, read on 16 Sept 2026.
Where is each one cheapest?
gpt-oss-20b: $0.16 at Kilo Gateway. Llama 3.1 8B Instruct: $0.10 at Kilo Gateway.
Can I buy both from one provider?
Yes. 21 providers sell both: Kilo Gateway, Nous Portal, TrustedRouter, DeepInfra, Novita, OpenRouter, and more. The cheapest of them for the two together is Kilo Gateway.
Which holds more context?
Both hold 131k tokens in one call.

Prices exclude tax and are per million tokens, read 16 Sept 2026 from each provider's own catalog. The standard price blends three parts input to one part output; a page is 600 tokens in and 60 out. Bars are scaled to the larger value in each row.

Related head-to-headsgpt-oss-20b vs Ling 3.0 Flashgpt-oss-20b vs Ministral 3B (latest)gpt-oss-20b vs Mistral Small 3gpt-oss-20b vs Qwen3.7 FlashLlama 3.1 8B Instruct vs Mistral Small 3Llama 3.1 8B Instruct vs Nova Micro 1.0Morecompare any two modelsevery model we track