Try in playground
Test GPT-OSS 120B in the Runpod Hub playground.
This endpoint is fully compatible with the OpenAI API. See the OpenAI compatibility examples below.
Request
All parameters are passed within theinput object in the request body.
Randomness of the output. Lower values make output more predictable and deterministic. Range: 0.0-1.0.
Nucleus sampling threshold. Samples from the smallest set of words whose cumulative probability exceeds this threshold.
Response
OpenAI API compatibility
GPT-OSS 120B is fully compatible with the OpenAI API format. You can use the OpenAI Python client to interact with this endpoint.Python (OpenAI SDK)
stream=True:
Python (Streaming)