AICredits logo
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...

Supported APIs

Chat API
Context
131K
Max output
Input / 1M
₹3.02
Cached / 1M
₹0.30
Output / 1M
₹14.09

Pricing

Token typeUSD / 1MINR / 1M
Input$0.030₹3.02
Cached inputprompt cache read$0.00300.30
Output$0.140₹14.09

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call OpenAI: gpt-oss-20b through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-20b",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.