---
title: OpenAI: Gpt Oss 120b (free) | Text Generation | ModelsLab
description: Free 120B open-weight LLM with MoE architecture (117B total params, 5.1B active), 128 experts, 128k context; excels in reasoning, coding, agents on single.
url: https://modelslab.com/models/openai/openai-gpt-oss-120b-free/api.md
canonical: https://modelslab.com/models/openai/openai-gpt-oss-120b-free/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:08:20.394756Z
---

OpenAI: gpt-oss-120b (free)
---

 [LLMs.txt](https://modelslab.com/models/open_router/openai-gpt-oss-120b-free/llms.txt) [.md](https://modelslab.com/models/openai/openai-gpt-oss-120b-free.md)

openai-gpt-oss-120b-free openai Closed Source Model

OpenAI: gpt-oss-120b (free)
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### OpenAI: gpt-oss-120b (free)

openai openai-gpt-oss-120b-free

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[AA](https://modelslab.com/models/open_router/aion-labs-aion-1.0-mini)[Open Router](https://modelslab.com/models/open_router)

 [AionLabs: Aion-1.0-Mini

Closed Source Model](https://modelslab.com/models/open_router/aion-labs-aion-1.0-mini)

[XG](https://modelslab.com/models/open_router/x-ai-grok-4.1-fast)[Open Router](https://modelslab.com/models/open_router)

 [xAI: Grok 4.1 Fast

Closed Source Model](https://modelslab.com/models/open_router/x-ai-grok-4.1-fast)

[ER](https://modelslab.com/models/together_ai/togethercomputer-EssentialAI-RNJ-1-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [EssentialAI Rnj-1 Instruct

Closed Source Model](https://modelslab.com/models/together_ai/togethercomputer-EssentialAI-RNJ-1-Instruct)

[QN](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Thinking)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Next 80B A3b Thinking

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Thinking)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-32b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 32B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-32b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-thinking-2507)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 30B A3B Thinking 2507

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-30b-a3b-thinking-2507)

[L3](https://modelslab.com/models/together_ai/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)[Together AI](https://modelslab.com/models/together_ai)

 [Llama 3.1 Nemotron 70B Instruct HF

Closed Source Model](https://modelslab.com/models/together_ai/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[OG](https://modelslab.com/models/open_router/openai-gpt-5.1-codex-max)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5.1-Codex-Max

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5.1-codex-max)

[N3](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)[Together AI](https://modelslab.com/models/together_ai)

 [nim/nvidia/llama-3.1-nemotron-70b-instruct

Closed Source Model](https://modelslab.com/models/together_ai/nim-nvidia-llama-3.1-nemotron-70b-instruct)

[BE](https://modelslab.com/models/open_router/baidu-ernie-4.5-vl-424b-a47b)[Open Router](https://modelslab.com/models/open_router)

 [Baidu: ERNIE 4.5 VL 424B A47B

Closed Source Model](https://modelslab.com/models/open_router/baidu-ernie-4.5-vl-424b-a47b)

[ZG](https://modelslab.com/models/open_router/z-ai-glm-4.6)[Open Router](https://modelslab.com/models/open_router)

 [Z.ai: GLM 4.6

Closed Source Model](https://modelslab.com/models/open_router/z-ai-glm-4.6)

[OO](https://modelslab.com/models/open_router/openai-o4-mini)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: o4 Mini

Closed Source Model](https://modelslab.com/models/open_router/openai-o4-mini)

[SR](https://modelslab.com/models/open_router/switchpoint-router)[Open Router](https://modelslab.com/models/open_router)

 [Switchpoint Router

Closed Source Model](https://modelslab.com/models/open_router/switchpoint-router)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen2-1.5B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen 2 Instruct (1.5B)

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2-1.5B-Instruct)

[GL](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)[Open Router](https://modelslab.com/models/open_router)

 [Google: Lyria 3 Clip Preview

Closed Source Model](https://modelslab.com/models/open_router/google-lyria-3-clip-preview)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3.5-35b-a3b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5-35B-A3B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3.5-35b-a3b)

[![Arcee AI: Virtuoso Large](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/9a2e71d3-3c00-4738-a62c-be4c7eb02beb.png)](https://modelslab.com/models/open_router/arcee-ai-virtuoso-large)[Open Router](https://modelslab.com/models/open_router)

 [Arcee AI: Virtuoso Large

Closed Source Model](https://modelslab.com/models/open_router/arcee-ai-virtuoso-large)

[Q8](https://modelslab.com/models/together_ai/Qwen-Qwen3-8B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 8B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-8B-Base)

About OpenAI: Gpt-Oss-120b (Free)
---

gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized...

### Technical Specifications

Model IDopenai-gpt-oss-120b-freeCategoryLLM ModelsTaskText GenerationAddedFebruary 20, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate OpenAI: Gpt-Oss-120b (Free) into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "openai-gpt-oss-120b-free",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab.com/models/openai/openai-gpt-oss-120b-free/api) for SDKs, code examples in Python, JavaScript, and more.

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about OpenAI: Gpt-Oss-120b (Free)](https://modelslab.com/openai-gpt-oss-120b-free) [Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Openai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

OpenAI: Gpt-Oss-120b (Free) FAQ
---

### What is OpenAI: Gpt-Oss-120b (Free)?

gpt-oss-120b is an open-weight, 117B-parameter Mixture-of-Experts (MoE) language model from OpenAI designed for high-reasoning, agentic, and general-purpose production use cases. It activates 5.1B parameters per forward pass and is optimized...

### How do I use the OpenAI: Gpt-Oss-120b (Free) API?

You can integrate OpenAI: Gpt-Oss-120b (Free) into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "openai-gpt-oss-120b-free" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### What is the OpenAI: Gpt-Oss-120b (Free) model ID?

The model ID for OpenAI: Gpt-Oss-120b (Free) is "openai-gpt-oss-120b-free". Use this ID in your API requests to specify this model.

### Does OpenAI: Gpt-Oss-120b (Free) have a free tier?

Yes, ModelsLab offers a free tier that lets you try OpenAI: Gpt-Oss-120b (Free) and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-04-15*