Repository navigation
[Automated] Draft docs (agentgateway): llm: support service tier pricing - #1310
Open
github-actions[bot] wants to merge 1 commit into
Open
github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Signed-off-by: GitHub Action <action@github.com>
Deploying agentproxy with
|
| Latest commit: |
1f0a023
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://919d53bd.agentproxy.pages.dev |
| Branch Preview URL: | https://pr-tracker-draft-agentgatewa-7x9o.agentproxy.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agentgateway/agentgateway#3661 — llm: support service tier pricing
Docs versions:
standalone/main,kubernetes/mainNo code-path rule covers 2 touched file(s). The planner could route these only by identifier search, so the candidate pages may miss what they changed, including in the other mode:
crates/llm/src/types/gemini.rscrates/llm/src/types/vertex_gemini.rsWhat changes for users: Model catalogs can set service-tier-specific pricing with
tiers[].serviceTier, using normalized valuesstandard,flex,priority, andreserved.agctl catalog importnow includesvertex-pricingby default, so generated catalogs can include Vertex AI Gemini service-tier rates.What the docs now say: The standalone and Kubernetes model-cost docs now list
vertex-pricingas a default catalog import source. The shared catalog-format snippet now explains service-tier tier rules and shows aserviceTierexample for the development tree.Not verified: No cluster or local runtime was used; the documented configuration and commands are unrun.
How
agentgateway-3661was drafted, and what was not verifiedPlan, and what changed it
serviceTierpricing in the shared catalog-format snippet, addedvertex-pricingto the standalone and Kubernetes cost guides, and wrote a proposed feature release note.Why a documentation change is necessary
The diff adds
serviceTierto model catalogtiers[], normalizes provider-reported service tiers tostandard,flex,priority, orreserved, and uses the served tier when selecting effective rates. The existing model-cost pages described only context-length tiers, so a reader could not discover how to price Flex, Priority, or Reserved requests. The diff also addsvertex-pricingto the default import sources, but both cost guides still listed onlymodels.devandaws-bedrock-mantle.What changed on disk
assets/agw-docs/snippets/model-catalog-json-format.md: Explains service-tier-specific catalog tiers and shows a gatedserviceTierexample for the development tree.assets/agw-docs/standalone/cost-catalog.md: Addsvertex-pricingas a main-only default import source for standalone cost catalog docs.content/docs/kubernetes/main/documentation/llm/cost-controls/costs.md: Addsvertex-pricingto the Kubernetes main cost catalog source list.How to verify this change
Generate a catalog with the default sources.
Inspect a Vertex AI Gemini model in
catalog.json. The model entry includestiers[]entries withserviceTiervalues such asflexorpriority.Load a catalog that contains
tiers[].serviceTier: flexand send a request that the provider serves under the Flex tier. The request cost fields, such asllm.costRates, use the Flex tier rates instead of only the context-length rates.What was not verified
The configuration was not applied to a cluster, so every command in this diff is unrun.
The
agctl catalog importcommand was not run because the sandbox has no network access, and thevertex-pricingsource fetches remote Google Cloud pricing data.How the pages were chosen (triage report)
Draft a documentation change
agentgateway/agentgateway#3661 — llm: support service tier pricing
agentgateway/websitecrates/llm/src/types/gemini.rscrates/llm/src/types/vertex_gemini.rsrates, not drafted (2):content/docs/kubernetes/main/documentation/llm/cost-controls/optimize.txt(lists the neighbours, addstandard)content/docs/standalone/main/documentation/llm/cost-controls/optimize.txt(lists the neighbours, addstandard)Release notes
This pull request also adds its release-note entries:
content/docs/kubernetes/main/release-notes/release-notes.md: Service-tier pricing in the model catalog (feature)content/docs/standalone/main/release-notes/release-notes.md: Service-tier pricing in the model catalog (feature)Check these release-note links and names. Each note is on its page, but a link may not reach the drafted content there, or a name may belong to the other mode:
content/docs/standalone/main/release-notes/release-notes.md: llm: support service tier pricing agentgateway#3661's note namesvertex-pricing, whichcontent/docs/kubernetes/mainmentions andcontent/docs/standalone/maindoes not. Check that this tree's readers can set it, or word the note for this mode.Draft branch:
pr-tracker-draft-agentgateway-3661