OpenAI open-source 120B flagship model
GPT OSS 120B stands as the pinnacle of our open-source flagship offerings, engineered for complex reasoning and extensive context retention. With 120 billion parameters and FP16 quantization, this model delivers exceptional precision across coding, analysis, and creative generation tasks. Its massive 128,000-token context window allows developers to process entire codebases or lengthy documentation in a single pass, ensuring coherence over long interactions. As part of the GPT family, it maintains high standards of reliability and output quality, making it ideal for production-grade applications requiring deep understanding and nuanced responses.
Accessible via the Starter tier on LLM Resayil, this model combines enterprise-grade performance with the flexibility of an MIT license, enabling unrestricted deployment and modification. While the credit multiplier reflects its high computational demand, the trade-off yields superior accuracy for critical workflows. Developers can integrate GPT OSS 120B directly into pipelines without worrying about proprietary restrictions, fostering innovation in custom AI solutions. Choose this model when your project demands the highest level of linguistic capability and context awareness available in our open-weight ecosystem.
from openai import OpenAI
client = OpenAI(
base_url="https://llmapi.resayil.io/v1/",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="gpt-oss:120b",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)
import anthropic
client = anthropic.Anthropic(
base_url="https://llmapi.resayil.io/v1",
api_key="YOUR_API_KEY"
)
message = client.messages.create(
model="gpt-oss:120b",
max_tokens=1024,
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(message.content[0].text)
const response = await fetch(
"https://llmapi.resayil.io/v1/chat/completions",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
},
body: JSON.stringify({
model: "gpt-oss:120b",
messages: [
{ role: "user", content: "Hello!" }
]
})
}
);
const data = await response.json();
console.log(data.choices[0].message.content);
curl https://llmapi.resayil.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "gpt-oss:120b",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'