# get-inference-pricing

Free, no authorization, creates nothing.

Returns:
- `credit`: `minUsd`, `maxUsd` and `incrementUsd` (0.01): buy any credit in that range.
- `priceUsdcPerCreditUsd`: indicative USDC per USD of credit at current settings; a purchase costs about `creditUsd` times this, rounded up to the cent, and its quote states the exact price (at most a cent lower).
- `models`: NEAR AI Cloud's current model catalog: `model` (the id to send), `name`, `inputUsdPerMillion`, `outputUsdPerMillion` and `cacheReadUsdPerMillion` (USD per million tokens), `usdPerImage` (USD per generated image for image models such as FLUX, else null; their token prices do not apply), `contextLength`, and `private` (true when the model runs in NEAR's confidential-computing hardware). `modelsAsOf` is when the list was read; it is empty if NEAR could not be read.
- `privacy`: what BTG, NEAR and model providers can see.
- `termsVersion` and `termsUrl`: the customer terms you accept when you buy.
- `inferenceOrigin`: the API base your key calls.
- `purchasable` and `reason`: false with a reason while sales are paused or funding is unavailable.

Next step: buy `create-inference-account` with a `creditUsd` in range and `acceptTerms` equal to `termsVersion`. To add credit to a key you hold, use `top-up-inference-account`.
