{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lumeta-ai/json-schema/lumeta-ai-estimate-schema.json",
  "title": "Estimate",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lumeta-ai-openapi.json#/components/schemas/Estimate",
  "type": "object",
  "properties": {
    "credits": {
      "type": "integer",
      "description": "Credits required to submit. If the model lists an output-based charge, this is the maximum hold."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your balance; with a team `project`, what you may still spend from that team (see `team`)."
    },
    "cap_remaining": {
      "type": [
        "integer",
        "null"
      ]
    },
    "team": {
      "type": "string",
      "description": "`team_<id>` when `project` is a team project: the team pays, within your monthly limit there."
    },
    "enough": {
      "type": "boolean",
      "description": "Whether POST /v1/generations would be accepted right now."
    },
    "user_defaults_applied": {
      "type": "object",
      "description": "Present only on a request from the Lumeta CLI or the MCP server, and only when the account had saved its own defaults for this model on the website (the tool's \"default settings\" sheet) and this request left those inputs out. Each entry is an input name and the value used. Send the input yourself to override it for one run."
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Present only when there is something to say about this request that did not stop it, each a plain sentence for the person: an `@word` in the prompt that is no Shelf name (sent as text), an input you sent that the other inputs switch off (ignored, with the condition it needs), or a change to the model that affects this request, such as a new default or price, with what to send to keep the old behavior. Change notices run for a set time after the change; the input schema lists the running ones as `x-lumeta-notices`."
    }
  }
}