gpt-oss-120b
By OpenAI. 116.8 billion parameters, a context window of 131,072 tokens and the licence apache-2.0.
Facts
- Released
- 2025-08-04 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- apache-2.0 the licence the model card declares Hugging Face, read
- Open weights
- Yes the weights are published in this Hugging Face repository Hugging Face, read
- Parameters
- 116.8 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 5.8 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- 2024-06-30 the knowledge cutoff OpenRouter lists OpenRouter, read
- Context window
- 131,072 tokens the maximum position embeddings in the model configuration model configuration, read
- 131,072 tokens the context length OpenRouter lists OpenRouter, read
- Longest output
- 65,536 tokens the largest output OpenRouter's first provider allows OpenRouter, read
- Tool calling
- Yes OpenRouter lists tools among the supported parameters OpenRouter, read
- Structured output
- Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
- Reasoning controls
- Yes OpenRouter lists reasoning controls, with the efforts high, medium, low OpenRouter, read
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- Reasoning: OpenRouter lists reasoning controls for it OpenRouter, read
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Nvidia direct | 0 USD | 0 USD | 128,000 | older than 30 days; check the provider | models.dev, read |
| AkashML through OpenRouter | 0.030 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| AkashML through OpenRouter | 0.030 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| CoreWeave direct | 0.030 USD | 0.170 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| CoreWeave through OpenRouter | 0.030 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| CoreWeave through OpenRouter | 0.030 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| Kilo Gateway direct | 0.030 USD | 0.170 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| OrcaRouter direct | 0.030 USD | 0.170 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| DekaLLM through OpenRouter | 0.030 USD | 0.180 USD | 131,072 | OpenRouter endpoints, read | |
| DekaLLM through OpenRouter | 0.030 USD | 0.180 USD | 131,072 | OpenRouter endpoints, read | |
| Deep Infra direct | 0.037 USD | 0.170 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 0.037 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| DeepInfra through OpenRouter | 0.037 USD | 0.170 USD | 131,072 | OpenRouter endpoints, read | |
| IO.NET direct | 0.040 USD | 0.400 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Crusoe direct | 0.050 USD | 0.200 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Crusoe through OpenRouter | 0.050 USD | 0.250 USD | 131,072 | OpenRouter endpoints, read | |
| Crusoe through OpenRouter | 0.050 USD | 0.250 USD | 131,072 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 0.050 USD | 0.250 USD | 131,072 | OpenRouter endpoints, read | |
| Novita through OpenRouter | 0.050 USD | 0.250 USD | 131,072 | OpenRouter endpoints, read | |
| NovitaAI direct | 0.050 USD | 0.250 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Mancer 2 through OpenRouter | 0.050 USD | 0.300 USD | 131,072 | OpenRouter endpoints, read | |
| Mancer 2 through OpenRouter | 0.050 USD | 0.300 USD | 131,072 | OpenRouter endpoints, read | |
| SiliconFlow direct | 0.050 USD | 0.450 USD | 131,000 | older than 30 days; check the provider | models.dev, read |
| DigitalOcean through OpenRouter | 0.060 USD | 0.420 USD | 128,000 | OpenRouter endpoints, read | |
| DigitalOcean through OpenRouter | 0.060 USD | 0.420 USD | 128,000 | OpenRouter endpoints, read | |
| Abacus direct | 0.080 USD | 0.440 USD | 128,000 | older than 30 days; check the provider | models.dev, read |
| Google through OpenRouter | 0.090 USD | 0.360 USD | 131,072 | OpenRouter endpoints, read | |
| Google through OpenRouter | 0.090 USD | 0.360 USD | 131,072 | OpenRouter endpoints, read | |
| Merge Gateway direct | 0.090 USD | 0.360 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| BaseTen through OpenRouter | 0.100 USD | 0.500 USD | 128,072 | OpenRouter endpoints, read | |
| BaseTen through OpenRouter | 0.100 USD | 0.500 USD | 128,072 | OpenRouter endpoints, read | |
| BaseTen through OpenRouter | 0.100 USD | 0.500 USD | 128,072 | OpenRouter endpoints, read | |
| BaseTen through OpenRouter | 0.100 USD | 0.500 USD | 128,072 | OpenRouter endpoints, read | |
| Baseten direct | 0.100 USD | 0.500 USD | 128,072 | older than 30 days; check the provider | models.dev, read |
| Vercel AI Gateway direct | 0.100 USD | 0.500 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| submodel direct | 0.100 USD | 0.500 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Parasail through OpenRouter | 0.100 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| Parasail through OpenRouter | 0.100 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| OpenReason direct | 0.105 USD | 0.422 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| SambaNova through OpenRouter | 0.140 USD | 0.950 USD | 131,072 | OpenRouter endpoints, read | |
| SambaNova through OpenRouter | 0.140 USD | 0.950 USD | 131,072 | OpenRouter endpoints, read | |
| Amazon Bedrock through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Amazon Bedrock through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Amazon Bedrock through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Amazon Bedrock through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| DeepInfra through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| DeepInfra through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| FastRouter direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Groq direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Groq through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Groq through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Nebius through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Nebius through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Nebius Token Factory direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| OpenRouter direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Phala through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Phala through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Pioneer direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| SiliconFlow through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| SiliconFlow through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Together through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Together through OpenRouter | 0.150 USD | 0.600 USD | 131,072 | OpenRouter endpoints, read | |
| Together AI direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| ai& direct | 0.150 USD | 0.600 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Mara through OpenRouter | 0.150 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| Mara through OpenRouter | 0.150 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| watsonx.ai direct | 0.159 USD | 0.636 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| DeepInfra through OpenRouter | 0.200 USD | 0.950 USD | 131,072 | OpenRouter endpoints, read | |
| DeepInfra through OpenRouter | 0.200 USD | 0.950 USD | 131,072 | OpenRouter endpoints, read | |
| evroc direct | 0.230 USD | 0.920 USD | 65,536 | older than 30 days; check the provider | models.dev, read |
| Hugging Face direct | 0.250 USD | 0.690 USD | 131,072 | older than 30 days; check the provider | models.dev, read |
| Cerebras through OpenRouter | 0.350 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| Cerebras through OpenRouter | 0.350 USD | 0.750 USD | 131,072 | OpenRouter endpoints, read | |
| NanoGPT direct | 0.350 USD | 0.750 USD | 128,000 | older than 30 days; check the provider | models.dev, read |
| STACKIT direct | 0.530 USD | 0.760 USD | 131,000 | older than 30 days; check the provider | models.dev, read |
| CloudFerro Sherlock direct | 2.92 USD | 2.92 USD | 131,000 | older than 30 days; check the provider | models.dev, read |
Run it on your own hardware
Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| MXFP4 | 59.0 GiB | 63.0 GiB | 64.7 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/ggml-org/gpt-oss-120b-GGUF:MXFP4 - LM Studio
lms get ggml-org/gpt-oss-120b-GGUF lms server start - llama.cpp server
llama-server -hf ggml-org/gpt-oss-120b-GGUF:MXFP4 --jinja - vLLM
vllm serve openai/gpt-oss-120b - SGLang
sglang serve --model-path openai/gpt-oss-120b --port 30000
Use it from your harness
Set up for Abacus with the model openai/gpt-oss-120b. Each endpoint page has the same setup for its own address.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"abacus": {
"npm": "@ai-sdk/openai-compatible",
"name": "Abacus",
"options": {
"baseURL": "https://routellm.abacus.ai/v1",
"apiKey": "{env:ABACUS_API_KEY}"
},
"models": {
"openai/gpt-oss-120b": {
"name": "gpt-oss-120b",
"limit": {
"context": 131072,
"output": 65536
}
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"abacus": {
"baseUrl": "https://routellm.abacus.ai/v1",
"api": "openai-completions",
"apiKey": "$ABACUS_API_KEY",
"models": [
{
"id": "openai/gpt-oss-120b"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and Abacus documents no Responses address. A gateway that offers one can sit in between.
- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Claude Code sends Anthropic Messages requests, and Abacus documents no such address. A gateway that translates to that API can sit in between.
- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Other ways to reach it
- ai&, model
openai/gpt-oss-120b - Baseten, model
openai/gpt-oss-120b - CloudFerro Sherlock, model
openai/gpt-oss-120b - Crusoe, model
openai/gpt-oss-120b - DeepInfra, model
openai/gpt-oss-120b - evroc, model
openai/gpt-oss-120b - FastRouter, model
openai/gpt-oss-120b - Groq, model
openai/gpt-oss-120b - Hugging Face, model
openai/gpt-oss-120b - IO.NET, model
openai/gpt-oss-120b - Kilo Gateway, model
openai/gpt-oss-120b
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by openai Hugging Face, read
- Artificial Analysis Intelligence Index: 11.6 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Coding Index: 30.4 published by Artificial Analysis OpenRouter, read
- Artificial Analysis Agentic Index: 3.7 published by Artificial Analysis OpenRouter, read
Sources of this page
- huggingface.co/api/models/openai/gpt-oss-120b, read
- huggingface.co/openai/gpt-oss-120b/raw/main/config.json, read
- huggingface.co/api/models/ggml-org/gpt-oss-120b-GGUF/tree/main, read
- openrouter.ai/api/v1/models/openai/gpt-oss-120b/endpoints, read
- openrouter.ai/api/v1/models, read
- models.dev/api.json, read
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.