Model Library/OpenAI: GPT OSS 20B
OpenAI

OpenAI: GPT OSS 20B

openai/gpt-oss-20b
gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs.

Funktionen

Serverless API

Dokumentation

openai/gpt-oss-20b is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.

On-Demand-Bereitstellungen

Dokumentation

On-demand deployments allow you to use openai/gpt-oss-20b on dedicated GPUs with high-performance serving stack with high reliability and no rate limits.

Verfügbare Serverless

Abfragen sofort ausführen, nur für die Nutzung bezahlen

Eingabe$0.04 / M Tokens
Ausgabe$0.15 / M Tokens

Verwenden Sie die folgenden Codebeispiele, um unsere API zu integrieren:

1from openai import OpenAI
2
3client = OpenAI(
4    api_key="<Your API Key>",
5    base_url="https://api.novita.ai/openai"
6)
7
8response = client.chat.completions.create(
9    model="openai/gpt-oss-20b",
10    messages=[
11        {"role": "system", "content": "You are a helpful assistant."},
12        {"role": "user", "content": "Hello, how are you?"}
13    ],
14    max_tokens=32768,
15    temperature=0.7
16)
17
18print(response.choices[0].message.content)

Info

Anbieter
OpenAI
Quantisierung
fp4

Unterstützte Funktionalität

Kontextlänge
131072
Maximale Ausgabe
32768
Serverless
Unterstützt
Structured Output
Unterstützt
Reasoning
Unterstützt
Eingabefähigkeiten
text, image
Ausgabefähigkeiten
text

Alles, was Sie brauchen, um produktionsreife AI zu entwickeln.

Über 200 Modelle, GPUs auf Abruf und sichere Agent-Runtimes — vereint unter einer API. Kostenlos zum Einstieg, skaliert mit Ihrem Wachstum.