feat(console): promote Kimi K3 usage limits (#37442)
Co-authored-by: Frank <frank@anoma.ly>
This commit is contained in:
co-authored by
Frank
parent
3a1c6df9e2
commit
52f65f3a0b
@@ -628,6 +628,10 @@ body {
|
|||||||
stroke: none;
|
stroke: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-bar][data-kind="promo"] {
|
||||||
|
fill: color-mix(in srgb, var(--bar-go) 50%, transparent);
|
||||||
|
}
|
||||||
|
|
||||||
[data-val] {
|
[data-val] {
|
||||||
fill: var(--color-text-strong);
|
fill: var(--color-text-strong);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ function LimitsGraph(props: { href: string }) {
|
|||||||
const baseline = 200
|
const baseline = 200
|
||||||
const graph = [
|
const graph = [
|
||||||
{ id: "grok-4.5", name: "Grok 4.5", req: 80, d: "50ms" },
|
{ 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: "glm-5.2", name: "GLM-5.2", req: 880, d: "100ms" },
|
||||||
{ id: "qwen3.7-max", name: "Qwen3.7 Max", req: 950, d: "110ms" },
|
{ 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" },
|
{ id: "kimi-k2.7-code", name: "Kimi K2.7 Code", req: 1150, d: "150ms" },
|
||||||
@@ -152,12 +152,23 @@ function LimitsGraph(props: { href: string }) {
|
|||||||
<rect
|
<rect
|
||||||
x={left}
|
x={left}
|
||||||
y={gy(i()) - bh / 2}
|
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}
|
height={bh}
|
||||||
data-bar
|
data-bar
|
||||||
data-kind="go"
|
data-kind="go"
|
||||||
data-model={m.id}
|
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>
|
</g>
|
||||||
)}
|
)}
|
||||||
</For>
|
</For>
|
||||||
|
|||||||
Reference in New Issue
Block a user