gateway: refresh EUR->USD prices at boot from the ECB feed (fail-open)
eur_prices.json is the EUR source of truth; fx_sync.py converts at the ECB daily rate before config validation and rewrites only the model_info cost fields. If the feed is unreachable the config is left untouched and the boot continues.
This commit is contained in:
1 parent
fe48ca8e38
commit
140b443980
4 files changed
+110
No files matched your search
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"_comment": "EUR list prices per 1M tokens (providers quoting EUR). fx_sync.py converts at the ECB daily rate at boot. USD values in config.yaml are fallbacks.",
|
||||
"models": {
|
||||
"greenpt/deepseek-v4.1-flash": {"input": 0.36, "output": 1.45, "cache": 0.04},
|
||||
"greenpt/glm-5.3-flash": {"input": 0.11, "output": 0.44, "cache": 0.022},
|
||||
"greenpt/glm-5.3": {"input": 1.10, "output": 4.40, "cache": 0.275},
|
||||
"greenpt/green-embeddings": {"input": 0.20, "output": 0.0},
|
||||
"greenpt/qwen3-embedding-8b": {"input": 0.25, "output": 0.0},
|
||||
"deepseek-flash-green": {"input": 0.36, "output": 1.45, "cache": 0.04},
|
||||
"glm-flash-green": {"input": 0.11, "output": 0.44, "cache": 0.022},
|
||||
"regolo/apertus-70b": {"input": 1.00, "output": 3.40},
|
||||
"regolo/qwen3.5-122b": {"input": 0.60, "output": 3.40},
|
||||
"regolo/mistral-small-4-119b": {"input": 0.20, "output": 0.70},
|
||||
"regolo/gemma4-31b": {"input": 0.40, "output": 0.60}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user