# GPT OSS 20B 1 API Pricing

As of October 10, 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.

- Page: https://models.litellm.ai/models/gpt-oss-20b-1
- Lab: OpenAI
- LiteLLM model name: `openai.gpt-oss-20b-1:0`
- Context window: 128,000 tokens
- Max output: 16,384 tokens
- Added to LiteLLM: August 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Amazon Bedrock | `openai.gpt-oss-20b-1:0` | $0.07 | $0.30 | – | – | – | 128K |
| Amazon Bedrock (us-gov-east-1) | `bedrock/us-gov-east-1/openai.gpt-oss-20b-1:0` | $0.084 | $0.36 | – | – | – | 128K |
| Amazon Bedrock (us-gov-west-1) | `bedrock/us-gov-west-1/openai.gpt-oss-20b-1:0` | $0.084 | $0.36 | – | – | – | 128K |
| Amazon Bedrock (US GovCloud cross-region) | `us-gov.openai.gpt-oss-20b-1:0` | $0.084 | $0.36 | – | – | – | 128K |

## Cost examples

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

- Amazon Bedrock: $0.29

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

- Amazon Bedrock: $0.76

## Features

Supported: Function calling, Structured output, Reasoning.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="openai.gpt-oss-20b-1:0",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

### 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.

### When did LiteLLM add GPT OSS 20B 1?

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

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
