LLM Reference
Featherless

Using gpt-oss-20b on Featherless

Implementation guide · GPT-OSS · OpenAI

ServerlessOpen Source

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. 1
    Create an account at Featherless and generate an API key.
  2. 2
    Use the Featherless SDK or REST API to call openai/gpt-oss-20b — see the documentation for request format.
  3. 3
    You'll be billed $0.04/1M input, $0.15/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
FEATHERLESS_API_KEY
Model ID
openai/gpt-oss-20b

Use 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

TypePrice (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

Provider

Featherless
Featherless