GPT OSS 20B

gpt-oss-20b by OpenAI Released August 6, 2025
ReasoningFunction callingStructured outputPrompt cachingWeb searchComputer useImage inputFile inputAudio inputVideo inputEU hostingFree endpointUp to % off
Input from
$0.009 / 1M
Output from
$0.045 / 1M
Cached input from
$0.003 / 1M
Context window
131K
Endpoints
11
from 9 providers
Regions
Monde, Europe, États-Unis

About GPT OSS 20B

gpt-oss-20b est un modèle à poids ouverts comptant 21 milliards de paramètres, publié par OpenAI sous licence Apache 2.0.

GPT OSS 20B est un modèle conversationnel développé par OpenAI, disponible sur Eden AI via 11 endpoints chez 9 fournisseurs, à partir de 0,009 $ par million de tokens en entrée et 0,045 $ par million de tokens en sortie, avec une fenêtre de contexte allant jusqu'à 131K tokens.

Providers and prices

11 endpoints from 9 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you. .

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Greenference (Europe)Official−%greenference/gpt-oss-20b
Europe
131K
$0.009$0.009
$0.045
$0.0045
ReasoningToolsJSONCacheVisionWeb
FlexAIOfficial−%flexai/gpt-oss-20b
Monde
131K
$0.02$0.02
$0.1
$0.003
ReasoningToolsJSONCacheVisionWeb
DeepInfra (États-Unis)Official−%deepinfra/openai/gpt-oss-20b
États-Unis
131K
$0.03$0.03
$0.14
$
ReasoningToolsJSONCacheVisionWeb
OVHcloud (Europe)Official−%ovhcloud/gpt-oss-20b
Europe
131K
$0.05$0.05
$0.18
$
ReasoningToolsJSONCacheVisionWeb
Databricks (Europe)Official−%databricks/databricks-gpt-oss-20b@eu
Europe
131K
$0.07$0.07
$0.3
$0.007
ReasoningToolsJSONCacheVisionWeb
DatabricksOfficial−%databricks/databricks-gpt-oss-20b
Monde
131K
$0.07$0.07
$0.3
$0.007
ReasoningToolsJSONCacheVisionWeb
Amazon Web Services (Europe)Official−%amazon/openai.gpt-oss-20b-1:0
Europe
128K
$0.07$0.07
$0.3
$
ReasoningToolsJSONCacheVisionWeb
Amazon Web Services (États-Unis)Official−%amazon/openai.gpt-oss-20b-1:0@us
États-Unis
128K
$0.07$0.07
$0.3
$
ReasoningToolsJSONCacheVisionWeb
Google CloudOfficial−%vertex/openai/gpt-oss-20b-maas
Monde
131K
$0.07$0.07
$0.25
$0.007
ReasoningToolsJSONCacheVisionWeb
Groq (États-Unis)Official−%groq/openai/gpt-oss-20b
États-Unis
131K
$0.075$0.075
$0.3
$0.0375
ReasoningToolsJSONCacheVisionWeb
Cloudflare (CF/OPENAI/GPT-OSS-20B)Official−%cloudflare/@cf/openai/gpt-oss-20b
CF/OPENAI/GPT-OSS-20B
128K
$0.2$0.2
$0.3
$
ReasoningToolsJSONCacheVisionWeb

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
0.13 s
OVHcloud (Europe)
Lowest latency
0.44 s
Greenference (Europe)
Highest throughput
397.43 tok/s
Groq (États-Unis)
Best availability
100%
Greenference (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Greenference (Europe)
0.47 s
0.44 s
9.88 s
152.05 tok/s
100%
0%
0%
0%
FlexAI
1.41 s
7.28 s
53.76 s
141.21 tok/s
97.58%
22.23%
12.94%
6.44%
DeepInfra (États-Unis)
s
s
s
tok/s
%
%
%
%
OVHcloud (Europe)
0.13 s
1.21 s
3.79 s
56.73 tok/s
99.93%
0%
0%
0%
Databricks (Europe)
s
s
s
tok/s
%
%
%
%
Databricks
s
s
s
tok/s
%
%
%
%
Amazon Web Services (Europe)
0.4 s
4.22 s
19.88 s
145.8 tok/s
100%
0%
0%
0%
Amazon Web Services (États-Unis)
s
s
s
tok/s
%
%
%
%
Google Cloud
s
s
s
tok/s
%
%
%
%
Groq (États-Unis)
0.16 s
0.87 s
4.81 s
397.43 tok/s
99.74%
10.67%
52.4%
21.74%
Cloudflare (CF/OPENAI/GPT-OSS-20B)
s
s
s
tok/s
%
%
%
%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GPT OSS 20B with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GPT OSS 20B

On Eden AI, prices for this model start at $0.009 per million input tokens and $0.045 per million output tokens. Prices differ by endpoint; the providers table lists each one. .

Up to 131K tokens, depending on the endpoint.

11 endpoints from 9 providers, available in: Monde, Europe, États-Unis. All of them are called with the same Eden AI API key.

Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU.

Over the last 30 days, the fastest first token was 0.13 s (OVHcloud (Europe)) and the highest throughput was 397.43 tokens per second (Groq (États-Unis)).