gateway: convert the route aliases too — members call those, not the prefixed ids

deepseek-flash-green and glm-flash-green carried their own old model_info; the
deployment entries were converted but the aliases kept EUR numerals, so live spend
still billed the old rate.
This commit is contained in:
inference-admin committed 2026-11-18 17:29:29 +00:00
1 parent 718644c363
commit c8816b58c1
1 file changed
+6 -6
+6 -6
View File
@@ -359,9 +359,9 @@ model_list:
api_base: https://api.greenpt.ai/v1 api_base: https://api.greenpt.ai/v1
api_key: os.environ/GREENPT_API_KEY api_key: os.environ/GREENPT_API_KEY
model_info: model_info:
input_cost_per_token: 0.00000036 input_cost_per_token: 4.176e-07
output_cost_per_token: 0.00000145 output_cost_per_token: 1.682e-06
cache_read_input_token_cost: 0.00000004 cache_read_input_token_cost: 4.64e-08
- model_name: deepseek-flash-tee - model_name: deepseek-flash-tee
litellm_params: litellm_params:
@@ -379,9 +379,9 @@ model_list:
api_base: https://api.greenpt.ai/v1 api_base: https://api.greenpt.ai/v1
api_key: os.environ/GREENPT_API_KEY api_key: os.environ/GREENPT_API_KEY
model_info: model_info:
input_cost_per_token: 0.00000011 input_cost_per_token: 1.276e-07
output_cost_per_token: 0.00000044 output_cost_per_token: 5.104e-07
cache_read_input_token_cost: 0.000000022 cache_read_input_token_cost: 2.552e-08
# Tinfoil's flash GLM was deprecated 2026-10-09; the TEE route for this family # Tinfoil's flash GLM was deprecated 2026-10-09; the TEE route for this family
# is the flagship, so the alias is named glm-tee rather than glm-flash-tee. # is the flagship, so the alias is named glm-tee rather than glm-flash-tee.