---
title: "Estimate the price of an allowed tool call without submitting it."
method: POST
path: "/v1/quote"
---

# Estimate the price of an allowed tool call without submitting it.

`POST /v1/quote`

## Request

- Base URL: `http://localhost:5100`
- URL: `http://localhost:5100/v1/quote`
- Auth: HTTP bearer

## Request body

- object
  - `toolId` string, required
  - `input` object, required
    - `pathParams` object
    - `queryParams` object
    - `body` unknown
    - `headers` object
  - `credentialMode` 'platform' | 'customer': Use the o11 account by default. Select customer only for an explicitly chosen connected provider account.
  - `connectionId` string, uuid
  - `maxCostMicros` string: Wallet maximum in USD micros. Image edits, supplier-priced payments and unbounded-result tools can require a positive maximum. This does not cap the provider's own token use.
  - `cardId` string, uuid: Card to use. Required when this connection has multiple cards. List cards first.

## Response `200`

Operation result. An invocation may still be pending; inspect its state.

- unknown

## Other responses

- `400`: Rejected request or temporary failure. See the errors and limits guide.
- `402`: Rejected request or temporary failure. See the errors and limits guide.
- `403`: Rejected request or temporary failure. See the errors and limits guide.
- `404`: Rejected request or temporary failure. See the errors and limits guide.
- `409`: Rejected request or temporary failure. See the errors and limits guide.
- `503`: Rejected request or temporary failure. See the errors and limits guide.

---

[API](https://skmtc.dev/o11/apis/o11-wallet-api.md) - [All operations](https://skmtc.dev/o11/apis/o11-wallet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/o11/apis/o11-wallet-api/revisions/2071972de71c?raw)
