@ai-billing/nextjs / server / createAnthropicWithBilling
Function: createAnthropicWithBilling()
createAnthropicWithBilling(Defined in: packages/nextjs/src/wrapped.ts:64 Returns an Anthropic language model wrapped with Narev pricing and Polar billing.modelId):LanguageModel
Parameters
modelId
string
The Anthropic model ID (e.g. "claude-sonnet-4-5").
Returns
LanguageModel