GPT-OSS 20B
by OpenAI
GPT-OSS 20B pricing, context window and specs
GPT-OSS 20B is an OpenAI model with a 131,072 token context window. It costs $0.05 per million input tokens and $0.20 per million output tokens, and supports reasoning, tool calling and structured output.
GPT-OSS 20B specs
Provider
OpenAI
Model ID
openai/gpt-oss-20b
Input price
$0.05 per 1M tokens
Output price
$0.20 per 1M tokens
Context window
131,072 tokens
Modalities
Text in, text out
Tool calling
โ Supported
Structured output
โ Supported
Reasoning
โ Supported
Vision
Not supported
Prices checked on
When to use GPT-OSS 20B
Pick GPT-OSS 20B for work you run in bulk, where the cost of each call matters more than depth.
High volume steps. Classifying, tagging, routing and pulling fields out of text.
Problems that need thinking. It can reason through a task before it answers.
Agents that use tools. It supports tool calling and structured output, so it can act and hand back clean JSON.
If you need more capability, GPT 4.1 Nano costs $0.10 per million input tokens.
Cost calculator
What GPT-OSS 20B costs at your volume
Pick a workload or move the sliders. The estimate uses the prices in the table above.
Templates
Templates you can run with GPT-OSS 20B
Ready-made workflows and agents. Copy one, pick GPT-OSS 20B in the AI step and run it.
Prompt
Lead Fit Scoring & Rationale Builder
A reusable sales prompt template for small teams and founders to evaluate inbound or outbound leads, explain the scoring rationale, surface missing qualification information, and recommend the best next sales action.

Fetch Hive
Build with it
Use GPT-OSS 20B in Fetch Hive
Fetch Hive is an AI agent builder. Pick this model in any prompt, workflow or agent step, or call it from your own code with one API request.
Call GPT-OSS 20B through the AI Gateway
1
Create a prompt and pick the model
Write your prompt in Fetch Hive and choose this model from the model library. Add a fallback model if you want a backup.
2
Deploy the prompt
Deploying gives the prompt a deployment name and a variant that your code can call.
3
Send one POST request
Call the invoke endpoint with your API key. Usage is charged to your AI wallet at the provider list price, and each call uses one task.
Compare
Compare GPT-OSS 20B with similar models
List prices per 1M tokens and context window, next to the models people most often weigh it against.
GPT 5 Nano
GPT 6 Luna

Gemini 2.0 Flash Lite
FAQ



