OpenaibalancedTool use

gpt-oss-120b

gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI 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.

131K context·~98K words·131K max output
Context window131Ktokens
Max output131Ktokens

Context window

This model accepts 131K tokens in one request (~98K words of text).

Context window size131K tokens
4K32K128K1M10M

What fits in one request

  • Short document
    About 1,500 words of text
    Fits
  • Long document
    About 37K words of text
    Fits
  • Small codebase
    About 150K words of text
    Won't fit
  • Full novel
    About 375K words of text
    Won't fit

Specifications

Context size, pricing, and release info in one place.

Context window
131,072 tokens (131K)
Max output tokens
131,072 tokens (131K)
Speed tier
balanced
Provider
Openai
Release date
Aug 2025
Input cost
$0.100/M / 1M tokens
Output cost
$0.500/M / 1M tokens

Capabilities

See which features this model supports, such as vision, tools, and streaming.

Supported (5)
Tool use
Supported
Function calling
Supported
Extended thinking
Supported
Streaming
Supported
Prompt caching
Supported
Not supported (3)
Vision
Not supported
Web search
Not supported
Batch API
Not supported

Best for

Jump to a guide or ranking that matches each workload.

Compare gpt-oss-120b

Open a side-by-side comparison with one click.

Frequently asked questions

Short answers about context size and how this model behaves.

gpt-oss-120b has a context window of 131K tokens (131,072 tokens). This covers most professional use cases including large code files, lengthy reports, and long conversation histories.

More from Openai

Other models by Openai in our catalog.

Powered by Mem0

Use a smaller model.
Get better results.

Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.

Example: a multi-turn chat session

Without Mem0~128K tokens sent
Full history
Repeated info
Old context
With Mem0~20K tokens sent
Key memories
Current turn

80% less to send — works with any model