Skip to main content

Text model

GPT Oss 20B

openai/gpt-oss-20b

openai/gpt-oss-20b is a language model from OpenAI you can call on the OceanToken API at $0.04 per 1M input tokens and $0.18 per 1M output tokens, with a 131K-token context window and up to 33K output tokens; it supports reasoning, tool calling.

At a glance

Model IDopenai/gpt-oss-20b
TypeText
PublisherOpenAI
Context window131,072 tokens
Max output32,768 tokens
Input price$0.04 per 1M tokens
Output price$0.18 per 1M tokens
Capabilitiesreasoning, tool calling
Endpoint/v1/chat/completions, /v1/responses
API shapeOpenAI-compatible
In the catalog since2025-08-05

Call it

Base URL https://api.oceantoken.ai/v1, your OceanToken key as the bearer token, and the model ID above as model. The OpenAI SDKs work unchanged; see your first request.

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

Compared with similar models

Text models on OceanToken closest to openai/gpt-oss-20b in price. Every price is what you pay, in US dollars, with no platform fee on top.

ModelPublisherContextPrice (per 1M tokens)
GPT Oss 20BOpenAI131,072$0.04 / $0.18
Ling-3.0 Flash VL
inclusionai/ling-3.0-flash-vl
inclusionAI131K$0.06 / $0.18
Llama Guard 4 12B
meta-llama/llama-guard-4-12b
Meta164K$0.18 / $0.18
Laguna S 2.1
poolside/laguna-s-2.1
Poolside1.05M$0.09 / $0.18

More from OpenAI

All OpenAI models on OceanToken

Use it

Create an account All models and prices

Prices and capabilities on this page were read from the live OceanToken catalog on 2026-10-18 (UTC), when the documentation was built. If a price has changed since, the console's Models page shows the current one.