[Bug]: register_model() persists synthesized zero costs on re-registration, silently disabling all budget enforcement
![[Bug]: register_model() persists synthesized zero costs on re-registration, silently disabling all budget enforcement](https://www.chat-gpts.plus/wp-content/uploads/2026/06/30198-bba40006-768x403.jpg)
用户在生产环境中运行 LiteLLM Proxy(基于数据库的代理)。触发场景:通过 Admin UI 创建模型(未设置自定义定价),之后在同一个进程内模型被第二次注册(例如路由器重建、数据库配置同步、使用 /model/update 接口更新模型、或在 Admin UI 中编辑模型)。此问题在 l








