Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
import { Card } from "@/shared/components";
export function MetricCard({
label,
value,
subValue,
color = "text-text-main",
loading = false,
}: {
label: string;
value: string;
subValue?: string;
color?: string;
loading?: boolean;
}) {
return (
<Card className="px-4 py-3">
<p className="text-xs uppercase tracking-wide text-text-muted font-semibold">{label}</p>
<p className={`text-2xl font-bold mt-1 ${color}`}>{loading ? "…" : value}</p>
{subValue ? <p className="text-xs text-text-muted mt-1">{subValue}</p> : null}
</Card>
);
}