@ai-billing/nextjs / server / createGoogleWithBilling
Function: createGoogleWithBilling()
createGoogleWithBilling(Defined in: packages/nextjs/src/wrapped.ts:77 Returns a Google Generative AI language model wrapped with Narev pricing and Polar billing.modelId):LanguageModel
Parameters
modelId
string
The Google model ID (e.g. "gemini-2.0-flash").
Returns
LanguageModel