YepAPI
OpenAIText Generation/v1/ai/chat

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 typePrice
Input$0.22 / 1M tokens
Output$0.89 / 1M tokens
Context window131K tokens
What it costsPer jobPer 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.

POST/v1/ai/chat

Maximum tokens in the response.

Real-time tokens

Hit "Send Request" to see the response

GPT-OSS 120B specs

ProviderOpenAI
Model IDopenai/gpt-oss-120b
Endpoint/v1/ai/chat
TypeText Generation
Context window131K tokens
Max output131K tokens
ReasoningNo
OpenAI-compatibleYes — /v1/ai/chat/completions

How to get a GPT-OSS 120B API key

  1. 1

    Create an account

    Sign up at yepapi.com with Google or email. It takes about 30 seconds.

  2. 2

    Create an API key

    Open the dashboard, go to API Keys and create a key. Copy it — it starts with yep_sk_.

  3. 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. 4

    Pay as you go

    Usage is billed per request from your balance. Top up any amount; there is no subscription.

Strengths

✓
Cost-effective

At $0.22 per 1M input tokens, it is one of the cheapest capable general-purpose models available.

✓
Open source

An openly released 120B-parameter model from OpenAI, offering transparency and freedom from closed-model lock-in.

✓
General purpose

Handles a broad range of text tasks, from Q&A and summarization to drafting and reasoning, with a 131K context window.

✓
Coding

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.

ModelProviderPriceContext
GPT-OSS 120BOpenAI$0.22 in / $0.89 out per 1M131K
GPT-6 LunaOpenAI$0.15 in / $0.74 out per 1M1.1M
GPT-6 Luna ProOpenAI$0.15 in / $0.74 out per 1M1.1M
GPT-4o MiniOpenAI$0.22 in / $0.89 out per 1M128K
GPT-5.6 LunaOpenAI$0.30 in / $1.77 out per 1M1.1M
GPT-5.6 Luna ProOpenAI$0.30 in / $1.77 out per 1M1.1M
Nemotron 3 SuperNVIDIA$0 in / $0 out per 1M262K
Qwen3.7 FlashQwen$0.04 in / $0.19 out per 1M1M

Why use GPT-OSS 120B through YepAPI?

✓One API key for all models — no separate accounts
✓OpenAI SDK compatible — just change the base URL
✓No monthly minimums — pay per token
✓Switch models with one line of code
✓Full provider passthrough — citations, search results, and all extras included
✓Streaming and non-streaming support on every model
✓Works with Cursor, Claude, LangChain, and any LLM tool
✓Unified billing across all providers

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.

Start generating in 30 seconds

Pay per call, no subscriptions.

What developers say

“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”

Marcus T.

SEO Platform Founder

“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”

Priya S.

Full-Stack Developer

“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”

Jake R.

Indie Hacker

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.

Ready to use GPT-OSS 120B?

Pay per call, no subscriptions.

Explore more models