gpt-oss-20b

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 lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs.

ChatOpenAI131k tokens$0.0327 / $0.1417 · 1M

openai/gpt-oss-20b

Contexto
131k tokens
Máx. completion
131,072
Tools
JSON
Lanzamiento
2025-08-05

Llámalo desde Geek Hub

El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-20b",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Consigue tu API key

Preguntas frecuentes

¿Qué es gpt-oss-20b?
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 lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs. gpt-oss-20b corre en el API de Geek Hub (compatible con OpenAI). Id: openai/gpt-oss-20b.
¿gpt-oss-20b es gratis?
No. El input cuesta $0.0327 / 1M tokens y el output $0.1417 / 1M tokens en Geek Hub (markup incluido).
¿Cuál es el contexto de gpt-oss-20b?
gpt-oss-20b tiene una ventana de 131k tokens. Soporta hasta 131,072 tokens de completion.
¿gpt-oss-20b soporta tool calling y structured outputs?
gpt-oss-20b acepta tools y tool_choice para function calling. También soporta structured outputs con un JSON schema en response_format.
¿Cuándo se lanzó gpt-oss-20b?
gpt-oss-20b se lanzó el 5 de agosto de 2025.

Más modelos de OpenAI