本頁面由機器翻譯。閱讀英文原文。

Feature

core/period-budget

Bounds what the traffic through an AI gateway may consume over a period. Once what the gateway has counted over period exceeds limit, it refuses further model requests until the count falls back under the limit. unit names what is counted, a cost in US dollars or tokens, and scope names whose traffic one limit covers: everything the gateway serves, each caller apart, or each model apart. The developer attaches it in the Aggregate, writing unit and scope in values; the operator sizes that attachment in the Release, writing limit and period in infra under the same attachment name on the Release's entry for the component. It attaches to a component in the request path that declares it can keep such a budget (dataplane.aggrega.ai/period-budget, whichever value). Each realization says how its gateway counts a period, and refuses a unit, a scope or a period its gateway cannot keep, naming the value asked for and what the gateway offers, rather than accepting it and counting something else. Each realization writes the budget where its gateway reads one: into the gateway's own configuration, or as a resource the gateway's controller reconciles.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:34e5efc21634200007e9767d7ace42cf5a75618e98d67b3fada1e94b93bc5154
發布時間
2026-11-10T10:17:14Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:fddd9cabf3068aa98288c748b27780a7edaa1621d99b22b8d10480bfb2d3f515

此版本的參照

oci://hub.aggrega.ai/feature/core/period-budget:1.0.0
適用於
dataplane.aggrega.ai/period-budget
與其衝突
—

開發者參數

開發者附加此功能時設定的值。

擴充 BaseComponents#/schemas/BaseFeatureParameter

名稱型別預設必填描述
scopestring (gateway | caller | model)—是Whose traffic one limit covers. gateway: everything the gateway serves counts against one limit. caller: each caller the gateway tells apart has a limit of its own. model: each model the gateway serves has a limit of its own.
unitstring (usd | total_tokens | prompt_tokens | completion_tokens)—是What is counted against limit. usd: what the traffic costs in US dollars, as the gateway prices it. total_tokens, prompt_tokens and completion_tokens: the tokens a model reports reading and writing, reading only, or writing only.

輸出契約

此功能向使用端發布的值。

未宣告任何輸出值。

註記

未宣告任何註記。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

Feature 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權