> ## Documentation Index
> Fetch the complete documentation index at: https://www.narev.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateGroqWithBilling

[**@ai-billing/nextjs**](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/index.md)

***

[@ai-billing/nextjs](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/index.md) / [server](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/index) / createGroqWithBilling

# Function: createGroqWithBilling()

> **createGroqWithBilling**(`modelId`): `LanguageModel`

Defined in: [packages/nextjs/src/wrapped.ts:105](https://github.com/narevai/ai-billing/blob/main/packages/nextjs/src/wrapped.ts#L105)

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`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.