openai/gpt-oss-20b
Model Card
GPT-OSS 20B is OpenAI's smaller open-weight model for lower latency and local inference, matching o3-mini on common benchmarks. It requires only 16GB of memory and runs on consumer hardware.
Context Window
N/A
tokens
Max Output
131,072
tokens
Input Cost
$0.02
per million tokens
Output Cost
$0.1
per million tokens
API Usage Example
Add GPT-OSS 20B to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "openai/gpt-oss-20b"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Get started with Puter.js
Add GPT-OSS 20B to your app without worrying about API keys or setup.
Read the Docs View Tutorials