LiteLLMLiteLLM/ MODELS

GPT OSS 20B 1 API Pricing

By OpenAI · 1 provideropenai.gpt-oss-20b-1:0Compare
Input / output
$0.07 / $0.30 per 1M tokens
Context
128K tokens
Max output
16K tokens

As of November 24, 2026, GPT OSS 20B 1 costs $0.07 per 1M input tokens and $0.30 per 1M output tokens on Amazon Bedrock. It has a 128,000-token context window and returns up to 16,384 tokens per response.

Prices updated Checked

GPT OSS 20B 1 pricing by provider

12 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

GPT OSS 20B 1 prices by provider in US dollars, token prices per 1M tokens, as of November 24, 2026. Source: LiteLLM model price file.
ProviderModel name in LiteLLMInputOutputBatch inBatch outContext
Amazon Bedrockopenai.gpt-oss-20b-1:0$0.07$0.30$0.035$0.15128K
Amazon Bedrockap-northeast-1bedrock/ap-northeast-1/openai.gpt-oss-20b-1:0$0.08$0.36––128K
Amazon Bedrockap-south-1bedrock/ap-south-1/openai.gpt-oss-20b-1:0$0.08$0.35––128K
Amazon Bedrockap-southeast-3bedrock/ap-southeast-3/openai.gpt-oss-20b-1:0$0.07$0.31––128K
Amazon Bedrockeu-central-1bedrock/eu-central-1/openai.gpt-oss-20b-1:0$0.09$0.40––128K
Amazon Bedrockeu-south-1bedrock/eu-south-1/openai.gpt-oss-20b-1:0$0.09$0.40––128K
Amazon Bedrockeu-west-1bedrock/eu-west-1/openai.gpt-oss-20b-1:0$0.08$0.35––128K
Amazon Bedrockeu-west-2bedrock/eu-west-2/openai.gpt-oss-20b-1:0$0.11$0.47––128K
Amazon Bedrocksa-east-1bedrock/sa-east-1/openai.gpt-oss-20b-1:0$0.08$0.36––128K
Amazon Bedrockus-gov-east-1bedrock/us-gov-east-1/openai.gpt-oss-20b-1:0$0.084$0.36$0.042$0.18128K
Amazon Bedrockus-gov-west-1bedrock/us-gov-west-1/openai.gpt-oss-20b-1:0$0.084$0.36$0.042$0.18128K
Amazon BedrockUS GovCloud cross-regionus-gov.openai.gpt-oss-20b-1:0$0.084$0.36––128K

Other GPT OSS 20B 1 prices on Amazon Bedrock

Priority input$0.1225 per 1M tokens
Priority output$0.525 per 1M tokens
Flex input$0.035 per 1M tokens
Flex output$0.15 per 1M tokens

What GPT OSS 20B 1 costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Amazon Bedrock$0.29
Amazon Bedrock batch$0.145

100 long-document requests with 100,000 input and 2,000 output tokens each

Amazon Bedrock$0.76

GPT OSS 20B 1 cost calculator

At Amazon Bedrock's price ($0.07 input, $0.30 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $2.20 a day, about $66.00 a month. Change the numbers for your workload, or compare it with other models.

Per request
$0.00022
Per day
$2.20
Per month (30 days)
$66.00

GPT OSS 20B 1 features

Input: text. Output: text.

Use GPT OSS 20B 1 with LiteLLM

Call GPT OSS 20B 1 through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="openai.gpt-oss-20b-1:0",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: gpt-oss-20b-1
    litellm_params:
      model: openai.gpt-oss-20b-1:0
      aws_region_name: os.environ/AWS_REGION_NAME
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LITELLM_API_KEY" \
  -d '{
    "model": "gpt-oss-20b-1",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

GPT OSS 20B 1 FAQ

How much does GPT OSS 20B 1 cost?

GPT OSS 20B 1 costs $0.07 per 1M input tokens and $0.30 per 1M output tokens on Amazon Bedrock. Batch requests cost $0.035 per 1M input tokens and $0.15 per 1M output tokens.

What is the context window of GPT OSS 20B 1?

GPT OSS 20B 1 has a 128,000-token context window and returns up to 16,384 tokens per response.

Which providers offer GPT OSS 20B 1?

GPT OSS 20B 1 is available from Amazon Bedrock through LiteLLM, using the model name openai.gpt-oss-20b-1:0.

How do I call GPT OSS 20B 1 with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="openai.gpt-oss-20b-1:0", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does GPT OSS 20B 1 support?

GPT OSS 20B 1 supports function calling, structured output and reasoning. It does not support image input.

When did LiteLLM add GPT OSS 20B 1?

GPT OSS 20B 1 was added to LiteLLM's model price file in August 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:

LiteLLM docs: Amazon Bedrock.

Provider pages: Amazon Bedrock.