Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Add second reviewed Patrol model route

rcourtman91281a299e3d
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index 9d5754066c..2ee1ee04f9 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -6275,7 +6275,9 @@ routes remain unknown and therefore fail any non-zero qualification cost
budget until their actual route price is explicitly recorded. An exact
OpenRouter `:free` route may be recorded at zero only after that route's public
catalog entry is reviewed; the suffix alone never makes other free aliases
-known. Live scoring
+known. The reviewed zero-priced qualification routes are currently
+`nvidia/nemotron-3.5-lightning:free` and
+`nvidia/nemotron-3-super-120b-a12b:free`. Live scoring
uses the provider resolved by Patrol readiness, even when the configured
OpenRouter model is an unprefixed slash route such as
`anthropic/claude-sonnet-5`; scorer replay persists and reuses that resolved
diff --git a/internal/ai/cost/pricing.go b/internal/ai/cost/pricing.go
index cb6c132d58..f15814c12f 100644
--- a/internal/ai/cost/pricing.go
+++ b/internal/ai/cost/pricing.go
@@ -69,6 +69,7 @@ var providerPrices = map[string][]modelPrice{
flatPriceAsOf("anthropic/claude-opus-4.8", 5.00, 25.00, "2026-07-14"),
flatPriceAsOf("anthropic/claude-sonnet-5", 2.00, 10.00, "2026-07-14"),
flatPriceAsOf("deepseek/deepseek-v4-flash", 0.09, 0.18, "2026-07-14"),
+ flatPriceAsOf("nvidia/nemotron-3.5-lightning:free", 0, 0, "2026-08-14"),
flatPriceAsOf("nvidia/nemotron-3-super-120b-a12b:free", 0, 0, "2026-08-14"),
},
"gemini": {
diff --git a/internal/ai/cost/store_extended_test.go b/internal/ai/cost/store_extended_test.go
index aaf22475ec..db7e54d218 100644
--- a/internal/ai/cost/store_extended_test.go
+++ b/internal/ai/cost/store_extended_test.go
@@ -138,18 +138,23 @@ func TestEstimateUSD_OllamaFree(t *testing.T) {
}
func TestEstimateUSD_ReviewedOpenRouterFreeRoute(t *testing.T) {
- usd, ok, price := EstimateUSD("openrouter", "nvidia/nemotron-3-super-120b-a12b:free", 1_000_000, 1_000_000)
- if !ok {
- t.Fatal("reviewed OpenRouter free-route pricing should be known")
- }
- if usd != 0 || price.InputUSDPerMTok != 0 || price.OutputUSDPerMTok != 0 {
- t.Fatalf("reviewed OpenRouter free route should estimate $0, got usd=%f price=%+v", usd, price)
- }
- if price.AsOf != "2026-08-14" {
- t.Fatalf("reviewed OpenRouter free-route date = %q, want 2026-08-14", price.AsOf)
+ for _, model := range []string{
+ "nvidia/nemotron-3.5-lightning:free",
+ "nvidia/nemotron-3-super-120b-a12b:free",
+ } {
+ usd, ok, price := EstimateUSD("openrouter", model, 1_000_000, 1_000_000)
+ if !ok {
+ t.Fatalf("reviewed OpenRouter free-route pricing should be known for %s", model)
+ }
+ if usd != 0 || price.InputUSDPerMTok != 0 || price.OutputUSDPerMTok != 0 {
+ t.Fatalf("reviewed OpenRouter free route %s should estimate $0, got usd=%f price=%+v", model, usd, price)
+ }
+ if price.AsOf != "2026-08-14" {
+ t.Fatalf("reviewed OpenRouter free-route date for %s = %q, want 2026-08-14", model, price.AsOf)
+ }
}
- if _, known, _ := EstimateUSD("openrouter", "nvidia/nemotron-3.5-lightning:free", 1_000, 1_000); known {
+ if _, known, _ := EstimateUSD("openrouter", "openai/gpt-oss-20b:free", 1_000, 1_000); known {
t.Fatal("an unreviewed OpenRouter free route must remain unknown")
}
}