gpt-oss-20b on FlexAI

GPT-OSS · OpenAI

Serverless
Open Source

Last refreshed 2026-11-18. Next refresh: weekly.

Why use gpt-oss-20b on FlexAI?

FlexAI offers gpt-oss-20b with pay-as-you-go pricing at $0.02/1M input tokens. FlexAI operates Token Factory, an OpenAI-compatible inference API for open models, plus dedicated GPU endpoints, fine-tuning, training, and private-cloud AI Factory deployments.

Compare gpt-oss-20b across 14 providers to find the best fit for your use case
Input / 1M
$0.018
Output / 1M
$0.090
Cache
read $0.0027
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: gpt-oss-20b
Model ID
gpt-oss-20b

Request example

Curated snippets for this provider are not sourced yet. Use FlexAI documentation with model ID gpt-oss-20b.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare gpt-oss-20b Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI$0.20$0.30
OpenRouter$0.03$0.14
Fireworks AI$0.07$0.30
GCP Vertex AI$0.07$0.25
NVIDIA NIM——
View all 14 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.02
Output tokens$0.09

Capabilities

JSON / Tool useStructured Outputs

About gpt-oss-20b

OpenAI open-weight model with 20 billion parameters. Lightweight, efficient text-only model with reasoning and function calling. Free for self-hosting. Released August 5, 2025.

Get Started

Model Specs

Released2025-08-05
Parameters20B
Context128K
ArchitectureDecoder Only
Knowledge cutoff2025-08

Related Models on FlexAI

Provider

FlexAI

FlexAI Systems Inc

All models on FlexAI →