LLM API
Model provider1 modelPrivacy policy

Groq

Groq serves 1 model on LLM API: GPT OSS 20B from OpenAI.

Models and prices

Prices when Groq serves the request.

Text 1

Prices per 1M tokens

Text models on Groq and their prices on LLM API
OpenAIGPT OSS 20Bgroq/gpt-oss-20b$0.1$0.5$0.037131K

Send requests to Groq

Put groq/ before a model ID and the request goes to Groq. If Groq’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends X-No-Fallback: true. Routing docs

Example: GPT OSS 20B

POST /v1/chat/completionsSet LLMAPI_KEY to your LLM API key.Chat Completions docs

import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="groq/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Prices synced November 13, 2026.

You've been invited to LLM API

Top up $50 or more and the friend who invited you gets $20 in credits. We pay the $20; your credits stay yours. Referral terms

Sign up