OpenRouter vs Groq: routing and API costs

Groq direct avoids OpenRouter Standard’s 5.5% credit-purchase fee; for GPT-OSS 120B, however, the funded NEAR AI route example is $0.00047475 versus Groq’s $0.0021.146

Updated · 6 sources · Methodology

DimensionWinnerMarginEvidence
Funded request costOpenRouter · NEAR AI route4.42×OpenRouter Standard $0.00047475 / Groq $0.002164
OpenRouter credit-purchase feeGroq direct5.5 ppOpenRouter Standard 5.5% / Groq 0%64
Cross-provider fallbackOpenRouterRouter-managedOpenRouter selects among eligible providers; the direct API targets one service.2

Response delivery and routing controls

ProviderServing path and request control
OpenRouter · NEAR AI route1Upstream provider can be pinned; fallback eligibility is configured per request.2
Groq direct4Requests use the Groq service account and direct API endpoint.5

Prices and request cost

ProviderInput / 1M tokensOutput / 1M tokens
OpenRouter · NEAR AI route1$0.03$0.15
Groq direct4$0.15$0.6
Product documentationOpenRouter documentationGroq API documentation
API documentationNovita AI · Chat API
Cost example: 10,000 input + 1,000 billed output tokens
OpenRouter · NEAR AI route$0.00047475
Groq direct$0.0021

Capabilities and serving conditions

DimensionOpenRouter · NEAR AI routeGroq direct
API and model IDhttps://openrouter.ai/api/v13https://api.groq.com/openai/v15
Compared modelopenai/gpt-oss-120b1openai/gpt-oss-120b4
Serving path and request controlUpstream provider can be pinned; fallback eligibility is configured per request.2Requests use the Groq service account and direct API endpoint.5
Billing basisInput and billed output tokens are metered separately.1Input and billed output tokens are metered separately.4

When each option fits

OpenRouter · NEAR AI route

  • Upstream provider can be pinned; fallback eligibility is configured per request.2
  • The cheapest route and a pinned provider are different configurations; forcing a provider can change the price and reduce failover choices.2

Groq direct

  • Requests use the Groq service account and direct API endpoint.5
  • Groq direct access avoids an external routing account; switching to another host requires changing the application’s provider integration.5

Methodology and sources

GPT-OSS 120B: 1 request(s), each with 10,000 uncached input and 1,000 billed output tokens. Official seller tariffs and the named routing path define each price. OpenRouter Standard charges $5.5 when $100 of credits are purchased; allocating that fee over fully consumed credits multiplies routed inference cost by 1.055. Business uses 1.08. The example excludes optional BYOK, tax and unspent balances.

  1. OpenRouter · GPT-OSS 120B route prices
  2. OpenRouter · provider selection and fallbacks
  3. OpenRouter · API quickstart
  4. Groq · GPT-OSS 120B pricing
  5. Groq · API compatibility
  6. OpenRouter · Standard and Business credit-purchase fees

Build with Novita Model APIs

Create an API key and connect your application.