OpenAI: GPT OSS 120B
gpt-oss-120b
An open-weight, 117B-parameter Mixture-of-Experts (MoE) language model designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized to run on a single H100 GPU with native MXFP4 quantization. The model supports configurable reasoning depth, full chain-of-thought access, and native tool use, including function calling, browsing, and structured output generation.
Modalities
Text → Text
Input / output price
$0.039 / $0.195 per 1M
Context
128K · max output 16K
Capabilities
Pricing
Billed per token actually used and deducted from your credits.
| Item | USD per 1M tokens |
|---|---|
| Input | $0.039 |
| Output | $0.195 |
| Cached input | $0.0195 |
Calculator
Drag the sliders to estimate what this model will cost.
- Per request
- $0.00027
- Per day
- $0.1365
- Per month (30 days)
- $4.10
GPT OSS 120B: input $0.039/M · output $0.195/M · cached input $0.0195/M
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-oss-120b", "max_tokens": 800,
"messages": [{"role": "user", "content": "…"}]}'Code samples
OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to gpt-oss-120b.
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-oss-120b",
"stream": true,
"messages": [{"role": "user", "content": "Hello"}]
}'Use it in a client: Cursor · Cline · SillyTavern · Codex
Parameters
Common OpenAI parameters can be passed as-is.
temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseedFAQ
- How is GPT OSS 120B billed?
- Input is $0.039 and output is $0.195 per million tokens; cached input is $0.0195. The charge for every request is listed in Usage Logs in the console.
- How long is the context window?
- 128K tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
- Does it support streaming?
- Yes. Add
"stream": trueto the request to receive server-sent events in the OpenAI format.