gpt-oss-20b vs sonar-pro
gpt-oss-20b is 40.0× cheaper on input than sonar-pro.
| gpt-oss-20b | sonar-pro | |
|---|---|---|
| Input / 1M | $0.075 | $3.00 |
| Cached input / 1M | $0.037 | — |
| Output / 1M | $0.30 | $15.00 |
| Context window | 131K | 200K |
| Max output | 66K | 8K |
| Provider | Groq | Perplexity |
| Vision | No | No |
| Tool calling | Yes | No |
| Token count | estimated | estimated |
Which to pick
- Cheaper input: gpt-oss-20b
- Cheaper output: gpt-oss-20b
- Larger context: sonar-pro
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
gpt-oss-20b detail · sonar-pro detail · All Groq pricing · All comparisons