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 is OpenAI's open-source model initiative, providing capable AI with open weights for research and deployment. The models demonstrate OpenAI's commitment to AI accessibility while maintaining strong performance. GPT-OSS variants include different sizes and specialized versions like safeguard models. The open weights enable self-hosting, fine-tuning, and customization. For developers seeking OpenAI-quality AI with deployment flexibility, GPT-OSS offers open-source capability from a frontier lab.

๐Ÿ†
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)