GPT OSS 20B
openai/gpt-oss-20bA chat model with a 131K-token context window, at $0.0315 per million input tokens and $0.147 per million output tokens.
Details
- Maker
- openai
- Kind
- Chat
- Context window
- 131,072 tokens
- Max output
- 8,192 tokens
- Input
- $0.0315 per million tokens
- Output
- $0.147 per million tokens
- Capabilities
- Reasoning, tool use
- Takes
- Text
- Returns
- Text
- Zero data retention
- Yes, on every provider
- No training on requests
- Yes, on every provider
- Released
- 2025-08-05
Description
A compact, open-weight language model optimized for low-latency and resource-constrained environments, including local and edge deployments.
Call it
curl
curl https://phantom.codes/v1/chat/completions \
-H "Authorization: Bearer $PHANTOM_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-oss-20b",
"messages": [
{"role": "user", "content": "Hello"}
]
}'Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.