Baseten Model

OpenAI GPT 120B APIPricing, Parameters & Features

Learn how to use OpenAI GPT 120B. See the API price, context window, parameters, capabilities, and examples. Test the model directly in AI API Console.

Model IDbaseten-openai-gpt-oss-120b
Baseten
OpenAI GPT 120B
baseten-openai-gpt-oss-120b
API
Context
128,072
tokens
Input
$0.1
/ 1M
Output
$0.5
/ 1M
Type
Text Generation
AI model
Supported Features
TextVision
Context Window
128,072
tokens
Input Price
$0.1
/ 1M tokens
Output Price
$0.5
/ 1M tokens
API Access
Available
Test in playground
OVERVIEW

What is OpenAI GPT 120B?

Open-weight GPT model for self-hosted reasoning and instruction-following workloads

You can send the model a prompt and receive a response. Depending on the model features, you can also send images, use tools, and ask for structured data.

AI API Console brings the important model information into one place, so you can understand the API before you start building.

Everything in one place

Check pricing, limits, parameters, features, and API examples without jumping between pages.

Model specifications
API pricing
Parameters
Capabilities
Code examples
SPECIFICATIONS

OpenAI GPT 120B specifications

The main technical details developers should know before using the OpenAI GPT 120B API.

Provider
Baseten

The company that provides this model.

Model ID
baseten-openai-gpt-oss-120b

The identifier used in API requests.

Context Window
128,072 tokens

The amount of information the model can work with.

Input
Text + Image

Types of input supported by this model.

Output
Text

The main type of response generated.

API
Available

Use the model from your own application.

CAPABILITIES

What can OpenAI GPT 120B do?

These are common features developers can use when working with the model API.

Text Generation

Create answers, summaries, explanations, ideas, and other text.

Vision

Send supported images and ask the model to understand them.

Structured Output

Return information in a predictable structured format such as JSON.

Streaming

Receive the response as it is generated instead of waiting for everything.

API Testing

Test prompts and settings before adding the model to your application.

API PRICING

OpenAI GPT 120B API pricing

API cost is based on tokens. Input tokens are the information you send to the model. Output tokens are the information the model generates.

per 1M tokens
Input tokens
$0.1

Tokens sent to the model.

per 1M tokens
Output tokens
$0.5

Tokens generated by the model.

Remember

Your final API bill depends on how many tokens your application uses. Always check the provider's latest pricing before using a model in production.

API PARAMETERS

OpenAI GPT 120B API parameters

Parameters let you control how the model creates its response. Supported parameters can change between models.

temperature
number

Controls how varied the response can be.

top_p
number

Controls how many possible next tokens are considered.

max_output_tokens
integer

Sets the maximum size of the generated response.

stream
boolean

Returns the response while it is being generated.

API EXAMPLE

OpenAI GPT 120B API example

Here is a simple example of an API request. You can use the same idea in your own application.

cURL
curl https://bridge.baseten.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY" \
  -d '{
    "model": "baseten-openai-gpt-oss-120b",
    "messages": [
      {
        "role": "user",
        "content": "Explain artificial intelligence simply."
      }
    ]
  }'
cURLPythonJavaScriptTypeScriptGoJava
FAQ

OpenAI GPT 120B API questions

What is OpenAI GPT 120B?

OpenAI GPT 120B is an AI model from Baseten that developers can use through an API to build AI-powered applications.

How much does OpenAI GPT 120B cost?

OpenAI GPT 120B uses token-based API pricing. Input and output tokens have different prices.

What is the OpenAI GPT 120B context window?

OpenAI GPT 120B has a context window of 128,072 tokens based on the current model configuration.

What is the OpenAI GPT 120B model ID?

The model ID used by this page is baseten-openai-gpt-oss-120b.

How can I test OpenAI GPT 120B?

You can use the AI API Console playground to test prompts, parameters, and API responses.

Does OpenAI GPT 120B support images?

Yes, OpenAI GPT 120B supports image input according to the capabilities configured for this model.

😎Bro, if you wanna skip all this→Open Playground