Skip to main content
@ai-billing/nextjs
@ai-billing/nextjs / server / createGroqWithBilling

Function: createGroqWithBilling()

createGroqWithBilling(modelId): LanguageModel
Defined in: packages/nextjs/src/wrapped.ts:105 Returns a Groq language model wrapped with Narev pricing and Polar billing.

Parameters

modelId

string The Groq model ID (e.g. "llama-3.3-70b-versatile").

Returns

LanguageModel
Last modified on October 29, 2026