> ## 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.

# CreateGoogleWithBilling

[**@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) / createGoogleWithBilling

# Function: createGoogleWithBilling()

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

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

Returns a Google Generative AI language model wrapped with Narev pricing and Polar billing.

## Parameters

### modelId

`string`

The Google model ID (e.g. `"gemini-2.0-flash"`).

## Returns

`LanguageModel`


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