Chat GPT-OSS

GPT OSS 20B (Local)

General-purpose chat model hosted on our own GPU. Lower cost than cloud models.

20B
Parameters
131K
Context Window
Credit Rate
Starter
Min Tier

Overview

Full description coming soon. This model is available right now via the LLM Resayil API.

Specifications

Display Name GPT OSS 20B (Local)
Family GPT-OSS
Category Chat
Parameters 20B
Context Window 131,072 tokens
Quantization MXFP4
License APACHE-2.0
Min Tier Starter
Status Available

Pricing

credits per token
1K 1,000 Credits
10K 10,000 Credits
100K 100,000 Credits
View Pricing Plans

Code Examples

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:20b",
    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:20b",
    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:20b",
            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:20b",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Related Models

Start building with GPT OSS 20B (Local)

Get 1,000 free credits when you sign up — no credit card required.