GPT-OSS 120B

by deepinfra

OpenAI open-weight 120B, strong general reasoning at a fraction of hosted GPT pricing.

Parameters
Context Length
128K
Category
chat
Available Serverless

Run queries immediately, pay only for usage

$0.05in|$0.18out

Per 1M tokens

Try this modelView documentation

About this model

OpenAI open-weight 120B, strong general reasoning at a fraction of hosted GPT pricing.

Capabilities

Advanced reasoning

Providers

One model, several sources. DOS routes to the first that answers and falls back automatically, or you can pin a provider per request.

ProviderInput /1MOutput /1MContextServed from
DeepInfraAvailablebfloat16
$0.05 (cheapest)$0.18 (cheapest)128KUS
Together AIAvailable
$0.16$0.63128KUS

Model Details

Provider
Model ID
gpt-oss-120b
Parameters
Context Length
128K tokens
Category
chat

API Usage

Use the DOS API to integrate GPT-OSS 120B into your applications. Our API is compatible with OpenAI's client libraries for easy migration.

Model ID

gpt-oss-120b

Python

python
from dos import DOS

client = DOS()

response = client.chat.completions.create(
    model="gpt-oss-120b",
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)

print(response.choices[0].message.content)

cURL

bash
curl https://api.dos.ai/v1/chat/completions \
  -H "Authorization: Bearer $DOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-oss-120b",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ]
  }'

Node.js

javascript
import DOS from 'dos-ai';

const client = new DOS();

const response = await client.chat.completions.create({
  model: "gpt-oss-120b",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ]
});

console.log(response.choices[0].message.content);