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

# Index

[**@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

# server

## Interfaces

* [ChatToolsConfig](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/interfaces/ChatToolsConfig.md)
* [ChatRouterOptions](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/interfaces/ChatRouterOptions.md)
* [PolarUsageData](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/interfaces/PolarUsageData.md)
* [StripeUsageData](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/interfaces/StripeUsageData.md)
* [CreditPackage](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/interfaces/CreditPackage.md)

## Type Aliases

* [ChatRouter](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/type-aliases/ChatRouter.md)

## Functions

* [configureChatTools](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/configureChatTools.md)
* [createChatRouter](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createChatRouter.md)
* [createCheckout](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createCheckout.md)
* [fetchPolarUsage](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/fetchPolarUsage.md)
* [fetchTopUpConfig](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/fetchTopUpConfig.md)
* [fetchStripeUsage](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/fetchStripeUsage.md)
* [createOpenAIWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createOpenAIWithBilling.md)
* [createAnthropicWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createAnthropicWithBilling.md)
* [createGoogleWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createGoogleWithBilling.md)
* [createDeepSeekWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createDeepSeekWithBilling.md)
* [createGroqWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createGroqWithBilling.md)
* [createXaiWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createXaiWithBilling.md)
* [createChutesWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createChutesWithBilling.md)
* [createMinimaxWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createMinimaxWithBilling.md)
* [createOpenRouterWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createOpenRouterWithBilling.md)
* [createGatewayWithBilling](https://www.narev.ai/docs/ai-billing/reference/nextjs/typedoc/server/functions/createGatewayWithBilling.md)


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