gpt-oss-20b

GPT OSS · Per Token

gpt-oss-20bAvailableCache 6% off
Tool UseJSON Mode
Context Window: 128KMax Output Tokens: 32K

Pricing

Official PriceLemonData PriceDiscount
Input$0.04$0.02830%
Output$0.15$0.10530%
Cache Read$0.0375$0.026230%

Parameters

Context Window
128K tokens
Max Output Tokens
32K tokens

Cost Calculator

1M
0.5M
Estimated Monthly Cost$0.08

API Code Example

POST/v1/chat/completions
curl https://api.lemondata.cc/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxx" \
  -d '{
    "model": "gpt-oss-20b",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

FAQ

How much does gpt-oss-20b cost?

On LemonData, gpt-oss-20b costs $0.0280 per 1M input tokens and $0.1050 per 1M output tokens, with model-specific platform pricing.

What is gpt-oss-20b best for?

gpt-oss-20b excels at Tool Use, JSON Mode. Access it through LemonData's unified API with a single API key.

How to use gpt-oss-20b API?

Get your API key from LemonData, then call https://api.lemondata.cc/v1/chat/completions using any compatible SDK. See the code examples above for detailed integration.

Related Models