openai

OpenAI: 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...

Context
131k tokens
Input / 1M tokens
$0.04
Output / 1M tokens
$0.18
Benchmark

Pricing

Input tokens$0.04 per 1M tokens
Output tokens$0.18 per 1M tokens

Technical details

Model IDopenai/gpt-oss-120b
Context window131k tokens
Input modalitiestext
Output modalitiestext
TokenizerGPT

Use with MegaBrain

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'openai/gpt-oss-120b',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use OpenAI: gpt-oss-120b?

Get an API key and start making requests in minutes.

Get an API key