# GPT: OSS 20B API

OpenAI's GPT: OSS 20B, through an OpenAI-compatible API. 3 providers quote it now, and each request goes to the offer with the lowest estimated charge that meets your rules.

- Providers compete for each request. The exchange ranks the offers that meet your rules by estimated charge. It fixes your maximum charge before the first token, and you pay for the tokens that the model uses.
- The OpenAI and Anthropic APIs. Use the OpenAI or Anthropic SDK that you have. Set the base URL and your key, and send gpt-oss-20b as the model.
- Your data rules. Send x-liquid-retention: none and only offers whose provider does not keep your content compete for the request.

## Facts

- Model name: gpt-oss-20b
- Maker: OpenAI
- Context window: 32.8K – 131.1K tokens
- Input price: $0.010 to $0.037 per million tokens
- Output price: $0.052 to $0.175 per million tokens
- Providers: 3 independent providers
- Regions: eu-central, us, us-west

## Providers

- [Greenference](https://liquidinference.ai/providers/dfb068db-7c5c-4676-9f62-5cd86a642db3.md): eu-central, $0.010 input and $0.052 output per million tokens, $0.0052 cache read per million tokens, 32.8K tokens of context
- [akash](https://liquidinference.ai/providers/2249261a-b9e8-449c-8c79-abf2dc02dd91.md): us-west, $0.020 input and $0.100 output per million tokens, $0.020 cache read per million tokens, 131.1K tokens of context
- [Pera](https://liquidinference.ai/providers/f651491e-f85b-4f03-b80c-32876aeb80ce.md): us, $0.037 input and $0.175 output per million tokens, $0.037 cache read per million tokens, 122.9K tokens of context

## Scores

- HLE: 11.0, #153 of 273
- GPQA: 68.8, #155 of 250
- AA-LCR: 34.7, #190 of 237
- SciCode: 38.9, #99 of 123
- Terminal-Bench Hard: 10.6, #119 of 166
- LiveCodeBench: 77.7, #21 of 130
- AIME 2025: 89.3, #13 of 100
- MMLU-Pro: 74.8, #73 of 133
- τ²-Bench: 60.2, #94 of 169
- IFBench: 65.1, #56 of 178

Scores: Artificial Analysis (https://artificialanalysis.ai/)

## Request

```sh
curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-oss-20b",
    "messages": [{"role":"user","content":"Say hello."}]
  }'
```

## Questions

### What is GPT: OSS 20B?

GPT: OSS 20B is a model from OpenAI.

### How much does GPT: OSS 20B cost?

Offers now ask $0.010 to $0.037 per million input tokens and $0.052 to $0.175 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.

### What is the context length of GPT: OSS 20B?

The largest offer takes 131,072 input tokens. One job can generate up to 131,072 tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.

### What can GPT: OSS 20B do?

Its providers list Reasoning effort, JSON object, JSON schema, Frequency penalty, Min-p sampling, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.

### What inputs and outputs does GPT: OSS 20B support?

Text → Text.

### Which providers serve GPT: OSS 20B?

3 independent providers quote it now, with 3 offers. The table above ranks them by the cost of a typical job.

### How do I call GPT: OSS 20B?

Send "gpt-oss-20b" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.

### When was GPT: OSS 20B listed?

The exchange first listed it on 9/29/2026. This is not its release date.

## Related pages

- [This page in a browser](https://liquidinference.ai/models/gpt-oss-20b)
- [GPT: OSS 120B](https://liquidinference.ai/models/gpt-oss-120b.md)
- [GPT: OSS Safeguard 20B](https://liquidinference.ai/models/gpt-oss-safeguard-20b.md)
- [GPT 5 Nano 2025 08 07](https://liquidinference.ai/models/gpt-5-nano-2025-08-07.md)
- [GPT 5 Nano](https://liquidinference.ai/models/gpt-5-nano.md)
- [GPT 4.1 Nano](https://liquidinference.ai/models/gpt-4.1-nano.md)
- [GPT: Luna Latest](https://liquidinference.ai/models/gpt-luna-latest.md)
- [Set up a client](https://liquidinference.ai/connect/gpt-oss-20b)
- [All models](https://liquidinference.ai/models)
- [Providers](https://liquidinference.ai/providers.md)
- [Discover the best model for your budget](https://liquidinference.ai/discover)
- [Quickstart](https://liquidinference.ai/docs/quickstart.md)
- [llms.txt: the index of every page, as Markdown](https://liquidinference.ai/llms.txt)
- [llms-full.txt: every page in one file](https://liquidinference.ai/llms-full.txt)
