GPT-OSS 20B (Fireworks) API

Fireworks AI · serves gpt-oss-20b

Pricing

Input / 1M$0.07
Output / 1M$0.30
Blended / 1M$0.37
Cached input / 1M$0.04
Context window128,000 tokens
Max output32,768 tokens
LicenseOpen weights · Apache 2.0 permissive
Knowledge cutoffJune 2024 · source
Intelligence index15.2 Artificial Analysis Intelligence Index · source

textfunction-calling

Price verified 2026-09-05 (0 days ago) · sourcecorroborated

Sources

SourceInput / 1MOutput / 1MVerified
OpenRouter$0.07$0.302026-09-05
LiteLLM$0.07$0.302026-09-03
models.dev$0.07$0.302026-09-04

Two independent sources agree within 20%.

Latency measured

RegionTTFT p50TTFT p95Total p50Total p95ThroughputSamples
eu-paris0

Time-to-first-token, measured server-side. Measured 2026-09-04 (0 days ago).

Cheaper providers for gpt-oss-20b

ProviderBlended / 1MEndpoint
AkashML$0.12view →
CoreWeave$0.16view →
DeepInfra$0.17view →

Compare all 12 providers serving gpt-oss-20b →

Call it

OpenAI-compatible endpoint — set FIREWORKS_API_KEY.

curl https://api.fireworks.ai/inference/v1/chat/completions \
  -H "Authorization: Bearer $FIREWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "accounts/fireworks/models/gpt-oss-20b",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://api.fireworks.ai/inference/v1",
    api_key="...",  # FIREWORKS_API_KEY
)
resp = client.chat.completions.create(
    model="accounts/fireworks/models/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Price unchanged since 2026-09-03 — 1 point on record.

Use this data

Raw JSON for this page: gpt-oss-20b.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.