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

# glasser quote

> Get the amount a Run would reserve, without running it.

## Usage

```bash theme={null}
glasser quote -p <provider> -e <endpoint> -i '<json>'
```

Quote one request: the Hold that Glasser would reserve for this input at the current Price. The flags match `glasser run`, so you can quote a request and then run it with the same values. A quote creates no Run, reserves no balance, and calls no Provider.

The Hold is not a guaranteed ceiling. The final charge can be higher when the Provider returns more than the input asked for, or when the Price changes before the Run.

A request that `glasser run` would refuse is refused here with the same error.

## Flags

| Flag | Description |
| - | - |
| `--provider, -p` | Provider slug (e.g. pdl) |
| `--endpoint, -e` | Endpoint key (e.g. /v5/person/enrich) |
| `--input, -i` | Provider-native input: inline JSON or @path/to/file.json |
| `--input-file, -f` | Read input from a JSON file (alternative to -i @file) |
| `--endpoint-version` | Select a supported Endpoint version (does not lock Price; 409 if unavailable or retired) |

See [CLI conventions](https://glasser.ai/docs/cli.md#global-flags) for global flags, JSON mode, exit codes, and environment variables.


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