GPT-OSS 120B API
Access GPT-OSS 120B through one API key. OpenAI's open-source model.
OpenAI's open-source 120B parameter model. Extremely affordable with competitive performance.
Takes 30 seconds.
GPT-OSS 120B API pricing
Pay per request from your YepAPI balance — no subscription, no monthly minimum. Prices updated October 23, 2026.
| Token type | Price |
|---|---|
| Input | $0.22 / 1M tokens |
| Output | $0.89 / 1M tokens |
| Context window | 131K tokens |
| What it costs | Per job | Per 1,000 |
|---|---|---|
| Chat reply1K input + 500 output tokens | $0.0007 | $0.665 |
| RAG answer8K input + 800 output tokens | $0.0025 | $2.47 |
| Agent step with tools30K input + 2K output tokens | $0.0084 | $8.38 |
| Long document summary100K input + 2K output tokens | $0.024 | $23.78 |
4,900+
Developers
2.3M+
API calls served
184
Endpoints
$0.01
Per call
Yep, that's it.
Try it live
Send a message and see GPT-OSS 120B respond in real time.
Maximum tokens in the response.
Real-time tokens
GPT-OSS 120B specs
| Provider | OpenAI |
|---|---|
| Model ID | openai/gpt-oss-120b |
| Endpoint | /v1/ai/chat |
| Type | Text Generation |
| Context window | 131K tokens |
| Max output | 131K tokens |
| Reasoning | No |
| OpenAI-compatible | Yes — /v1/ai/chat/completions |
How to get a GPT-OSS 120B API key
- 1
Create an account
Sign up at yepapi.com with Google or email. It takes about 30 seconds.
- 2
Create an API key
Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.
- 3
Call GPT-OSS 120B
Send a request to /v1/ai/chat with the x-api-key header and model "openai/gpt-oss-120b".
- 4
Pay as you go
Usage is billed per request from your balance. Top up any amount; there is no subscription.
Strengths
At $0.22 per 1M input tokens, it is one of the cheapest capable general-purpose models available.
An openly released 120B-parameter model from OpenAI, offering transparency and freedom from closed-model lock-in.
Handles a broad range of text tasks, from Q&A and summarization to drafting and reasoning, with a 131K context window.
Generates and explains code across common languages, useful for scripting and developer-assistant tasks.
Quick start
Copy this snippet and start making calls with GPT-OSS 120B.
const res = await fetch('https://api.yepapi.com/v1/ai/chat', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "openai/gpt-oss-120b",
"messages": [
{
"role": "user",
"content": "Explain API gateways in 2 sentences."
}
],
"maxTokens": 256
}),
});
const { data } = await res.json();
console.log(data.message.content);GPT-OSS 120B vs similar models
Every model below runs on the same API key — switch by changing the model ID.
| Model | Provider | Price | Context |
|---|---|---|---|
| GPT-OSS 120B | OpenAI | $0.22 in / $0.89 out per 1M | 131K |
| GPT-6 Luna | OpenAI | $0.15 in / $0.74 out per 1M | 1.1M |
| GPT-6 Luna Pro | OpenAI | $0.15 in / $0.74 out per 1M | 1.1M |
| GPT-4o Mini | OpenAI | $0.22 in / $0.89 out per 1M | 128K |
| GPT-5.6 Luna | OpenAI | $0.30 in / $1.77 out per 1M | 1.1M |
| GPT-5.6 Luna Pro | OpenAI | $0.30 in / $1.77 out per 1M | 1.1M |
| Nemotron 3 Super | NVIDIA | $0 in / $0 out per 1M | 262K |
| Qwen3.7 Flash | Qwen | $0.04 in / $0.19 out per 1M | 1M |
Why use GPT-OSS 120B through YepAPI?
GPT-OSS 120B API: OpenAI's open-weight 120B model
GPT-OSS 120B is OpenAI's open-weight 120-billion-parameter model, offering competitive general-purpose performance at extremely low cost with a 131K context window. YepAPI serves it through one OpenAI-compatible endpoint.
The same YepAPI key also reaches DeepSeek, Claude, Grok, Gemini, and more, plus SEO, SERP, and scraping endpoints, so this open model can slot into the same pipeline as your other tools.
What is GPT-OSS 120B?
GPT-OSS 120B is OpenAI's open-weight large language model with 120 billion parameters, released openly rather than as a closed API-only model. It provides a 131,072-token context window and up to 131,072 output tokens, and delivers competitive general-purpose performance, Q&A, summarization, drafting, reasoning, and coding, at an extremely low price. Its open-weight nature is the headline: it offers transparency and avoids lock-in to a single closed model, while still being backed by OpenAI's training. It is a strong default when you want a capable, inexpensive, openly available model for everyday text and code tasks.
Build with GPT-OSS 120B via YepAPI
Call YepAPI's OpenAI-compatible /v1/ai/chat endpoint with any OpenAI client. Set the base URL, add your key, and set the model string to GPT-OSS 120B; your existing chat-completion code works unchanged. Switching models is one string. The same key reaches the whole catalog, so you can run cheap, high-volume work on this open model and reserve premium models for the few tasks that need them, without juggling multiple integrations.
GPT-OSS 120B API pricing — $0.22 input / $0.89 output per 1M tokens
GPT-OSS 120B costs just $0.22 per 1M input tokens and $0.89 per 1M output tokens, making it one of the cheapest capable models in the catalog. At these rates you can process enormous volumes of text and code for very little, which suits batch jobs, enrichment, and developer tooling. Per-token billing keeps even heavy usage predictable and inexpensive.
GPT-OSS 120B for affordable general-purpose and coding work
GPT-OSS 120B is a strong fit for everyday assistant and developer tasks: scripting, code explanation, summarization, classification, and general Q&A at scale. Its 131K context handles long inputs, and the rock-bottom price makes it practical for high-volume agents and pipelines. For teams that value an openly released model and want to keep costs minimal without giving up broad capability, it is an easy default.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
OpenAI's open-source 120B parameter model. Extremely affordable with competitive performance.
GPT-OSS 120B costs $0.22 per 1M input tokens and $0.89 per 1M output tokens through YepAPI, billed per request with no monthly fee. For example, a chat reply (1K input + 500 output tokens) costs about $0.0007.
Sign up at yepapi.com (Google or email, about 30 seconds), open the dashboard and create an API key. The same key works for GPT-OSS 120B and every other model — no separate OpenAI account or waitlist.
Use "openai/gpt-oss-120b" as the model on /v1/ai/chat. The short alias "gpt-oss" also works.
Yes. Point the OpenAI SDK at https://api.yepapi.com/v1/ai with your YepAPI key and set model to "openai/gpt-oss-120b". Streaming works the same way, so existing OpenAI code only needs the base URL and key changed.
GPT-OSS 120B supports a 131K token context window with up to 131K output tokens per request.
Explore more models
GPT-5.2 Chat
OpenAIAccess GPT-5.2 Chat through one API key. Reliable chat model.
GPT-5.2 Codex
OpenAIAccess GPT-5.2 Codex through one API key. Reliable coding model with massive context.
GPT-6 Luna
OpenAIAccess GPT-6 Luna through one API key. OpenAI GPT-6 Fast & Low-Cost.
Grok 4.3
xAIAccess Grok 4.3 through one API key. xAI's latest model with 1M context.
Grok 4.6
xAIAccess Grok 4.6 through one API key. xAI Grok 4.6 Frontier Coding & STEM.
Grok 4.7
xAIAccess Grok 4.7 through one API key. xAI Flagship for Coding & Agents.
More Text Generation models
- Claude Sonnet 5 API · Anthropic
- Seed 1.6 API · ByteDance
- Gemini 3 Flash API · Google
- Qwen3.7 Plus API · Qwen
- Qwen3.7 Flash API · Qwen
- DeepSeek V4 Pro API · DeepSeek
- DeepSeek V4 Flash API · DeepSeek
- Qwen3.8 Flash API · Qwen
- Qwen 3.5 122B API · Qwen
- Devstral 2 API · Mistral
- Solar Pro 4 API · Upstage
- GLM 5 API · Z.ai