Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Cost dashboard

Page as Markdown

Explore LLM spend, model prices, budgets, and virtual keys in the Cost Management section of the Solo UI.

About cost management

The Cost Management section of the management UI for Solo Enterprise for agentgateway gives Platform and FinOps teams one place to answer: “What are we spending on LLMs, and who is spending it?”

  • Dashboard: Spend totals and spend-over-time charts, broken down by provider, model, group, user, virtual key, or any custom dimension, with time-range and dimension filters and a scoped CSV export.
  • Model Cost Catalog: The per-token prices that requests are priced against.
  • Budgets: The budgets that gateway policies enforce, with live usage against each limit.

Two related pages support cost attribution:

  • Dimensions: Edit the scopes hierarchy (such as group > user) and custom attributes (such as virtual key or model family) that requests are attributed by.
  • Virtual Keys: Admin-only management of virtual API keys and their cost-attribution metadata.

Spend in the UI is an estimate that is computed from token counts and your configured per-token prices. It might not match your provider’s invoice.

Before you begin

  1. Set up the management UI. The setup guide includes the tracing policy that sends the proxy’s spans to the management UI telemetry collector. Cost Management is built from those spans, so tracing is required.
  2. Configure a model cost catalog on your Gateway so that the proxy prices each request. Without a catalog, the dashboard still shows token and request volume, but spend is 0.
  3. To attribute spend to teams, users, or API keys, send authenticated traffic with virtual keys whose metadata carries the attribution fields, such as group and user. Unattributed traffic is grouped as Unattributed.

Enable cost management

Cost management is off by default. To enable it, set ui.features.costManagement: true in your Helm values and upgrade your enterprise-agentgateway release.

  1. Upgrade your enterprise-agentgateway release with the following Helm values.

    • Required: ui.features.costManagement: true enables the cost management feature.
    • Optional: ui.features.costManagementWrites: false prevents the management UI from creating or editing budgets, dimensions, and virtual API keys.
    helm upgrade -i enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
      --namespace agentgateway-system \
      --version v2026.10.2 \
      --reset-then-reuse-values \
      --set "ui.features.costManagement=true"
    1. Get the Helm values file for your current release.

      helm get values enterprise-agentgateway -n agentgateway-system -o yaml > values.yaml
      open values.yaml
    2. Add the following to your Helm values file.

      ui:
        enabled: true
        features:
          costManagement: true
          # Optional: Read-only mode to prevent the management UI
          # from editing cost management resources.
          #costManagementWrites: false
    3. Upgrade your enterprise-agentgateway release with the Helm values.

      helm upgrade -i enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
        --namespace agentgateway-system \
        --version v2026.10.2 \
        --set-string licensing.licenseKey=${AGENTGATEWAY_LICENSE_KEY} \
        -f values.yaml
  2. Port-forward the management UI, or get its external IP address if you exposed the UI securely.

    kubectl port-forward service/enterprise-agentgateway-ui -n agentgateway-system 4000:80
  3. Open the management UI, such as http://localhost:4000/.

  4. From the menu, select Cost Management.

Spend dashboard

The Dashboard tab plots spend for the selected time range, with Spend by and Spend Over Time by widgets that you can group by provider, model, group, user, or virtual key. Use the filters at the top to narrow the view to a scope value, model family, provider, model, or virtual key, and use Export CSV to pull the underlying numbers out for reporting.

To display spend in a currency other than USD, select a currency from the selector in the top bar. Spend is converted from USD using daily reference rates for display only. Underlying data remains stored in USD.

Model cost catalog

The Model Cost Catalog tab lists the per-token prices that spend estimates are computed from, sourced from the model cost ConfigMap. Search by model, provider, or pattern. For how the proxy prices requests at the gateway, see Model costs.

Budgets

The Budgets tab lists the EnterpriseAgentgatewayBudget resources that active gateway budget-enforcement policies select, with each entry’s limit and live usage. At a glance, you can see how many budgets are within or exceeding their limits. With writes enabled, Create Budget creates a new budget resource without leaving the UI; for the steps, see Create budgets in the management UI.

For how budgets are defined and enforced, see Budget and spend limits.

Dimensions

The Dimensions page manages the request dimensions that spend is attributed by and that budget subjects match against:

  • Scopes are an ordered hierarchy for budget subjects, such as group > user.
  • Custom Attributes are flat attributes for filters and budget subjects, such as virtual key or model family.

The built-in model and provider dimensions cannot be modified. Changes are saved to the budget dimensions ConfigMap that the gateways and the controller share. For how dimensions resolve on each request, see Budget and spend limits.

Virtual API keys

The Virtual Keys page is an admin-only view for managing virtual API keys and their cost-attribution metadata, such as the group and user that each key’s traffic is attributed to. The page shows read-only metadata; raw key values are never exposed. With writes enabled, Create Virtual API Key issues a new key; for the steps, see Create virtual keys in the management UI.

For managing API keys with Kubernetes Secrets instead, see Virtual keys.