GPT-OSS 20B Free API

Access GPT-OSS 20B Free from OpenAI using Puter.js AI API.

Get Started

Model Card

GPT-OSS 20B Free is the freely accessible version of the smaller open-weight model through various inference providers. It's ideal for on-device use cases and rapid iteration without infrastructure costs.

Context Window

N/A

tokens

Max Output

N/A

tokens

Input Cost

$0

per million tokens

Output Cost

$0

per million tokens

API Usage Example

Add GPT-OSS 20B Free 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:free"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add GPT-OSS 20B Free to your app without worrying about API keys or setup.

Read the Docs View Tutorials