feat(console): promote Kimi K3 usage limits (#37442)

Co-authored-by: Frank <frank@anoma.ly>
This commit is contained in:
opencode-agent[bot]
2026-07-17 02:24:51 -04:00
committed by GitHub
co-authored by Frank
parent 3a1c6df9e2
commit 52f65f3a0b
2 changed files with 17 additions and 2 deletions
@@ -628,6 +628,10 @@ body {
stroke: none;
}
[data-bar][data-kind="promo"] {
fill: color-mix(in srgb, var(--bar-go) 50%, transparent);
}
[data-val] {
fill: var(--color-text-strong);
font-size: 13px;
+13 -2
View File
@@ -64,7 +64,7 @@ function LimitsGraph(props: { href: string }) {
const baseline = 200
const graph = [
{ id: "grok-4.5", name: "Grok 4.5", req: 80, d: "50ms" },
{ id: "kimi-k3", name: "Kimi K3", req: 140, d: "75ms" },
{ id: "kimi-k3", name: "Kimi K3", req: 280, baseReq: 140, d: "75ms" },
{ id: "glm-5.2", name: "GLM-5.2", req: 880, d: "100ms" },
{ id: "qwen3.7-max", name: "Qwen3.7 Max", req: 950, d: "110ms" },
{ id: "kimi-k2.7-code", name: "Kimi K2.7 Code", req: 1150, d: "150ms" },
@@ -152,12 +152,23 @@ function LimitsGraph(props: { href: string }) {
<rect
x={left}
y={gy(i()) - bh / 2}
width={Math.max(0, x(ratio(m.req)) - left)}
width={Math.max(0, x(ratio(m.baseReq ?? m.req)) - left)}
height={bh}
data-bar
data-kind="go"
data-model={m.id}
/>
{m.baseReq && (
<rect
x={x(ratio(m.baseReq)) + 2}
y={gy(i()) - bh / 2}
width={Math.max(0, x(ratio(m.req)) - x(ratio(m.baseReq)) - 2)}
height={bh}
data-bar
data-kind="promo"
data-model={m.id}
/>
)}
</g>
)}
</For>