Get started
OpenAI
OpenAI

Openai/gpt Oss 120b

Openai/gpt Oss 120b is a large language model by OpenAI with support for function calling. It supports a 131K token context window with up to 131K tokens of output. Priced at $0.039 per million input tokens and $0.19 per million output tokens, it is one of the most cost-efficient options in its class. Access Openai/gpt Oss 120b through Inworld Router with OpenAI SDK compatibility, built-in failover, and intelligent routing across providers.
Function Calling

Step 1 — Create Router

curl --location 'https://api.inworld.ai/router/v1/routers' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "name": "compare-frontier-models", "defaultRoute": { "route_id": "default", "variants": [ { "variant": { "variant_id": "deepinfra/openai/gpt-oss-120b-a", "model_id": "deepinfra/openai/gpt-oss-120b" }, "weight": 33 }, { "variant": { "variant_id": "groq/openai/gpt-oss-120b-b", "model_id": "groq/openai/gpt-oss-120b" }, "weight": 33 }, { "variant": { "variant_id": "openai/gpt-3.5-turbo-c", "model_id": "openai/gpt-3.5-turbo" }, "weight": 34 } ] } }'

Step 2 — Chat Completion

curl --location 'https://api.inworld.ai/v1/chat/completions' \ --header 'Authorization: Basic <your-api-key>' \ --header 'Content-Type: application/json' \ --data '{ "model": "inworld/compare-frontier-models", "messages": [{"role": "user", "content": "Hello!"}] }'

Openai/gpt Oss 120b pricing and providers

Access Openai/gpt Oss 120b through Inworld Router or Realtime API via 2 inference providers. Compare pricing and specs across providers below. By using the AI provider(s) below you acknowledge you reviewed and agree to their terms listed in the Legal section under the AI provider's name.
CapabilitiesInput modalitiesOutput modalities
DeepInfraDeepInfra131.1K131.1K$0.039$0.19
GroqGroq131.1K32.8K$0.15$0.60+2

Other OpenAI models available through Inworld

Compare Openai/gpt Oss 120b with other OpenAI models available through Inworld Router or Realtime API.
CapabilitiesInput modalitiesOutput modalitiesInference provider
OpenAIGPT 3.5 Turbo16.4K4.1K$0.50$1.50
OpenAIGPT 4.11M32.8K$2.00$8.00+2
OpenAIGPT 4.1 Mini1M32.8K$0.40$1.60+2
OpenAIGPT 4.1 Nano1M32.8K$0.10$0.40+1
OpenAIGPT 4.1 Nano 2025 04 141M32.8K$0.10$0.40+1
OpenAIGPT 4o128K16.4K$2.50$10.00+1
OpenAIGPT 4o 2024 08 06128K16.4K$2.50$10.00+1
OpenAIGPT 4o Mini128K16.4K$0.15$0.60+1
OpenAIGPT 4o Mini 2024 07 18128K16.4K$0.15$0.60+1
OpenAIGPT 4o Mini Audio Preview$0.15$0.60
OpenAIGPT 5 Mini272K128K$0.25$2.00+4
OpenAIGPT 5 Nano272K128K$0.05$0.40+4
OpenAIGPT 5.2272K128K$1.75$14.00+4
OpenAIGPT 5.41.1M128K$2.50$15.00+3
OpenAIGPT 5.4 Mini272K128K$0.75$4.50+4
OpenAIGPT 5.4 Nano272K128K$0.20$1.25+4
OpenAIGPT 5.51.1M128K$5.00$30.00+4
OpenAIGPT Audio Mini128K16.4K$0.60$2.40
OpenAIOpenai/gpt Oss 120b Turbo$0.15$0.60
OpenAIOpenai/gpt Oss 20b131.1K32.8K$0.075$0.30+2
OpenAIOpenai/gpt Oss Safeguard 20b131.1K65.5K$0.075$0.30+2

Start building with Openai/gpt Oss 120b

Access Openai/gpt Oss 120b and every other model through Inworld Router or Realtime API. Create your free account and start routing in minutes.
Copyright © 2021-2026 Inworld AI
Openai/gpt Oss 120b by OpenAI — Pricing, Specs & API Access | Inworld