---
updatedAt: 2026-09-05T01:44:39.000Z
agentTools:
  projectIndex: https://docs.pennsieve.io/llms.txt
---

# Get node-wide LLM cost budget

Returns the current node-wide LLM cost budget. Owner-only — the cap
is policy data and isn't surfaced to non-owners.


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "3.0",
    "title": "Compute Resources API",
    "description": "This is the serverless Compute Resources API\n",
    "termsOfService": "https://docs.pennsieve.io/page/pennsieve-terms-of-use",
    "contact": {
      "name": "Pennsieve Support",
      "email": "support@pennsieve.net"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "servers": [
    {
      "url": "https://api2.pennsieve.io/compute/resources",
      "description": "Production server"
    },
    {
      "url": "https://api2.pennsieve.net/compute/resources",
      "description": "Development server"
    }
  ],
  "externalDocs": {
    "description": "Find more info here",
    "url": "https://docs.pennsieve.io"
  },
  "tags": [
    {
      "name": "LLM Access",
      "description": "Enabling and configuring LLM access on a compute node, including the model\nallow-list and the BAA acknowledgement required before enabling it.\n"
    }
  ],
  "components": {
    "x-amazon-apigateway-integrations": {
      "account-service": {
        "type": "aws_proxy",
        "uri": "${account_service_lambda_arn}",
        "httpMethod": "POST",
        "passthroughBehavior": "when_no_match",
        "contentHandling": "CONVERT_TO_TEXT",
        "payloadFormatVersion": 2
      }
    },
    "securitySchemes": {
      "token_auth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-amazon-apigateway-authorizer": {
          "identitySource": "$request.header.Authorization",
          "authorizerUri": "${authorize_lambda_invoke_uri}",
          "authorizerPayloadFormatVersion": "2.0",
          "authorizerResultTtlInSeconds": 300,
          "type": "request",
          "enableSimpleResponses": true,
          "authorizerCredentials": "${gateway_authorizer_role}"
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Incorrect authentication or user has incorrect permissions.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "Error": {
        "description": "Server Error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/compute-nodes/{id}/llm-config": {
      "get": {
        "summary": "Get node-wide LLM cost budget",
        "description": "Returns the current node-wide LLM cost budget. Owner-only — the cap\nis policy data and isn't surfaced to non-owners.\n",
        "x-amazon-apigateway-integration": {
          "$ref": "#/components/x-amazon-apigateway-integrations/account-service"
        },
        "operationId": "getLLMConfig",
        "security": [
          {
            "token_auth": []
          }
        ],
        "tags": [
          "LLM Access"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The UUID of the compute node"
          }
        ],
        "responses": {
          "200": {
            "description": "Current LLM budget",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "budgetUsd": {
                      "type": "number",
                      "format": "double"
                    },
                    "budgetPeriod": {
                      "type": "string",
                      "enum": [
                        "daily",
                        "monthly"
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "4XX": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "5XX": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  }
}
```