AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Groq

GPT OSS 20B API

Groq
About

Build advanced reasoning agents with GPT OSS 20B, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $0.07/1M input and $0.30/1M output tokens, native tool calling support, open weights architecture. Access GPT OSS 20B via the Groq API with up to 66K output tokens.

Capabilities

Input Modalities

text

Output Modalities

text
Reasoning
Yes
Structured Output
Yes
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Not Supported
Limits
Context Window
131K

Tokens

Input Limit
131K

Tokens

Max Output
66K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.07
Output
$0.30
Frequently Asked Questions

GPT OSS 20B by Groq costs $0.07 per 1M input tokens and $0.30 per 1M output tokens.

Model Details
ID
openai/gpt-oss-20b
Provider
Groq
Family
gpt-oss
Release Date
Aug 5, 2025
Knowledge Cutoff
N/A
API Integration
NPM Package
@ai-sdk/groq
Environment Variables
GROQ_API_KEY
Documentation