gpt-oss-20b on GroqCloud

GPT-OSS · OpenAI

ServerlessOpen Source

Last refreshed 2026-04-19. Next refresh: weekly.

Why use gpt-oss-20b on GroqCloud?

GroqCloud offers gpt-oss-20b with pay-as-you-go pricing at $0.07/1M input tokens. Groq is a company specializing in AI inference technology, particularly with their flagship product, the Language Processing Unit (LPU™).

Compare gpt-oss-20b across 12 providers to find the best fit for your use case
Input / 1M
$0.075
Output / 1M
$0.30
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: openai/gpt-oss-20b
Model ID
openai/gpt-oss-20b

Request example

Curated snippets for this provider are not sourced yet. Use GroqCloud documentation with model ID openai/gpt-oss-20b.

Gotchas

  • Use provider model ID "openai/gpt-oss-20b", not the LLMReference slug "gpt-oss-20b".

Compare gpt-oss-20b Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI$0.20$0.30
OpenRouter$0.03$0.14
Fireworks AI$0.07$0.30
GCP Vertex AI$0.07$0.25
NVIDIA NIM——
View all 12 providers →

Pricing

TypePrice (per 1M)
Input tokens$0.07
Output tokens$0.30

Capabilities

JSON / Tool useStructured Outputs

About gpt-oss-20b

OpenAI open-weight model with 20 billion parameters. Lightweight, efficient text-only model with reasoning and function calling. Free for self-hosting. Released August 5, 2025.

Get Started