GPT-OSS 20B
Chatgpt-oss-20b
GPT-OSS 20B on FlexAI: OpenAI LLM, Apache 2.0 license, served via the OpenAI-compatible Token Factory at the live market-tracked rate.
Context
128K tokens
API endpoint
/v1/chat/completions
Compatibility
OpenAI
Parameters
20B
License
Apache 2.0
Hardware
H100
Quantization
MXFP4
Estimate your monthly cost
M tokens
M tokens
10M × $0.027/M input$0.27
2M × $0.117/M output$0.23
Estimated monthly cost$0.5
Estimate only, at the current market-tracked rate. Usage-based; no minimums.
Get an API keyQuick Start
gpt-oss-20b
from openai import OpenAI
client = OpenAI(
base_url="https://tokens.flex.ai/v1",
api_key="your-api-key",
)
response = client.chat.completions.create(
model="gpt-oss-20b",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)