Models / OpenAI
OpenAI

gpt-oss-20b (free)

openai/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...

Input
$0 / 1M tokens
Output
$0 / 1M tokens
Context
131K tokens

Capabilities

✓ Streaming✓ Tool / function calling✓ JSON / structured output○ Vision (image input)

Call this model

Pass openai/gpt-oss-20b:free as the model. Change only the base URL from your existing OpenAI SDK setup.

quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
  -H "Authorization: Bearer $MDB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-20b:free",
    "messages": [{"role":"user","content":"Hello!"}]
  }'

Prices are final — the routing margin is already included. See the full pricing table or the API docs.