> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Collection

> What data ARouter collects and how it's used.

When using AI through ARouter — via the API or the dashboard — your prompts and responses pass through the gateway. You control how your data is handled at each step.

This page gives an overview of how your data is stored and used by ARouter. More information is available in the [Privacy Policy](https://arouter.ai/privacy) and [Terms of Service](https://arouter.ai/terms).

## Within ARouter

ARouter does **not** store your prompts or responses by default.

You may opt in to the following:

* **Prompt & Response Logging**: Make your prompts and completions visible in your activity logs for debugging, comparing model responses, and optimizing prompts. ARouter does not access or use this data for any other purpose. Enable it in your [Dashboard Settings](https://arouter.ai/settings).

Opting in to logging lets you replay requests, inspect raw completions, and compare outputs across models — without sharing your data with ARouter for any other use.

## Metadata Collection

ARouter **does** store metadata for every request:

* Number of prompt tokens and completion tokens
* Model and provider used
* Latency (time to first token, total duration)
* Request status (success, error code)
* Cost in credits

This metadata powers your [Activity](https://arouter.ai/activity) feed and usage exports. It does **not** include the content of your prompts or responses — only information about the request itself.

## Anonymous Usage Data

ARouter may sample a small number of requests for internal categorization (e.g., "coding", "summarization") to improve routing quality and model recommendations. If you have not opted in to prompt logging:

* Categorization is stored completely anonymously
* It is never associated with your account or API key
* The categorization model operates with a zero-data-retention policy

## Your Controls

| Setting                   | Default   | Where to Configure                      |
| ------------------------- | --------- | --------------------------------------- |
| Prompt & response logging | Off       | Dashboard → Settings                    |
| Usage metadata collection | Always on | Not configurable (required for billing) |

If you have questions about data handling, contact [support@arouter.ai](mailto:support@arouter.ai).
