Implement LLM-WP-0007: Kimi K3 default and EUR spend reporting
Add moonshotai/kimi-k3 as OpenRouter basemodel default after live smoke, USD→EUR cost conversion, append-only usage ledger, and CLI run/cost/spend week commands with token and euro reporting.
This commit is contained in:
parent
f3121c3f1f
commit
09aa1f3604
21 changed files with 1396 additions and 103 deletions
|
|
@ -7,9 +7,12 @@ def test_default_registry_contains_openrouter_seed_models():
|
|||
registry = ModelRateRegistry.default()
|
||||
rates = registry.all()
|
||||
|
||||
assert len(rates) >= 9
|
||||
assert len(rates) >= 10
|
||||
assert rates["openai/gpt-4o-mini"].captured_at == "2026-05-17"
|
||||
assert rates["openai/gpt-4o-mini"].source_url == "https://openrouter.ai/models"
|
||||
assert rates["moonshotai/kimi-k3"].prompt_per_1k == 0.003
|
||||
assert rates["moonshotai/kimi-k3"].completion_per_1k == 0.015
|
||||
assert rates["moonshotai/kimi-k3"].captured_at == "2026-08-03"
|
||||
|
||||
|
||||
def test_from_yaml_loads_package_shape(tmp_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue