Update API token stats pricing and footer to June 2026 rates
This commit is contained in:
@@ -99,8 +99,9 @@ def token_stats() -> dict:
|
|||||||
c = stats.get("completion_tokens", 0)
|
c = stats.get("completion_tokens", 0)
|
||||||
total = p + c
|
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)
|
# Juni 2026 API-Preise (deutlich gestiegen):
|
||||||
saved_usd = (p * 3.0 + c * 15.0) / 1_000_000.0
|
# 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
|
saved_eur = saved_usd * 0.92 # 1 USD = 0.92 EUR
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
<link rel="manifest" href="/manifest.webmanifest" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<title>Mission Control 2.0</title>
|
<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">
|
<link rel="stylesheet" crossorigin href="/assets/index-Djoh-Jwz.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -756,7 +756,7 @@ export function DashboardView() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 text-[9px] text-muted-foreground/70 border-t border-border/30 pt-2.5 leading-normal">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user