Skip to main content

Model ID

gpt-oss-120b

Provider

OpenAI — served by Fireworks AI, Groq, Baseten, Cerebras, DeepInfra, DigitalOcean Inference, BytePlus (Ark), Amazon Bedrock, Scaleway Generative APIs, Cloudflare Workers AI, Hugging Face Inference Providers, Novita AI

Context

131,072-token context window · 131,072 max output tokens

Capabilities

Streaming, JSON mode, Tool calling, Reasoning, Long context
OpenAI’s Apache-2.0 open-weight 120B reasoning model for high-volume tool use.

Pricing

Typical request (5K input / 1K output tokens): ~$0.0025. Billing is metered per token. Prices are live at GET /api/v1/models/gpt-oss-120b; the values above were read from that endpoint when this page was generated.

Use this model

The SDK examples assume you have created a server-side client.

Supported parameters

messages, temperature, max_completion_tokens, top_p, stop, frequency_penalty, presence_penalty, seed, stream, user, routing, tools, tool_choice, response_format, reasoning, reasoning_effort Send only parameters from this list. routing.require_parameters (default true) skips any provider rail that cannot honor every requested parameter, so unsupported parameters reduce the rails eligible to serve the request.

Routing & fallbacks

Pin gpt-oss-120b with model when you want this model’s behavior, or list it in an ordered models array. With ninja/auto first, the router’s top pick runs first and gpt-oss-120b is the explicit fallback; ninja/auto acts as the router only when it is the first entry.
You are billed at the resolved model’s token rates, and only for the successful execution.

Check live support

TypeScript SDK
Guides: Text generation · Fallbacks · Smart routing · Pricing · All models