gpt-oss-120b on Together AI

GPT-OSS · OpenAI

ServerlessOpen Source

Last refreshed 2026-06-15. Next refresh: weekly.

Why use gpt-oss-120b on Together AI?

Together AI offers gpt-oss-120b with pay-as-you-go pricing at $0.15/1M input tokens. Together AI is a platform for running open-source and proprietary LLMs with fast serverless and dedicated endpoints at competitive inference pricing.

Compare gpt-oss-120b across 13 providers to find the best fit for your use case
Input / 1M
$0.15
Output / 1M
$0.60
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install together
Auth
export TOGETHER_API_KEY=...
Call
from together import Together
client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="openai/gpt-oss-120b",
Model ID
openai/gpt-oss-120b

Request example

from together import Together

client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="openai/gpt-oss-120b",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "openai/gpt-oss-120b", not the LLMReference slug "gpt-oss-120b".
  • Together uses "organization/model-name" format, e.g. "meta-llama/Llama-4-Scout-17B-16E-Instruct" or "Qwen/QwQ-32B". See the Together model catalog for the exact ID.
  • The examples expect TOGETHER_API_KEY; rename it only if your application config maps the new variable.

Compare gpt-oss-120b Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI$0.35$0.75
OpenRouter$0.04$0.18
Together AI$0.15$0.60
Fireworks AI$0.15$0.60
GCP Vertex AI$0.09$0.36
View all 13 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.15
Output tokens$0.60

Capabilities

JSON / Tool useStructured Outputs

About gpt-oss-120b

OpenAI open-weight model with 120 billion parameters. Text-only model supporting reasoning, function calling, and structured outputs. Free for self-hosting. Released August 5, 2025.

Get Started