gpt-oss-20b (free)

OpenAI chatreasoningtool_use Free

API ID: openai/gpt-oss-20b

Input Price
Free
/1M tokens
Output Price
Free
/1M tokens

About gpt-oss-20b (free)

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...

๐Ÿ†
Price Ranking
#6 lowest price among 1240 Chat models โ€” Top 20% cheapest!

Model Specifications

Context Length
131k
Max Output
33k
Release Date
2025-08-05
Capabilities
chat reasoning tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)
  • Simple Q&A (cheaper models available)
๐ŸŽ‰

This model is completely free!

No token costs - use it without worrying about API bills.

Estimate Token Usage

OpenAI Model Lineup

Compare all models from OpenAI to find the best fit

Model Input Output Context Capabilities
gpt-oss-20b (free) Current Free Free 131k chat reasoning tool_use
GPT-3.5 Turbo 16k (older v1106) Free Free 16k chat
GPT-3.5 Turbo 16k (older v1106) Free Free 16k chat
GPT-4 32k Free Free 33k chat
GPT-4 32k Free Free 33k chat
GPT-4 32k (older v0314) Free Free 33k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Google Gemma 3n 4B
Input: Free
Output: Free
Context: 33k
Alibaba Qwen Qwen2.5-VL 7B Instruct
Input: Free
Output: Free
Context: 33k
ByteDance Seedream 4.5
Input: Free
Output: Free
Context: 4k
Black Forest Labs FLUX.2 Max
Input: Free
Output: Free
Context: 47k

๐Ÿš€ Quick Start

Get started with gpt-oss-20b (free) API

OpenAI Python SDK
from openai import OpenAI
client = OpenAI()

response = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)