GPT Oss 20B (free)
OpenAI logo

GPT Oss 20B (free)

gpt-oss-20b-free
OpenAI
Developed by OpenAI, gpt-oss-20b-free is an open-weight 21B parameter model released under the Apache 2.0 license. The model utilizes a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass to ensure efficient processing. Additionally, it supports an expansive context length of 131,072 tokens for handling large-scale inputs.

Pricing

  • Input Tokens: $0 /M tokens
  • Output Tokens: $0 /M tokens
  • Cache Read: $0 /M tokens

Input Modalities

  • Text

Output Modalities

  • Text

Context length

  • 131K tokens

Max output

  • 131K tokens

Capabilities

  • Thinking
  • Streaming
  • Tool calling
  • Web search
  • URL context
  • Code interpreter
  • Computer use
  • File search
  • Memory tool
  • Structured outputs
  • Citations
  • Prompt caching
  • Background mode
  • Server-side sessions

Try this model

Python
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AIHUBMIX_API_KEY"],
    base_url="https://shkq.org/v1",
)

response = client.chat.completions.create(
    model="gpt-oss-20b-free",
    messages=[
      {
        "role": "user",
        "content": "Hello, how are you?"
      }
    ],
    max_tokens=1024,
    stream=False,
)

print(response.choices[0].message.content)

Frequently asked questions

What is GPT Oss 20B (free)?

Developed by OpenAI, gpt-oss-20b-free is an open-weight 21B parameter model released under the Apache 2.0 license. The model utilizes a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass to ensure efficient processing. Additionally, it supports an expansive context length of 131,072 tokens for handling large-scale inputs.