Featherless exposes gpt-oss-20b through model ID openai/gpt-oss-20b. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-09-24. Next refresh: weekly.
Quick Start
- 1
- 2Use the Featherless SDK or REST API to call
openai/gpt-oss-20b— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
FEATHERLESS_API_KEYModel ID
openai/gpt-oss-20bUse exact Featherless catalog id in modelProvider.providerModelId (HF-style org/name). Not interchangeable with LLM Reference slugs.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.featherless.ai/v1",
api_key=os.environ["FEATHERLESS_API_KEY"],
)
response = client.chat.completions.create(
model="openai/gpt-oss-20b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)Pricing on Featherless
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.04 |
| Output tokens | $0.15 |
Capabilities
JSON / Tool useStructured Outputs
About gpt-oss-20b
OpenAI open-weight model with 20 billion parameters. Lightweight, efficient text-only model with reasoning and function calling. Free for self-hosting. Released August 5, 2025.
Model Specs
Released2025-08-05
Parameters20B
Context131k
ArchitectureDecoder Only
Knowledge cutoff2025-08