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

# What happens to your prompts

> Where prompts and answers go on the hosted service, on your own GPUs, and on a control plane you run, what InferCrane keeps, and for how long.

InferCrane passes prompts and answers through and does not keep them. For each request it keeps
metadata (timing, token counts, status) for 24 hours, never the text. It keeps text in two
places, and only when you send it there: an async job, encrypted, until the retention you set, and
an eval set you upload, until you delete it.

This page covers each path. [Security](https://docs.infercrane.com/security.md) has the full detail, and the
[privacy notice](https://infercrane.com/privacy) covers your account and the service's processors.

## On the hosted service

| What you do | Where the text goes | What InferCrane keeps | For how long |
| - | - | - | - |
| Call an endpoint you deployed | Through the gateway to your model server and back | [Request metadata](#request-metadata), no text | 24 hours |
| Try a prompt in the dashboard's Workbench | Through the dashboard's server and the gateway to the model and back | Request metadata, no text. A prompt to a setup inside a run is not recorded at all | 24 hours |
| Call a [hosted model](https://docs.infercrane.com/model-apis.md) | Through the gateway to a third-party inference supplier and back | Usage and charges under a request ID, no text | With your billing records |
| Submit an [async job](https://docs.infercrane.com/features/admission-async.md) | Stored encrypted, then sent through the gateway | The encrypted request and result | The retention you set: 24 hours by default, at most seven days |
| Upload an [eval set](https://docs.infercrane.com/features/semantic-quality.md) | Stored as you sent it, read only by the worker that runs answer checks | The file | Until you delete it |
| Check answers in an optimization run or a Proof | InferCrane's built-in prompts, or your eval set, go to both setups. In a migration from a closed API, your eval set also goes to that API with your key | Scores and digests, not the answers | With the run |

### Request metadata

For each request the gateway stores the endpoint, deployment and revision, the model names, the
status and error type, latency, time to first byte, token counts, and whether the response
streamed. It also stores two hashes: one of the `X-InferCrane-Session-ID` header and one of the
system messages at the start of a chat. They let InferCrane count repeated sessions and system
prompts without their text. Both are HMAC-SHA256 under a key the control plane holds, so nobody
without that key can test a guess against them.

These rows are deleted 24 hours after the request.

### What InferCrane does not do

* Store prompts or answers in its database, except in the two cases above.
* Log prompts or answers. The gateway logs no request or response bodies. The one exception is an
  error page written by a router or proxy in front of the model server: the gateway logs its first
  512 bytes to find the fault.
* Sample, capture, or copy your live traffic. Shadow traffic is not built.
* Judge answers with another model. Answer checks score them by rules, in memory.
* Train models on your prompts or answers, or sell them.

### Who else handles them

* **The GPU machine.** Your model server runs on a rented GPU machine, from a provider listed in
  the [privacy notice](https://infercrane.com/privacy), or in your own cloud account if you
  connected one. A prompt is in that machine's memory while it is served. InferCrane starts vLLM
  with request logging off, which is vLLM's default.
* **The model supplier.** A hosted model is served by a third-party inference supplier, and its
  own data terms apply to the prompts it receives. To find out which supplier serves a model, write
  to [privacy@infercrane.com](mailto:privacy@infercrane.com).
* **Database backups.** The hosted database is backed up. A row deleted under the rules above stays
  in backups taken before it was deleted, until those backups expire.
* **Your webhook.** An async job's completion webhook carries its result to the address you gave.

External fallback, which sends requests to another provider when your own capacity is down, is
off unless you turn it on and acknowledge that prompts and answers leave your infrastructure.

## On your own GPUs, with the agent

Prompts and answers stay on your machines. The [agent](https://docs.infercrane.com/architecture/agent.md) sends engine metrics
and request shapes (token counts and timing, hashed with a key that never leaves the machine), and
a candidate run it performs returns numbers only. Answer checks on the agent run in your cluster
and send back scores and digests. A request for an endpoint the agent serves that reaches the
hosted gateway by mistake is refused, not forwarded.

## On a control plane you run

The same rules apply, and the database is yours. Request metadata is kept for
`INFERCRANE_REQUEST_RETENTION_HOURS` (24 by default). Async jobs are off until you set
`INFERCRANE_ASYNC_ENCRYPTION_KEY`, and external fallback is off until you enable it. The
[local tour](https://docs.infercrane.com/quickstart.md) runs this way on your laptop.

## Delete what InferCrane keeps

| What | How |
| - | - |
| An eval set | `infercrane evaluation set delete sha256:DIGEST` |
| An async job | Deleted within an hour of the end of its retention. Cancelling it stops a job that has not finished |
| Your account and its data | Write to [privacy@infercrane.com](mailto:privacy@infercrane.com) |


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