# top-up-inference-account

Paid; owner only. Adds credit to one of your inference keys.

Inputs: `keyId`, `creditUsd` (any amount in whole cents within `get-inference-pricing`'s `credit` range) and `acceptTerms` (the current `termsVersion`).

Raises the key's spending limit by that credit; the secret does not change. If calls running at the same time had overrun the key's credit, part of the new credit covers that and `appliedToPriorDebtUsd` reports how much.

Returns `keyId`, `creditUsd`, `grantedUsd`, `balanceUsd` (may be null), `appliedToPriorDebtUsd` and `next`.
