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

# Typedoc

**@ai-billing/openrouter**

***

# @ai-billing/openrouter

## Type Aliases

* [OpenRouterV3MiddlewareOptions](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/type-aliases/OpenRouterV3MiddlewareOptions.md)
* [OpenRouterV4MiddlewareOptions](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/type-aliases/OpenRouterV4MiddlewareOptions.md)

## Functions

* [createOpenRouterV3Middleware](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/functions/createOpenRouterV3Middleware.md)
* [createOpenRouterV4Middleware](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/functions/createOpenRouterV4Middleware.md)

## References

### createOpenRouterMiddleware

Renames and re-exports [createOpenRouterV4Middleware](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/functions/createOpenRouterV4Middleware.md)

***

### OpenRouterMiddlewareOptions

Renames and re-exports [OpenRouterV4MiddlewareOptions](https://www.narev.ai/docs/ai-billing/reference/openrouter/typedoc/type-aliases/OpenRouterV4MiddlewareOptions.md)


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