feat(s36): PricingContract + fail-fast loader + placeholder path + quality guidance
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0145ZKPLMVeqM47z2jxxokym
This commit is contained in:
parent
47147e5f7c
commit
cfa93799a5
4 changed files with 195 additions and 0 deletions
28
src/portfolio_optimiser/data/pricing.example.json
Normal file
28
src/portfolio_optimiser/data/pricing.example.json
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"_note": "S3.6 EXAMPLE prices — kr/1k tokens as INTEGER øre (blended total-token rate, matching the runtime meter's total_token_count). The framework ships this example; the DEPLOYER owns verified vendor prices (replace values, keep source+date honest). quality_guidance is sourced GUIDANCE, never a measured number. Azure ids below are forward-looking examples the deployer activates once they replace the REPLACE-WITH-FOUNDRY-DEPLOYMENT placeholder in model_map.json.",
|
||||
"source": "Framework example prices (UNVERIFIED) — deployer MUST replace with vendor prices + kilde/dato",
|
||||
"date": "2026-07-15",
|
||||
"models": {
|
||||
"qwen3:4b": {
|
||||
"ore_per_1k_tokens": 0,
|
||||
"quality_guidance": {
|
||||
"note": "Lokal Ollama-modell: gratis, ingen egress (D6). Lavere resonnering enn frontier-modeller — egnet for billige, høy-volum utkast, ikke kritisk falsifisering.",
|
||||
"source": "Ollama model card qwen3:4b (2026-07-15)"
|
||||
}
|
||||
},
|
||||
"gpt-4o-mini": {
|
||||
"ore_per_1k_tokens": 15,
|
||||
"quality_guidance": {
|
||||
"note": "Rimelig frontier-klasse; god kost/kvalitet for proposer-rollen. Eksempelpris — verifiser mot Azure OpenAI-prisliste før bruk.",
|
||||
"source": "Azure OpenAI pricing (EXAMPLE, unverified) (2026-07-15)"
|
||||
}
|
||||
},
|
||||
"gpt-5-mini": {
|
||||
"ore_per_1k_tokens": 40,
|
||||
"quality_guidance": {
|
||||
"note": "Sterkere resonnering enn 4o-mini; egnet for checker-rollen der falsifisering er kritisk. Eksempelpris — verifiser før bruk.",
|
||||
"source": "Azure OpenAI pricing (EXAMPLE, unverified) (2026-07-15)"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue