Update API token stats pricing and footer to June 2026 rates

This commit is contained in:
Hitonabi
2026-06-26 13:50:46 +02:00
parent 2e4cddc840
commit 2c60caf790
4 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -99,8 +99,9 @@ def token_stats() -> dict:
c = stats.get("completion_tokens", 0)
total = p + c
# Blended savings based on a premium cloud model rate (e.g. GPT-4o / Claude 3.5 Sonnet: $3.00/1M input, $15.00/1M output)
saved_usd = (p * 3.0 + c * 15.0) / 1_000_000.0
# Juni 2026 API-Preise (deutlich gestiegen):
# Premium-Modelle (Claude 4 / GPT-5): 15,00 $ / 1M Input-Tokens und 75,00 $ / 1M Output-Tokens
saved_usd = (p * 15.0 + c * 75.0) / 1_000_000.0
saved_eur = saved_usd * 0.92 # 1 USD = 0.92 EUR
return {
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -7,7 +7,7 @@
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>Mission Control 2.0</title>
<script type="module" crossorigin src="/assets/index-CNk5p9Ix.js"></script>
<script type="module" crossorigin src="/assets/index-9qPdHcPL.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Djoh-Jwz.css">
</head>
<body>
+1 -1
View File
@@ -756,7 +756,7 @@ export function DashboardView() {
)}
</div>
<div className="mt-4 text-[9px] text-muted-foreground/70 border-t border-border/30 pt-2.5 leading-normal">
Berechnet im Vergleich zu Cloud-APIs (Ø 3,00 $ / 15,00 $ pro 1M tkn).
Berechnet im Vergleich zu Cloud-APIs von Juni 2026 (Ø 15,00 $ / 75,00 $ pro 1M tkn).
</div>
</div>
</div>