gateway: aliases name the route, not the version (-green / -tee)

deepseek-flash-latest -> deepseek-flash-green, glm-flash-latest -> glm-green.
'latest' described how fresh a version is; what a member actually needs to choose
between is the route, and -green / -tee says it. The version-free property is
unchanged — it comes from the alias being re-pointed, not from the word in the
name — and is now stated in the comment rather than encoded in the label.
Renamed while the previous names were hours old and nothing depended on them.
This commit is contained in:
inference-admin committed 2026-11-14 18:45:53 +00:00
1 parent 02ff60bfbf
commit 9266f9bc3c
1 file changed
+6 -4
+6 -4
View File
@@ -336,9 +336,11 @@ model_list:
# client configs and the docs do not. Pricing is stated AT the alias, so a # client configs and the docs do not. Pricing is stated AT the alias, so a
# transition that changes price is visible in the model list and in budgets # transition that changes price is visible in the model list and in budgets
# (LiteLLM bills the alias's model_info, not the target's). # (LiteLLM bills the alias's model_info, not the target's).
# Policy: `<family>-latest` = the default renewable, policy-private route; # Policy: `<family>-green` = the default route (renewable energy, policy-based
# `<family>-tee` = the same family served inside a TEE (attested hardware). # privacy); `<family>-tee` = the same family served inside a TEE (attested
- model_name: deepseek-flash-latest # hardware). The names say WHICH ROUTE, not how fresh a version is: we re-point
# them at transitions, so pinning one is what makes a config version-free.
- model_name: deepseek-flash-green
litellm_params: litellm_params:
model: openai/deepseek-v4.1-flash model: openai/deepseek-v4.1-flash
api_base: https://api.greenpt.ai/v1 api_base: https://api.greenpt.ai/v1
@@ -358,7 +360,7 @@ model_list:
output_cost_per_token: 0.00000145 output_cost_per_token: 0.00000145
cache_read_input_token_cost: 0.00000013 cache_read_input_token_cost: 0.00000013
- model_name: glm-flash-latest - model_name: glm-green
litellm_params: litellm_params:
model: openai/glm-5.3-flash model: openai/glm-5.3-flash
api_base: https://api.greenpt.ai/v1 api_base: https://api.greenpt.ai/v1