diff --git a/webui/mock/README.md b/webui/mock/README.md new file mode 100644 index 0000000..07fd5e3 --- /dev/null +++ b/webui/mock/README.md @@ -0,0 +1,3 @@ +# Mock admin API fixtures + +`fixtures/*.json` are anonymised GET responses captured from a live gateway admin API (`/admin/api/*`) at 2026-11-25T01:01:07Z, trimmed to one fixture per distinct path and query shape (at most 3 scope variants), plus every `400 range too large` response and the empty-rows examples. User names are replaced by `user-NN` and service identities by `service-NN`; hosts, addresses and keys are removed. `manifest.json` maps each fixture file to its `path`, `query` and `status`. `src/lib/mock-leak-scan.spec.ts` fails if a fixture holds a term from `leak-terms.ts`; set `LEAK_SCAN_EXTRA_TERMS` (comma-separated) to add the original names locally. To re-capture, run the GET-only capture and anonymise scripts against a running gateway with an admin key (never print the key), then re-apply the trimming rule and re-run the leak scan. diff --git a/webui/mock/fixtures/catalog.json b/webui/mock/fixtures/catalog.json new file mode 100644 index 0000000..04ba73b --- /dev/null +++ b/webui/mock/fixtures/catalog.json @@ -0,0 +1,2553 @@ +{ + "providers": [ + { + "lastRefresh": "2026-11-25T00:45:24.130858024Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "alibaba", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 0.4, + "id": "alibaba/deepseek-v4-flash-0731", + "model": "deepseek-v4-flash-0731", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.32, + "outputPerMTokUsd": 3.96, + "id": "alibaba/deepseek-v4-pro", + "model": "deepseek-v4-pro", + "priceSource": "litellm" + }, + { + "id": "alibaba/deepseek-v4.1-flash-1017", + "model": "deepseek-v4.1-flash-1017", + "priceSource": "unpriced" + }, + { + "contextTokens": 202745, + "inputPerMTokUsd": 1.4, + "outputPerMTokUsd": 4.4, + "id": "alibaba/glm-5.1", + "model": "glm-5.1", + "priceSource": "litellm" + }, + { + "contextTokens": 1048576, + "inputPerMTokUsd": 1.4, + "outputPerMTokUsd": 4.4, + "id": "alibaba/glm-5.2", + "model": "glm-5.2", + "priceSource": "litellm" + }, + { + "contextTokens": 262144, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 3, + "id": "alibaba/kimi-k2.5", + "model": "kimi-k2.5", + "priceSource": "litellm" + }, + { + "contextTokens": 229376, + "inputPerMTokUsd": 0.95, + "outputPerMTokUsd": 4, + "id": "alibaba/kimi-k2.7-code", + "model": "kimi-k2.7-code", + "priceSource": "litellm" + }, + { + "contextTokens": 1048576, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15, + "id": "alibaba/kimi-k3", + "model": "kimi-k3", + "priceSource": "litellm" + }, + { + "id": "alibaba/kimi-k3.1-pro", + "model": "kimi-k3.1-pro", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-flash", + "model": "qwen-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-flash-2025-07-28", + "model": "qwen-flash-2025-07-28", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-image-2.1-pro", + "model": "qwen-image-2.1-pro", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-image-3.0", + "model": "qwen-image-3.0", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-image-3.0-pro", + "model": "qwen-image-3.0-pro", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-mt-flash", + "model": "qwen-mt-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-mt-lite", + "model": "qwen-mt-lite", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-mt-plus", + "model": "qwen-mt-plus", + "priceSource": "unpriced" + }, + { + "contextTokens": 129024, + "inputPerMTokUsd": 0.4, + "outputPerMTokUsd": 1.2, + "id": "alibaba/qwen-plus", + "model": "qwen-plus", + "priceSource": "litellm" + }, + { + "id": "alibaba/qwen-plus-2025-12-01", + "model": "qwen-plus-2025-12-01", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-plus-character", + "model": "qwen-plus-character", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-vl-ocr", + "model": "qwen-vl-ocr", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen-vl-ocr-2025-11-20", + "model": "qwen-vl-ocr-2025-11-20", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3-coder-flash", + "model": "qwen3-coder-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3-coder-flash-2025-07-28", + "model": "qwen3-coder-flash-2025-07-28", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3-vl-plus", + "model": "qwen3-vl-plus", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-122b-a10b", + "model": "qwen3.5-122b-a10b", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-27b", + "model": "qwen3.5-27b", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-35b-a3b", + "model": "qwen3.5-35b-a3b", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-397b-a17b", + "model": "qwen3.5-397b-a17b", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-flash", + "model": "qwen3.5-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-flash-2026-02-23", + "model": "qwen3.5-flash-2026-02-23", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-plus", + "model": "qwen3.5-plus", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.5-plus-2026-02-15", + "model": "qwen3.5-plus-2026-02-15", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.6-35b-a3b", + "model": "qwen3.6-35b-a3b", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.6-flash", + "model": "qwen3.6-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.6-flash-2026-04-16", + "model": "qwen3.6-flash-2026-04-16", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.6-plus", + "model": "qwen3.6-plus", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.6-plus-2026-04-02", + "model": "qwen3.6-plus-2026-04-02", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.7-flash", + "model": "qwen3.7-flash", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.7-flash-2026-07-15", + "model": "qwen3.7-flash-2026-07-15", + "priceSource": "unpriced" + }, + { + "contextTokens": 991808, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 7.5, + "id": "alibaba/qwen3.7-max", + "model": "qwen3.7-max", + "priceSource": "litellm" + }, + { + "id": "alibaba/qwen3.7-max-2026-05-20", + "model": "qwen3.7-max-2026-05-20", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.7-max-2026-06-08", + "model": "qwen3.7-max-2026-06-08", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.7-plus", + "model": "qwen3.7-plus", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen3.7-plus-2026-05-26", + "model": "qwen3.7-plus-2026-05-26", + "priceSource": "unpriced" + }, + { + "contextTokens": 991808, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.47, + "id": "alibaba/qwen3.8-flash", + "model": "qwen3.8-flash", + "priceSource": "litellm" + }, + { + "contextTokens": 991808, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "alibaba/qwen3.8-max", + "model": "qwen3.8-max", + "priceSource": "litellm" + }, + { + "id": "alibaba/qwen3.8-max-0902", + "model": "qwen3.8-max-0902", + "priceSource": "unpriced" + }, + { + "id": "alibaba/qwen4-max", + "model": "qwen4-max", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:46.296837293Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "amd", + "type": "openai", + "healthState": "closed", + "models": [], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.338700086Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "anthropic", + "type": "anthropic", + "healthState": "closed", + "models": [ + { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "anthropic/claude-fable-5", + "model": "claude-fable-5", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "anthropic/claude-fable-5-1", + "model": "claude-fable-5-1", + "priceSource": "litellm" + }, + { + "id": "anthropic/claude-fable-5-2", + "model": "claude-fable-5-2", + "priceSource": "unpriced" + }, + { + "contextTokens": 200000, + "inputPerMTokUsd": 1, + "outputPerMTokUsd": 5, + "id": "anthropic/claude-haiku-4-5-20251001", + "model": "claude-haiku-4-5-20251001", + "priceSource": "litellm" + }, + { + "id": "anthropic/claude-haiku-5-5", + "model": "claude-haiku-5-5", + "priceSource": "unpriced" + }, + { + "contextTokens": 200000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "anthropic/claude-opus-4-5-20251101", + "model": "claude-opus-4-5-20251101", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "anthropic/claude-opus-4-6", + "model": "claude-opus-4-6", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "anthropic/claude-opus-4-7", + "model": "claude-opus-4-7", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "anthropic/claude-opus-4-8", + "model": "claude-opus-4-8", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "anthropic/claude-opus-5", + "model": "claude-opus-5", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20, + "id": "anthropic/claude-opus-5-5", + "model": "claude-opus-5-5", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15, + "id": "anthropic/claude-sonnet-4-5-20250929", + "model": "claude-sonnet-4-5-20250929", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15, + "id": "anthropic/claude-sonnet-4-6", + "model": "claude-sonnet-4-6", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "anthropic/claude-sonnet-5", + "model": "claude-sonnet-5", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "anthropic/claude-sonnet-5-5", + "model": "claude-sonnet-5-5", + "priceSource": "litellm" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.463073656Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "cerebras", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 131072, + "inputPerMTokUsd": 0.35, + "outputPerMTokUsd": 0.75, + "id": "cerebras/gpt-oss-120b", + "model": "gpt-oss-120b", + "priceSource": "litellm" + }, + { + "contextTokens": 65536, + "inputPerMTokUsd": 0.99, + "outputPerMTokUsd": 1.49, + "id": "cerebras/qwen-3.8-27b", + "model": "qwen-3.8-27b", + "priceSource": "litellm" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.468331217Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "codex", + "type": "openai", + "healthState": "closed", + "models": [ + { + "id": "codex/codex-auto-review", + "model": "codex-auto-review", + "priceSource": "unpriced" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2, + "id": "codex/gpt-5.6-luna", + "model": "gpt-5.6-luna", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20, + "id": "codex/gpt-5.6-sol", + "model": "gpt-5.6-sol", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 12, + "id": "codex/gpt-5.6-terra", + "model": "gpt-5.6-terra", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "codex/gpt-6-astra", + "model": "gpt-6-astra", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5, + "id": "codex/gpt-6-luna", + "model": "gpt-6-luna", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "codex/gpt-6-sol", + "model": "gpt-6-sol", + "priceSource": "litellm" + }, + { + "id": "codex/gpt-6.1-sol", + "model": "gpt-6.1-sol", + "priceSource": "unpriced" + }, + { + "id": "codex/gpt-6.1-terra", + "model": "gpt-6.1-terra", + "priceSource": "unpriced" + }, + { + "id": "codex/gpt-6.2-astra", + "model": "gpt-6.2-astra", + "priceSource": "unpriced" + }, + { + "id": "codex/gpt-6.2-sol", + "model": "gpt-6.2-sol", + "priceSource": "unpriced" + }, + { + "id": "codex/gpt-reserve", + "model": "gpt-reserve", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.67976743Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "copilot", + "type": "openai", + "healthState": "closed", + "models": [ + { + "id": "copilot/albatross", + "model": "albatross", + "priceSource": "unpriced" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "copilot/claude-fable-5", + "model": "claude-fable-5", + "priceSource": "litellm" + }, + { + "id": "copilot/claude-fable-5.1", + "model": "claude-fable-5.1", + "priceSource": "unpriced" + }, + { + "id": "copilot/claude-fable-5.2", + "model": "claude-fable-5.2", + "priceSource": "unpriced" + }, + { + "id": "copilot/claude-haiku-4.5", + "model": "claude-haiku-4.5", + "priceSource": "unpriced" + }, + { + "id": "copilot/claude-haiku-5.5", + "model": "claude-haiku-5.5", + "priceSource": "unpriced" + }, + { + "id": "copilot/claude-opus-4.8-fast", + "model": "claude-opus-4.8-fast", + "priceSource": "unpriced" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25, + "id": "copilot/claude-opus-5", + "model": "claude-opus-5", + "priceSource": "litellm" + }, + { + "id": "copilot/claude-opus-5.5", + "model": "claude-opus-5.5", + "priceSource": "unpriced" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "copilot/claude-sonnet-5", + "model": "claude-sonnet-5", + "priceSource": "litellm" + }, + { + "id": "copilot/claude-sonnet-5.5", + "model": "claude-sonnet-5.5", + "priceSource": "unpriced" + }, + { + "id": "copilot/copilot-search-a", + "model": "copilot-search-a", + "priceSource": "unpriced" + }, + { + "id": "copilot/copilot-search-b", + "model": "copilot-search-b", + "priceSource": "unpriced" + }, + { + "id": "copilot/eagle-bald", + "model": "eagle-bald", + "priceSource": "unpriced" + }, + { + "id": "copilot/gemini-3.8-flash", + "model": "gemini-3.8-flash", + "priceSource": "unpriced" + }, + { + "id": "copilot/gemini-4-argon", + "model": "gemini-4-argon", + "priceSource": "unpriced" + }, + { + "id": "copilot/gemini-4-hydrogen", + "model": "gemini-4-hydrogen", + "priceSource": "unpriced" + }, + { + "contextTokens": 16385, + "inputPerMTokUsd": 0.5, + "outputPerMTokUsd": 1.5, + "id": "copilot/gpt-3.5-turbo", + "model": "gpt-3.5-turbo", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-3.5-turbo-0613", + "model": "gpt-3.5-turbo-0613", + "priceSource": "unpriced" + }, + { + "contextTokens": 8192, + "inputPerMTokUsd": 30, + "outputPerMTokUsd": 60, + "id": "copilot/gpt-4", + "model": "gpt-4", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-4-0125-preview", + "model": "gpt-4-0125-preview", + "priceSource": "unpriced" + }, + { + "contextTokens": 8192, + "inputPerMTokUsd": 30, + "outputPerMTokUsd": 60, + "id": "copilot/gpt-4-0613", + "model": "gpt-4-0613", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-4-o-preview", + "model": "gpt-4-o-preview", + "priceSource": "unpriced" + }, + { + "contextTokens": 1047576, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8, + "id": "copilot/gpt-4.1", + "model": "gpt-4.1", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-4.1-2025-04-14", + "model": "gpt-4.1-2025-04-14", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-41-copilot", + "model": "gpt-41-copilot", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10, + "id": "copilot/gpt-4o", + "model": "gpt-4o", + "priceSource": "builtin" + }, + { + "id": "copilot/gpt-4o-2024-05-13", + "model": "gpt-4o-2024-05-13", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-4o-2024-08-06", + "model": "gpt-4o-2024-08-06", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-4o-2024-11-20", + "model": "gpt-4o-2024-11-20", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.6, + "id": "copilot/gpt-4o-mini", + "model": "gpt-4o-mini", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-4o-mini-2024-07-18", + "model": "gpt-4o-mini-2024-07-18", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-5.3-codex", + "model": "gpt-5.3-codex", + "priceSource": "unpriced" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25, + "id": "copilot/gpt-5.4-nano", + "model": "gpt-5.4-nano", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2, + "id": "copilot/gpt-5.6-luna", + "model": "gpt-5.6-luna", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20, + "id": "copilot/gpt-5.6-sol", + "model": "gpt-5.6-sol", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "copilot/gpt-6-astra", + "model": "gpt-6-astra", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5, + "id": "copilot/gpt-6-luna", + "model": "gpt-6-luna", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-6-luna-decisions", + "model": "gpt-6-luna-decisions", + "priceSource": "unpriced" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "copilot/gpt-6-sol", + "model": "gpt-6-sol", + "priceSource": "litellm" + }, + { + "id": "copilot/gpt-6.1-sol", + "model": "gpt-6.1-sol", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-6.1-terra", + "model": "gpt-6.1-terra", + "priceSource": "unpriced" + }, + { + "id": "copilot/gpt-image-2.5-flare", + "model": "gpt-image-2.5-flare", + "priceSource": "unpriced" + }, + { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "copilot/grok-4.6", + "model": "grok-4.6", + "priceSource": "litellm" + }, + { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "copilot/grok-4.7", + "model": "grok-4.7", + "priceSource": "litellm" + }, + { + "contextTokens": 1048576, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15, + "id": "copilot/kimi-k3", + "model": "kimi-k3", + "priceSource": "litellm" + }, + { + "id": "copilot/kimi-k3-base", + "model": "kimi-k3-base", + "priceSource": "unpriced" + }, + { + "id": "copilot/kimi-k3-copilot", + "model": "kimi-k3-copilot", + "priceSource": "unpriced" + }, + { + "id": "copilot/mai-code-1.1-flash", + "model": "mai-code-1.1-flash", + "priceSource": "unpriced" + }, + { + "id": "copilot/mai-code-2", + "model": "mai-code-2", + "priceSource": "unpriced" + }, + { + "id": "copilot/mai-code-2-flash", + "model": "mai-code-2-flash", + "priceSource": "unpriced" + }, + { + "id": "copilot/microsoft-decision-1-1", + "model": "microsoft-decision-1-1", + "priceSource": "unpriced" + }, + { + "contextTokens": 8191, + "inputPerMTokUsd": 0.02, + "outputPerMTokUsd": 0, + "id": "copilot/text-embedding-3-small", + "model": "text-embedding-3-small", + "priceSource": "litellm" + }, + { + "id": "copilot/text-embedding-3-small-inference", + "model": "text-embedding-3-small-inference", + "priceSource": "unpriced" + }, + { + "contextTokens": 8191, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0, + "id": "copilot/text-embedding-ada-002", + "model": "text-embedding-ada-002", + "priceSource": "litellm" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.979354251Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "deepseek", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2, + "id": "deepseek/deepseek-flash", + "model": "deepseek-flash", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.32, + "outputPerMTokUsd": 3.96, + "id": "deepseek/deepseek-v4-pro", + "model": "deepseek-v4-pro", + "priceSource": "litellm" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T01:01:06.216740477Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "gx10", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 524288, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "model": "DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "routers": [ + "smartrouter/gx10" + ] + }, + { + "contextTokens": 32768, + "id": "gx10/Inkling-2-Mini", + "model": "Inkling-2-Mini", + "priceSource": "free", + "routers": [ + "smartrouter/gx10" + ] + }, + { + "contextTokens": 262144, + "id": "gx10/Qwen3.8-27B", + "model": "Qwen3.8-27B", + "priceSource": "free", + "routers": [ + "smartrouter/gx10" + ] + }, + { + "id": "gx10/current", + "model": "current", + "priceSource": "free", + "aliases": [ + "deepseek-v4-flash-vision-exp", + "local/current-model" + ] + }, + { + "id": "gx10/text-embedding-bge-reranker-v2", + "model": "text-embedding-bge-reranker-v2", + "kind": "reranking", + "priceSource": "free" + }, + { + "id": "gx10/text-embedding-multilingual-e5-base", + "model": "text-embedding-multilingual-e5-base", + "kind": "embedding", + "priceSource": "free", + "aliases": [ + "gx10-embedding/text-embedding-multilingual-e5-base" + ] + }, + { + "id": "gx10/v1/decide", + "model": "/v1/decide", + "kind": "decision", + "priceSource": "unpriced", + "endpoint": true + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T01:01:06.613775021Z", + "openUntil": "2026-11-25T01:06:06.613775021Z", + "name": "macstudio", + "type": "openai", + "healthState": "open", + "models": [], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:30.498138329Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "minimax", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 200000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2, + "id": "minimax/MiniMax-M2", + "model": "MiniMax-M2", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2, + "id": "minimax/MiniMax-M2.1", + "model": "MiniMax-M2.1", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 2.4, + "id": "minimax/MiniMax-M2.1-highspeed", + "model": "MiniMax-M2.1-highspeed", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2, + "id": "minimax/MiniMax-M2.5", + "model": "MiniMax-M2.5", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 2.4, + "id": "minimax/MiniMax-M2.5-highspeed", + "model": "MiniMax-M2.5-highspeed", + "priceSource": "litellm" + }, + { + "id": "minimax/MiniMax-M2.7", + "model": "MiniMax-M2.7", + "priceSource": "unpriced" + }, + { + "id": "minimax/MiniMax-M2.7-highspeed", + "model": "MiniMax-M2.7-highspeed", + "priceSource": "unpriced" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2, + "id": "minimax/MiniMax-M3", + "model": "MiniMax-M3", + "priceSource": "litellm" + }, + { + "id": "minimax/MiniMax-M3.1-Flash", + "model": "MiniMax-M3.1-Flash", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:30.54177391Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "nvidia-nim", + "type": "openai", + "healthState": "closed", + "models": [ + { + "id": "nvidia-nim/bigcode/starcoder2-15b", + "model": "bigcode/starcoder2-15b", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/fastino/gliner2-pii", + "model": "fastino/gliner2-pii", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/google/gemma-3-12b-it", + "model": "google/gemma-3-12b-it", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/google/gemma-3-4b-it", + "model": "google/gemma-3-4b-it", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/minimaxai/minimax-m3.1-flash", + "model": "minimaxai/minimax-m3.1-flash", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/mistralai/mistral-large-4-1t-a52b", + "model": "mistralai/mistral-large-4-1t-a52b", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/moonshotai/kimi-k3.1-pro", + "model": "moonshotai/kimi-k3.1-pro", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/ai-synthetic-video-detector", + "model": "nvidia/ai-synthetic-video-detector", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/cosmos-reason2-8b", + "model": "nvidia/cosmos-reason2-8b", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/embed-qa-4", + "model": "nvidia/embed-qa-4", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/ising-calibration-1.5-31b", + "model": "nvidia/ising-calibration-1.5-31b", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/llama-3.1-nemoguard-8b-topic-control", + "model": "nvidia/llama-3.1-nemoguard-8b-topic-control", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/llama-3.1-nemotron-safety-guard-8b-v3", + "model": "nvidia/llama-3.1-nemotron-safety-guard-8b-v3", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/llama-3.2-nemoretriever-1b-vlm-embed-v1", + "model": "nvidia/llama-3.2-nemoretriever-1b-vlm-embed-v1", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/llama-3.2-nv-embedqa-1b-v1", + "model": "nvidia/llama-3.2-nv-embedqa-1b-v1", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", + "model": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3-ultra-550b-a55b", + "model": "nvidia/nemotron-3-ultra-550b-a55b", + "priceSource": "free" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-bolt-e4b", + "model": "nvidia/nemotron-3.5-bolt-e4b", + "priceSource": "free" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-content-safety", + "model": "nvidia/nemotron-3.5-content-safety", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-embed-1b", + "model": "nvidia/nemotron-3.5-embed-1b", + "priceSource": "free" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-embed-8b", + "model": "nvidia/nemotron-3.5-embed-8b", + "priceSource": "free" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-lightning-30b-a3b", + "model": "nvidia/nemotron-3.5-lightning-30b-a3b", + "priceSource": "free" + }, + { + "id": "nvidia-nim/nvidia/nemotron-3.5-super-vl-120b-a12b", + "model": "nvidia/nemotron-3.5-super-vl-120b-a12b", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/nv-embedqa-mistral-7b-v2", + "model": "nvidia/nv-embedqa-mistral-7b-v2", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/nvclip", + "model": "nvidia/nvclip", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/nvidia/riva-translate-4b-instruct-v2", + "model": "nvidia/riva-translate-4b-instruct-v2", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/poolside/laguna-xs-2.1", + "model": "poolside/laguna-xs-2.1", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/snowflake/arctic-embed-l", + "model": "snowflake/arctic-embed-l", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/stepfun-ai/step-5-preview", + "model": "stepfun-ai/step-5-preview", + "priceSource": "unpriced" + }, + { + "id": "nvidia-nim/z-ai/glm-5.3-flash", + "model": "z-ai/glm-5.3-flash", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "nvidia-retrieval", + "type": "openai", + "healthState": "closed", + "models": [], + "discoveryEnabled": false + }, + { + "lastRefresh": "2026-11-25T00:45:31.04975007Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "openai", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 400000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30, + "id": "openai/chat-latest", + "model": "chat-latest", + "priceSource": "litellm" + }, + { + "id": "openai/chatgpt-image-latest", + "model": "chatgpt-image-latest", + "priceSource": "unpriced" + }, + { + "contextTokens": 1047576, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8, + "id": "openai/gpt-4.1", + "model": "gpt-4.1", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-4.1-2025-04-14", + "model": "gpt-4.1-2025-04-14", + "priceSource": "unpriced" + }, + { + "contextTokens": 1047576, + "inputPerMTokUsd": 0.4, + "outputPerMTokUsd": 1.6, + "id": "openai/gpt-4.1-mini", + "model": "gpt-4.1-mini", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-4.1-mini-2025-04-14", + "model": "gpt-4.1-mini-2025-04-14", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10, + "id": "openai/gpt-4o", + "model": "gpt-4o", + "priceSource": "builtin" + }, + { + "id": "openai/gpt-4o-2024-08-06", + "model": "gpt-4o-2024-08-06", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-2024-11-20", + "model": "gpt-4o-2024-11-20", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.6, + "id": "openai/gpt-4o-mini", + "model": "gpt-4o-mini", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-4o-mini-2024-07-18", + "model": "gpt-4o-mini-2024-07-18", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-transcribe", + "model": "gpt-4o-mini-transcribe", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-transcribe-2025-03-20", + "model": "gpt-4o-mini-transcribe-2025-03-20", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-transcribe-2025-12-15", + "model": "gpt-4o-mini-transcribe-2025-12-15", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-tts", + "model": "gpt-4o-mini-tts", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-tts-2025-03-20", + "model": "gpt-4o-mini-tts-2025-03-20", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-mini-tts-2025-12-15", + "model": "gpt-4o-mini-tts-2025-12-15", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-transcribe", + "model": "gpt-4o-transcribe", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-4o-transcribe-diarize", + "model": "gpt-4o-transcribe-diarize", + "priceSource": "unpriced" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10, + "id": "openai/gpt-5", + "model": "gpt-5", + "priceSource": "builtin" + }, + { + "id": "openai/gpt-5-2025-08-07", + "model": "gpt-5-2025-08-07", + "priceSource": "unpriced" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.25, + "outputPerMTokUsd": 2, + "id": "openai/gpt-5-mini", + "model": "gpt-5-mini", + "priceSource": "builtin" + }, + { + "id": "openai/gpt-5-mini-2025-08-07", + "model": "gpt-5-mini-2025-08-07", + "priceSource": "unpriced" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.05, + "outputPerMTokUsd": 0.4, + "id": "openai/gpt-5-nano", + "model": "gpt-5-nano", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-5-nano-2025-08-07", + "model": "gpt-5-nano-2025-08-07", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5-pro", + "model": "gpt-5-pro", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5-pro-2025-10-06", + "model": "gpt-5-pro-2025-10-06", + "priceSource": "unpriced" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10, + "id": "openai/gpt-5-search-api", + "model": "gpt-5-search-api", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10, + "id": "openai/gpt-5-search-api-2025-10-14", + "model": "gpt-5-search-api-2025-10-14", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10, + "id": "openai/gpt-5.1", + "model": "gpt-5.1", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10, + "id": "openai/gpt-5.1-2025-11-13", + "model": "gpt-5.1-2025-11-13", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.75, + "outputPerMTokUsd": 14, + "id": "openai/gpt-5.2", + "model": "gpt-5.2", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 1.75, + "outputPerMTokUsd": 14, + "id": "openai/gpt-5.2-2025-12-11", + "model": "gpt-5.2-2025-12-11", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-5.2-pro", + "model": "gpt-5.2-pro", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5.2-pro-2025-12-11", + "model": "gpt-5.2-pro-2025-12-11", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5.3-codex", + "model": "gpt-5.3-codex", + "priceSource": "unpriced" + }, + { + "contextTokens": 1050000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 15, + "id": "openai/gpt-5.4", + "model": "gpt-5.4", + "priceSource": "litellm" + }, + { + "contextTokens": 1050000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 15, + "id": "openai/gpt-5.4-2026-03-05", + "model": "gpt-5.4-2026-03-05", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.75, + "outputPerMTokUsd": 4.5, + "id": "openai/gpt-5.4-mini", + "model": "gpt-5.4-mini", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.75, + "outputPerMTokUsd": 4.5, + "id": "openai/gpt-5.4-mini-2026-03-17", + "model": "gpt-5.4-mini-2026-03-17", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25, + "id": "openai/gpt-5.4-nano", + "model": "gpt-5.4-nano", + "priceSource": "litellm" + }, + { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25, + "id": "openai/gpt-5.4-nano-2026-03-17", + "model": "gpt-5.4-nano-2026-03-17", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-5.4-pro", + "model": "gpt-5.4-pro", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5.4-pro-2026-03-05", + "model": "gpt-5.4-pro-2026-03-05", + "priceSource": "unpriced" + }, + { + "contextTokens": 1050000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30, + "id": "openai/gpt-5.5", + "model": "gpt-5.5", + "priceSource": "litellm" + }, + { + "contextTokens": 1050000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30, + "id": "openai/gpt-5.5-2026-04-23", + "model": "gpt-5.5-2026-04-23", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-5.5-pro", + "model": "gpt-5.5-pro", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-5.5-pro-2026-04-23", + "model": "gpt-5.5-pro-2026-04-23", + "priceSource": "unpriced" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2, + "id": "openai/gpt-5.6-luna", + "model": "gpt-5.6-luna", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20, + "id": "openai/gpt-5.6-sol", + "model": "gpt-5.6-sol", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 12, + "id": "openai/gpt-5.6-terra", + "model": "gpt-5.6-terra", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50, + "id": "openai/gpt-6-astra", + "model": "gpt-6-astra", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-6-astra-healthcare", + "model": "gpt-6-astra-healthcare", + "priceSource": "unpriced" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5, + "id": "openai/gpt-6-luna", + "model": "gpt-6-luna", + "priceSource": "litellm" + }, + { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10, + "id": "openai/gpt-6-sol", + "model": "gpt-6-sol", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-6.1-sol", + "model": "gpt-6.1-sol", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.1-sol-healthcare", + "model": "gpt-6.1-sol-healthcare", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.1-terra", + "model": "gpt-6.1-terra", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.2-astra", + "model": "gpt-6.2-astra", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.2-astra-healthcare", + "model": "gpt-6.2-astra-healthcare", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.2-sol", + "model": "gpt-6.2-sol", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-6.2-sol-healthcare", + "model": "gpt-6.2-sol-healthcare", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10, + "id": "openai/gpt-audio", + "model": "gpt-audio", + "priceSource": "litellm" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10, + "id": "openai/gpt-audio-1.5", + "model": "gpt-audio-1.5", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-audio-2025-08-28", + "model": "gpt-audio-2025-08-28", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4, + "id": "openai/gpt-audio-mini", + "model": "gpt-audio-mini", + "priceSource": "litellm" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4, + "id": "openai/gpt-audio-mini-2025-12-15", + "model": "gpt-audio-mini-2025-12-15", + "priceSource": "litellm" + }, + { + "id": "openai/gpt-image-1-mini", + "model": "gpt-image-1-mini", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-1.5", + "model": "gpt-image-1.5", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2", + "model": "gpt-image-2", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2-2026-04-21", + "model": "gpt-image-2-2026-04-21", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.5-flare", + "model": "gpt-image-2.5-flare", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.5-flare-2026-09-08", + "model": "gpt-image-2.5-flare-2026-09-08", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.5-sunburst", + "model": "gpt-image-2.5-sunburst", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.5-sunburst-2026-09-08", + "model": "gpt-image-2.5-sunburst-2026-09-08", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.6-flare", + "model": "gpt-image-2.6-flare", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-image-2.6-sunburst", + "model": "gpt-image-2.6-sunburst", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-live-1", + "model": "gpt-live-1", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-live-1.1", + "model": "gpt-live-1.1", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-live-transcribe", + "model": "gpt-live-transcribe", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime", + "model": "gpt-realtime", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-1.5", + "model": "gpt-realtime-1.5", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-2", + "model": "gpt-realtime-2", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-2.1", + "model": "gpt-realtime-2.1", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-2.1-mini", + "model": "gpt-realtime-2.1-mini", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-2025-08-28", + "model": "gpt-realtime-2025-08-28", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-mini", + "model": "gpt-realtime-mini", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-mini-2025-12-15", + "model": "gpt-realtime-mini-2025-12-15", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-translate", + "model": "gpt-realtime-translate", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-realtime-whisper", + "model": "gpt-realtime-whisper", + "priceSource": "unpriced" + }, + { + "id": "openai/gpt-transcribe", + "model": "gpt-transcribe", + "priceSource": "unpriced" + }, + { + "contextTokens": 200000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8, + "id": "openai/o3", + "model": "o3", + "priceSource": "builtin" + }, + { + "id": "openai/o3-2025-04-16", + "model": "o3-2025-04-16", + "priceSource": "unpriced" + }, + { + "id": "openai/o3-pro", + "model": "o3-pro", + "priceSource": "unpriced" + }, + { + "id": "openai/o3-pro-2025-06-10", + "model": "o3-pro-2025-06-10", + "priceSource": "unpriced" + }, + { + "id": "openai/omni-moderation-2024-09-26", + "model": "omni-moderation-2024-09-26", + "priceSource": "unpriced" + }, + { + "id": "openai/omni-moderation-latest", + "model": "omni-moderation-latest", + "priceSource": "unpriced" + }, + { + "contextTokens": 8191, + "inputPerMTokUsd": 0.13, + "outputPerMTokUsd": 0, + "id": "openai/text-embedding-3-large", + "model": "text-embedding-3-large", + "priceSource": "litellm" + }, + { + "contextTokens": 8191, + "inputPerMTokUsd": 0.02, + "outputPerMTokUsd": 0, + "id": "openai/text-embedding-3-small", + "model": "text-embedding-3-small", + "priceSource": "litellm" + }, + { + "contextTokens": 8191, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0, + "id": "openai/text-embedding-ada-002", + "model": "text-embedding-ada-002", + "priceSource": "litellm" + }, + { + "id": "openai/tts-1", + "model": "tts-1", + "priceSource": "unpriced" + }, + { + "id": "openai/tts-1-1106", + "model": "tts-1-1106", + "priceSource": "unpriced" + }, + { + "id": "openai/tts-1-hd", + "model": "tts-1-hd", + "priceSource": "unpriced" + }, + { + "id": "openai/tts-1-hd-1106", + "model": "tts-1-hd-1106", + "priceSource": "unpriced" + }, + { + "id": "openai/whisper-1", + "model": "whisper-1", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "openai-audio", + "type": "openai", + "healthState": "closed", + "models": [ + { + "id": "openai-audio/gpt-4o-mini-transcribe", + "model": "gpt-4o-mini-transcribe", + "priceSource": "unpriced" + }, + { + "id": "openai-audio/gpt-4o-mini-tts", + "model": "gpt-4o-mini-tts", + "priceSource": "unpriced" + }, + { + "id": "openai-audio/gpt-4o-transcribe", + "model": "gpt-4o-transcribe", + "priceSource": "unpriced" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10, + "id": "openai-audio/gpt-audio", + "model": "gpt-audio", + "priceSource": "litellm" + }, + { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4, + "id": "openai-audio/gpt-audio-mini", + "model": "gpt-audio-mini", + "priceSource": "litellm" + }, + { + "id": "openai-audio/gpt-realtime", + "model": "gpt-realtime", + "priceSource": "unpriced" + }, + { + "id": "openai-audio/tts-1", + "model": "tts-1", + "priceSource": "unpriced" + }, + { + "id": "openai-audio/tts-1-hd", + "model": "tts-1-hd", + "priceSource": "unpriced" + }, + { + "id": "openai-audio/whisper-1", + "model": "whisper-1", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": false + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "parakeet-mlx", + "type": "openai", + "healthState": "closed", + "models": [], + "discoveryEnabled": false + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "piper-tts", + "type": "openai", + "healthState": "closed", + "models": [], + "discoveryEnabled": false + }, + { + "lastRefresh": "2026-11-25T00:45:31.071356203Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "uni", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 524288, + "id": "uni/deepseek-v4-flash-0731", + "model": "deepseek-v4-flash-0731", + "priceSource": "free", + "aliases": [ + "deepseek" + ] + }, + { + "contextTokens": 524288, + "id": "uni/deepseek-v4.1-flash-1017", + "model": "deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "routers": [ + "smartrouter/uni" + ] + }, + { + "contextTokens": 524288, + "id": "uni/glm-5.3-flash", + "model": "glm-5.3-flash", + "priceSource": "unpriced", + "routers": [ + "smartrouter/uni" + ] + }, + { + "contextTokens": 524288, + "id": "uni/model-fast", + "model": "model-fast", + "priceSource": "unpriced" + }, + { + "contextTokens": 262144, + "id": "uni/model-heavy", + "model": "model-heavy", + "priceSource": "unpriced" + }, + { + "contextTokens": 262144, + "id": "uni/model-light", + "model": "model-light", + "priceSource": "unpriced" + }, + { + "contextTokens": 262144, + "id": "uni/ornith-1.5-35b", + "model": "ornith-1.5-35b", + "priceSource": "unpriced" + }, + { + "contextTokens": 262144, + "id": "uni/ornith-1.5-397b", + "model": "ornith-1.5-397b", + "priceSource": "unpriced" + }, + { + "contextTokens": 262144, + "id": "uni/ornith-397b", + "model": "ornith-397b", + "priceSource": "free" + }, + { + "contextTokens": 262144, + "id": "uni/qwen3.6-27b", + "model": "qwen3.6-27b", + "priceSource": "free" + }, + { + "contextTokens": 262144, + "id": "uni/qwen3.8-27b", + "model": "qwen3.8-27b", + "priceSource": "unpriced", + "routers": [ + "smartrouter/uni" + ] + }, + { + "contextTokens": 262144, + "id": "uni/qwen3.8-27b-uncensored", + "model": "qwen3.8-27b-uncensored", + "priceSource": "unpriced" + }, + { + "contextTokens": 524288, + "id": "uni/qwen3.8-flash-next", + "model": "qwen3.8-flash-next", + "priceSource": "unpriced" + }, + { + "id": "uni/text-embedding-multilingual-e5-base", + "model": "text-embedding-multilingual-e5-base", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:31.241477003Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "xai", + "type": "openai", + "healthState": "closed", + "models": [ + { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5, + "id": "xai/grok-4.20-0309-non-reasoning", + "model": "grok-4.20-0309-non-reasoning", + "priceSource": "litellm" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5, + "id": "xai/grok-4.20-0309-reasoning", + "model": "grok-4.20-0309-reasoning", + "priceSource": "litellm" + }, + { + "id": "xai/grok-4.20-multi-agent-0309", + "model": "grok-4.20-multi-agent-0309", + "priceSource": "unpriced" + }, + { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5, + "id": "xai/grok-4.3", + "model": "grok-4.3", + "priceSource": "litellm" + }, + { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "xai/grok-4.5", + "model": "grok-4.5", + "priceSource": "litellm" + }, + { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "xai/grok-4.6", + "model": "grok-4.6", + "priceSource": "litellm" + }, + { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6, + "id": "xai/grok-4.7", + "model": "grok-4.7", + "priceSource": "litellm" + }, + { + "id": "xai/grok-imagine-image", + "model": "grok-imagine-image", + "priceSource": "unpriced" + }, + { + "id": "xai/grok-imagine-image-2.0", + "model": "grok-imagine-image-2.0", + "priceSource": "unpriced" + }, + { + "id": "xai/grok-imagine-video", + "model": "grok-imagine-video", + "priceSource": "unpriced" + }, + { + "id": "xai/grok-imagine-video-1.5", + "model": "grok-imagine-video-1.5", + "priceSource": "unpriced" + }, + { + "id": "xai/grok-imagine-video-1.5-lite", + "model": "grok-imagine-video-1.5-lite", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:41.32128593Z", + "openUntil": "0001-01-01T00:00:00Z", + "name": "xiaomi", + "type": "openai", + "healthState": "closed", + "models": [ + { + "id": "xiaomi/mimo-v2.5", + "model": "mimo-v2.5", + "priceSource": "unpriced" + }, + { + "id": "xiaomi/mimo-v2.5-pro", + "model": "mimo-v2.5-pro", + "priceSource": "unpriced" + } + ], + "discoveryEnabled": true + } + ], + "aliases": [ + { + "modelMeta": { + "contextTokens": 524288, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "deepseek", + "target": "uni/deepseek-v4-flash-0731" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "deepseek-v4-flash-vision-exp", + "target": "gx10/current" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "gx10-embedding/text-embedding-multilingual-e5-base", + "target": "gx10/text-embedding-multilingual-e5-base" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "local/current-model", + "target": "gx10/current" + } + ], + "routers": [ + { + "name": "smartrouter/gx10", + "defaultTier": "low", + "selection": "ordered", + "classifier": "v2", + "firstByteTimeout": "40s", + "tiers": [ + { + "name": "low", + "models": [ + "gx10/Qwen3.8-27B" + ], + "minScore": 0 + }, + { + "name": "mid", + "models": [ + "gx10/Inkling-2-Mini" + ], + "minScore": 150 + }, + { + "name": "top", + "models": [ + "gx10/DeepSeek-V4.1-Flash-EXL3" + ], + "minScore": 350 + } + ], + "keywordRules": [], + "contextTokens": 524288, + "stats": { + "scope": "shared", + "tiers": [ + { + "name": "low", + "count": 33 + }, + { + "name": "mid", + "count": 15 + }, + { + "name": "top", + "count": 29 + } + ], + "reasons": [ + { + "name": "bump", + "count": 5 + }, + { + "name": "floor", + "count": 9 + }, + { + "name": "score", + "count": 58 + }, + { + "name": "session", + "count": 2 + }, + { + "name": "skipped", + "count": 3 + } + ], + "escalations": [], + "shadow": [], + "outcomes": [ + { + "tier": "low", + "reason": "score", + "outcome": "ok", + "count": 21 + }, + { + "tier": "low", + "reason": "score", + "outcome": "bad", + "count": 3 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "ok", + "count": 1 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "bad", + "count": 4 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "bad", + "count": 1 + }, + { + "tier": "top", + "reason": "score", + "outcome": "ok", + "count": 10 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "ok", + "count": 5 + }, + { + "tier": "top", + "reason": "session", + "outcome": "ok", + "count": 2 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "ok", + "count": 4 + } + ], + "requests": 77 + }, + "calibration": { + "mode": "shadow", + "delta": [ + { + "tier": "mid", + "delta": 0 + }, + { + "tier": "top", + "delta": 0 + } + ], + "maxLower": 149, + "maxRaise": 0, + "freeze": false + }, + "maxAttempts": 4, + "downgraded": 0, + "downgradeBand": 100, + "riskZ": 128, + "contextEscalation": true, + "shadowEnabled": false, + "saturationDowngrade": false, + "timeoutFallback": false, + "fellBack": 0 + }, + { + "name": "smartrouter/uni", + "defaultTier": "low", + "selection": "ordered", + "classifier": "v2", + "firstByteTimeout": "40s", + "tiers": [ + { + "name": "low", + "models": [ + "uni/qwen3.8-27b" + ], + "minScore": 0 + }, + { + "name": "mid", + "models": [ + "uni/glm-5.3-flash" + ], + "minScore": 150 + }, + { + "name": "top", + "models": [ + "uni/deepseek-v4.1-flash-1017" + ], + "minScore": 350 + } + ], + "keywordRules": [], + "contextTokens": 524288, + "stats": { + "scope": "shared", + "tiers": [ + { + "name": "low", + "count": 35 + }, + { + "name": "mid", + "count": 44 + }, + { + "name": "top", + "count": 127 + } + ], + "reasons": [ + { + "name": "bump", + "count": 11 + }, + { + "name": "floor", + "count": 12 + }, + { + "name": "loop", + "count": 72 + }, + { + "name": "score", + "count": 108 + }, + { + "name": "session", + "count": 3 + } + ], + "escalations": [], + "shadow": [], + "outcomes": [ + { + "tier": "low", + "reason": "score", + "outcome": "ok", + "count": 16 + }, + { + "tier": "low", + "reason": "score", + "outcome": "bad", + "count": 7 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "ok", + "count": 31 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "bad", + "count": 2 + }, + { + "tier": "mid", + "reason": "session", + "outcome": "bad", + "count": 1 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "ok", + "count": 1 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "bad", + "count": 1 + }, + { + "tier": "top", + "reason": "score", + "outcome": "ok", + "count": 17 + }, + { + "tier": "top", + "reason": "score", + "outcome": "error", + "count": 4 + }, + { + "tier": "top", + "reason": "score", + "outcome": "bad", + "count": 10 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "ok", + "count": 3 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "error", + "count": 2 + }, + { + "tier": "top", + "reason": "session", + "outcome": "ok", + "count": 2 + }, + { + "tier": "top", + "reason": "loop", + "outcome": "ok", + "count": 72 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "ok", + "count": 8 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "bad", + "count": 1 + } + ], + "requests": 206 + }, + "calibration": { + "mode": "shadow", + "delta": [ + { + "tier": "mid", + "delta": 0 + }, + { + "tier": "top", + "delta": 0 + } + ], + "maxLower": 149, + "maxRaise": 0, + "freeze": false + }, + "maxAttempts": 4, + "downgraded": 0, + "downgradeBand": 100, + "riskZ": 128, + "contextEscalation": true, + "shadowEnabled": false, + "saturationDowngrade": false, + "timeoutFallback": true, + "fellBack": 0 + } + ] +} \ No newline at end of file diff --git a/webui/mock/fixtures/config.json b/webui/mock/fixtures/config.json new file mode 100644 index 0000000..c48348e --- /dev/null +++ b/webui/mock/fixtures/config.json @@ -0,0 +1,566 @@ +{ + "config": { + "admin": { + "enabled": true, + "stats": { + "latency": true, + "userModel": true + } + }, + "agents": { + "agentkit": { + "url": "http://agentkit.svc-x.internal:8080" + }, + "brainstorm": { + "url": "http://agentkit.svc-x.internal:8080/brainstorm" + }, + "budgeting-helper": { + "url": "http://agentkit.svc-x.internal:8080/budgeting-helper" + }, + "business-writer": { + "url": "http://agentkit.svc-x.internal:8080/business-writer" + }, + "car-advisor": { + "url": "http://agentkit.svc-x.internal:8080/car-advisor" + }, + "contract-review": { + "url": "http://agentkit.svc-x.internal:8080/contract-review" + }, + "creative": { + "url": "http://agentkit.svc-x.internal:8080/creative" + }, + "financial-research": { + "url": "http://agentkit.svc-x.internal:8080/financial-research" + }, + "fitness-coach": { + "url": "http://agentkit.svc-x.internal:8080/fitness-coach" + }, + "gift-finder": { + "url": "http://agentkit.svc-x.internal:8080/gift-finder" + }, + "health-researcher": { + "url": "http://agentkit.svc-x.internal:8080/health-researcher" + }, + "home-services-finder": { + "url": "http://agentkit.svc-x.internal:8080/home-services-finder" + }, + "job-search-assistant": { + "url": "http://agentkit.svc-x.internal:8080/job-search-assistant" + }, + "lead-research": { + "url": "http://agentkit.svc-x.internal:8080/lead-research" + }, + "local-events-finder": { + "url": "http://agentkit.svc-x.internal:8080/local-events-finder" + }, + "local-guide": { + "url": "http://agentkit.svc-x.internal:8080/local-guide" + }, + "market-research": { + "url": "http://agentkit.svc-x.internal:8080/market-research" + }, + "meal-prep-planner": { + "url": "http://agentkit.svc-x.internal:8080/meal-prep-planner" + }, + "meeting-prep": { + "url": "http://agentkit.svc-x.internal:8080/meeting-prep" + }, + "news-briefer": { + "url": "http://agentkit.svc-x.internal:8080/news-briefer" + }, + "productivity-planner": { + "url": "http://agentkit.svc-x.internal:8080/productivity-planner" + }, + "property-scout": { + "url": "http://agentkit.svc-x.internal:8080/property-scout" + }, + "recipe-finder": { + "url": "http://agentkit.svc-x.internal:8080/recipe-finder" + }, + "research": { + "url": "http://agentkit.svc-x.internal:8080/research" + }, + "researcher": { + "url": "http://agentkit.svc-x.internal:8080/researcher" + }, + "restaurant-scout": { + "url": "http://agentkit.svc-x.internal:8080/restaurant-scout" + }, + "science-tutor": { + "url": "http://agentkit.svc-x.internal:8080/science-tutor" + }, + "shopping-researcher": { + "url": "http://agentkit.svc-x.internal:8080/shopping-researcher" + }, + "study-helper": { + "url": "http://agentkit.svc-x.internal:8080/study-helper" + }, + "tech-support": { + "url": "http://agentkit.svc-x.internal:8080/tech-support" + }, + "translation": { + "url": "http://agentkit.svc-x.internal:8080/translation" + }, + "travel-planner": { + "url": "http://agentkit.svc-x.internal:8080/travel-planner" + }, + "weather-planner": { + "url": "http://agentkit.svc-x.internal:8080/weather-planner" + }, + "writer": { + "url": "http://agentkit.svc-x.internal:8080/writer" + } + }, + "breaker": {}, + "cache": { + "accountHits": true, + "enabled": true, + "ttl": "5m" + }, + "concurrencyAutodetect": true, + "failover": {}, + "groups": { + "friends": { + "memberLimits": { + "pacing": { + "XmaxDelay": 10000000000, + "maxDelay": "10s", + "startPct": 80 + }, + "requestsPerDay": 3000, + "requestsPerMinute": 30, + "tokensPerMinute": 1200000 + }, + "models": [ + "minimax/MiniMax-M3.1-Flash", + "uni/*", + "smartrouter/uni" + ], + "providers": [ + "minimax", + "uni" + ] + }, + "home": {}, + "projects": { + "providers": [ + "minimax", + "uni", + "gx10" + ] + } + }, + "limitExemptKinds": [ + "embedding", + "reranking" + ], + "maxInFlightBodyRequests": 3, + "maxRequestBytes": 16777216, + "mcpServers": { + "brave-search": { + "url": "http://mcp-brave-search.svc-x.internal:8080/mcp" + }, + "captcha-solver": { + "url": "http://mcp-captcha-solver.svc-x.internal:8085/mcp" + }, + "fetch": { + "url": "http://mcp-fetch.svc-x.internal:8088/mcp" + }, + "google-maps": { + "url": "http://mcp-google-maps.svc-x.internal:8084/mcp" + }, + "lightpanda": { + "url": "http://mcp-lightpanda.svc-x.internal:8081/mcp" + }, + "playwright": { + "url": "http://203.0.113.2:3000/sse" + }, + "readitall": { + "url": "http://mcp-readitall.svc-x.internal:8080/mcp" + }, + "time": { + "url": "http://mcp-time.svc-x.internal:8083/mcp" + }, + "weather": { + "url": "http://mcp-weather.svc-x.internal:8087/mcp" + }, + "web-search": { + "url": "http://mcp-web-search.svc-x.internal:8092/mcp" + }, + "wikipedia": { + "url": "http://mcp-wikipedia.svc-x.internal:8089/mcp" + } + }, + "metrics": { + "allowedCIDRs": [ + "203.0.113.3/24" + ], + "enabled": true + }, + "modelAliases": { + "deepseek": "uni/deepseek-v4-flash-0731", + "deepseek-v4-flash-vision-exp": "gx10/current", + "gx10-embedding/text-embedding-multilingual-e5-base": "gx10/text-embedding-multilingual-e5-base", + "local/current-model": "gx10/current" + }, + "modelMeta": { + "badtheorylabs_btl-4": { + "free": true + }, + "btl-4": { + "contextTokens": 262144, + "free": true + }, + "btl-4-compact": { + "free": true + }, + "gx10/DeepSeek-V4.1-Flash-EXL3": { + "free": true + }, + "gx10/GLM-5.3-Flash-EXL3": { + "free": true + }, + "gx10/Inkling-2-Mini": { + "contextTokens": 32768, + "free": true + }, + "gx10/Qwen3.8-27B": { + "contextTokens": 262144, + "free": true + }, + "gx10/Qwen3.8-Flash-Next-Uncensored-FP8": { + "free": true + }, + "gx10/current": { + "free": true + }, + "gx10/deepseek-v4-flash-vision-exp": { + "free": true + }, + "gx10/deepseek-v4-flash-vision-exp-ablit": { + "free": true + }, + "gx10/deepseek-v4-flash-vision-exp-uncensored": { + "free": true + }, + "gx10/text-embedding-bge-reranker-v2": { + "free": true + }, + "gx10/text-embedding-multilingual-e5-base": { + "free": true + }, + "huihui-deepseek-v4-flash-0731-abliterated": { + "free": true + }, + "huihui-ornith-1.0-35b-abliterated": { + "free": true + }, + "huihui-qwen3.6-27b-abliterated-mtp": { + "free": true + }, + "huihui-qwen3.6-35b-a3b-abliterated-mtp": { + "free": true + }, + "nvidia-nim/nvidia/nemotron-3-ultra-550b-a55b": { + "free": true + }, + "nvidia-nim/nvidia/nemotron-3.5-bolt-e4b": { + "free": true + }, + "nvidia-nim/nvidia/nemotron-3.5-embed-1b": { + "free": true + }, + "nvidia-nim/nvidia/nemotron-3.5-embed-8b": { + "free": true + }, + "nvidia-nim/nvidia/nemotron-3.5-lightning-30b-a3b": { + "free": true + }, + "ornith-1.5-35b-a3b": { + "free": true + }, + "ornith-397b": { + "contextTokens": 262144, + "free": true + }, + "qwen/qwen3.8-27b": { + "free": true + }, + "qwen2.5-0.5b-instruct-mlx": { + "free": true + }, + "qwen3.6-27b": { + "contextTokens": 262144, + "free": true + }, + "smartrouter/gx10": { + "contextTokens": 524288 + }, + "tiny-aya-global": { + "free": true + }, + "uni/deepseek-v4-flash-0731": { + "contextTokens": 524288, + "free": true + } + }, + "providers": { + "alibaba": { + "apiKey": "[redacted]", + "baseUrl": "https://provider-a.example/compatible-mode", + "discovery": true, + "models": [ + "qwen3.8-max", + "qwen3.8-flash" + ], + "type": "openai" + }, + "amd": { + "apiKey": "[redacted]", + "baseUrl": "https://api.tokenlab.amd.com", + "discovery": true, + "type": "openai" + }, + "anthropic": { + "apiKey": "[redacted]", + "discovery": true, + "type": "anthropic" + }, + "cerebras": { + "apiKey": "[redacted]", + "baseUrl": "https://api.cerebras.ai", + "discovery": true, + "type": "openai" + }, + "codex": { + "apiKey": "[redacted]", + "baseUrl": "http://codex-shim.svc-x.internal:8080", + "discovery": true, + "type": "openai" + }, + "copilot": { + "apiKey": "[redacted]", + "baseUrl": "http://copilot-shim.svc-x.internal:8080", + "discovery": true, + "type": "openai" + }, + "deepseek": { + "apiKey": "[redacted]", + "baseUrl": "https://api.deepseek.com", + "discovery": true, + "type": "openai" + }, + "gx10": { + "apiKey": "[redacted]", + "baseUrl": "http://llm-api.svc-x.internal:8000", + "discovery": true, + "discoveryInterval": "5m", + "kinds": { + "/v1/decide": "decision", + "text-embedding-bge-reranker-v2": "reranking", + "text-embedding-multilingual-e5-base": "embedding" + }, + "metadataPath": "/v1/models", + "modelBaseUrls": { + "Inkling-2-Mini": "http://inkling2-mini.svc-x.internal:8000", + "Qwen3.8-27B": "http://qwen27.svc-x.internal:8000", + "text-embedding-bge-reranker-v2": "http://rerank-bge-v2.svc-x.internal:8000", + "text-embedding-multilingual-e5-base": "http://embed-e5.svc-x.internal:8000" + }, + "models": [ + "current" + ], + "pathBaseUrls": { + "/v1/decide": "http://thx02.svc-x.internal:8200" + }, + "requestTimeout": "15m", + "type": "openai" + }, + "macstudio": { + "apiKey": "[redacted]", + "baseUrl": "http://203.0.113.1:1234", + "discovery": true, + "discoveryInterval": "5m", + "metadataPath": "/api/v0/models", + "type": "openai" + }, + "minimax": { + "apiKey": "[redacted]", + "baseUrl": "https://api.minimax.io", + "discovery": true, + "type": "openai" + }, + "nvidia-nim": { + "apiKey": "[redacted]", + "baseUrl": "https://integrate.api.nvidia.com", + "discovery": true, + "type": "openai" + }, + "nvidia-retrieval": { + "apiKey": "[redacted]", + "baseUrl": "https://ai.api.nvidia.com", + "type": "openai" + }, + "openai": { + "apiKey": "[redacted]", + "discovery": true, + "type": "openai" + }, + "openai-audio": { + "apiKey": "[redacted]", + "models": [ + "whisper-1", + "tts-1", + "tts-1-hd", + "gpt-4o-transcribe", + "gpt-4o-mini-transcribe", + "gpt-4o-mini-tts", + "gpt-audio", + "gpt-audio-mini", + "gpt-realtime" + ], + "type": "openai" + }, + "parakeet-mlx": { + "apiKey": "[redacted]", + "baseUrl": "http://203.0.113.1:8001", + "type": "openai" + }, + "piper-tts": { + "apiKey": "[redacted]", + "baseUrl": "http://203.0.113.1:8002", + "type": "openai" + }, + "uni": { + "apiKey": "[redacted]", + "baseUrl": "https://provider-b.example", + "discovery": true, + "metadataPath": "/v1/models", + "models": [ + "qwen3.8-flash-next", + "qwen3.8-27b", + "qwen3.8-27b-uncensored", + "ornith-1.5-35b", + "ornith-397b", + "qwen3.6-27b", + "deepseek-v4-flash-0731", + "deepseek-v4.1-flash-1017", + "glm-5.3-flash", + "ornith-1.5-397b" + ], + "requestTimeout": "15m", + "type": "openai" + }, + "xai": { + "apiKey": "[redacted]", + "baseUrl": "https://api.x.ai", + "discovery": true, + "type": "openai" + }, + "xiaomi": { + "apiKey": "[redacted]", + "baseUrl": "https://token-plan-ams.xiaomimimo.com", + "discovery": true, + "models": [ + "mimo-v2.5", + "mimo-v2.5-pro" + ], + "type": "openai" + } + }, + "rateLimitHeaders": true, + "redis": { + "address": "[redacted]", + "db": 7, + "failOpen": true + }, + "requireModelPrefix": true, + "retry": { + "attempts": 1, + "enabled": true + }, + "smartRouters": { + "smartrouter/gx10": { + "calibration": { + "mode": "shadow" + }, + "classifier": "v2", + "firstByteTimeout": "40s", + "session": { + "enabled": true + }, + "tiers": [ + { + "minScore": 0, + "models": [ + "gx10/Qwen3.8-27B" + ], + "name": "low" + }, + { + "minScore": 150, + "models": [ + "gx10/Inkling-2-Mini" + ], + "name": "mid" + }, + { + "minScore": 350, + "models": [ + "gx10/DeepSeek-V4.1-Flash-EXL3" + ], + "name": "top" + } + ] + }, + "smartrouter/uni": { + "calibration": { + "mode": "shadow" + }, + "classifier": "v2", + "firstByteTimeout": "40s", + "session": { + "enabled": true + }, + "tiers": [ + { + "minScore": 0, + "models": [ + "uni/qwen3.8-27b" + ], + "name": "low" + }, + { + "minScore": 150, + "models": [ + "uni/glm-5.3-flash" + ], + "name": "mid" + }, + { + "minScore": 350, + "models": [ + "uni/deepseek-v4.1-flash-1017" + ], + "name": "top" + } + ], + "timeoutFallback": true + } + }, + "stripClientAnthropicBeta": true, + "targetHealth": {}, + "users": { + "file": "/llmgw/users/users.json" + } + }, + "version": "0.0.0-dev", + "warnings": [], + "features": { + "userModelStats": true, + "latencyStats": true, + "cacheStats": true, + "lastSeen": true, + "failover": true + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/consumers.json b/webui/mock/fixtures/consumers.json new file mode 100644 index 0000000..7dc2b14 --- /dev/null +++ b/webui/mock/fixtures/consumers.json @@ -0,0 +1,742 @@ +{ + "usersFile": "/llmgw/users/users.json", + "users": [ + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-01", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "name": "admin", + "source": "file", + "groups": [ + "home" + ], + "admin": true + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-02", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-03", + "source": "file", + "groups": [ + "friends" + ], + "providers": [ + "gx10" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-04", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-05", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-06", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-07", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-08", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-09", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 150, + "tokensPerMinute": 2000000 + }, + "limitSources": { + "pacing": "user", + "requestsPerMinute": "user", + "tokensPerMinute": "user" + }, + "name": "internal", + "source": "file", + "groups": [ + "home" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-10", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-11", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "name": "user-12", + "source": "file", + "groups": [ + "projects" + ] + }, + { + "name": "user-13", + "source": "file", + "groups": [ + "home" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-14", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-15", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "name": "user-16", + "source": "file", + "groups": [ + "home" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-17", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "name": "service-01", + "source": "file", + "groups": [ + "home" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-18", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "name": "user-19", + "source": "file", + "groups": [ + "friends" + ] + }, + { + "name": "user-20", + "source": "file", + "groups": [ + "home" + ] + } + ], + "groups": [ + { + "memberLimits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "modelAccess": { + "alibaba": { + "allowed": 0, + "total": 49 + }, + "amd": { + "allowed": 0, + "total": 10 + }, + "anthropic": { + "allowed": 0, + "total": 15 + }, + "cerebras": { + "allowed": 0, + "total": 2 + }, + "codex": { + "allowed": 0, + "total": 12 + }, + "copilot": { + "allowed": 0, + "total": 55 + }, + "deepseek": { + "allowed": 0, + "total": 2 + }, + "gx10": { + "allowed": 0, + "total": 6 + }, + "macstudio": { + "allowed": 0, + "total": 0 + }, + "minimax": { + "allowed": 0, + "total": 9 + }, + "nvidia-nim": { + "allowed": 0, + "total": 30 + }, + "nvidia-retrieval": { + "allowed": 0, + "total": 0 + }, + "openai": { + "allowed": 0, + "total": 105 + }, + "openai-audio": { + "allowed": 0, + "total": 9 + }, + "parakeet-mlx": { + "allowed": 0, + "total": 0 + }, + "piper-tts": { + "allowed": 0, + "total": 0 + }, + "uni": { + "allowed": 0, + "total": 14 + }, + "xai": { + "allowed": 0, + "total": 12 + }, + "xiaomi": { + "allowed": 0, + "total": 2 + } + }, + "name": "friends", + "providers": [ + "minimax", + "uni" + ], + "models": [ + "minimax/MiniMax-M3.1-Flash", + "uni/*", + "smartrouter/uni" + ], + "allowedProviders": [ + "minimax", + "uni" + ], + "memberCount": 16 + }, + { + "modelAccess": { + "alibaba": { + "allowed": 49, + "total": 49 + }, + "amd": { + "allowed": 10, + "total": 10 + }, + "anthropic": { + "allowed": 15, + "total": 15 + }, + "cerebras": { + "allowed": 2, + "total": 2 + }, + "codex": { + "allowed": 12, + "total": 12 + }, + "copilot": { + "allowed": 55, + "total": 55 + }, + "deepseek": { + "allowed": 2, + "total": 2 + }, + "gx10": { + "allowed": 6, + "total": 6 + }, + "macstudio": { + "allowed": 0, + "total": 0 + }, + "minimax": { + "allowed": 9, + "total": 9 + }, + "nvidia-nim": { + "allowed": 30, + "total": 30 + }, + "nvidia-retrieval": { + "allowed": 0, + "total": 0 + }, + "openai": { + "allowed": 105, + "total": 105 + }, + "openai-audio": { + "allowed": 9, + "total": 9 + }, + "parakeet-mlx": { + "allowed": 0, + "total": 0 + }, + "piper-tts": { + "allowed": 0, + "total": 0 + }, + "uni": { + "allowed": 14, + "total": 14 + }, + "xai": { + "allowed": 12, + "total": 12 + }, + "xiaomi": { + "allowed": 2, + "total": 2 + } + }, + "name": "home", + "allowedProviders": [ + "alibaba", + "amd", + "anthropic", + "cerebras", + "codex", + "copilot", + "deepseek", + "gx10", + "macstudio", + "minimax", + "nvidia-nim", + "nvidia-retrieval", + "openai", + "openai-audio", + "parakeet-mlx", + "piper-tts", + "uni", + "xai", + "xiaomi" + ], + "memberCount": 6 + }, + { + "modelAccess": { + "alibaba": { + "allowed": 0, + "total": 49 + }, + "amd": { + "allowed": 0, + "total": 10 + }, + "anthropic": { + "allowed": 0, + "total": 15 + }, + "cerebras": { + "allowed": 0, + "total": 2 + }, + "codex": { + "allowed": 0, + "total": 12 + }, + "copilot": { + "allowed": 0, + "total": 55 + }, + "deepseek": { + "allowed": 0, + "total": 2 + }, + "gx10": { + "allowed": 6, + "total": 6 + }, + "macstudio": { + "allowed": 0, + "total": 0 + }, + "minimax": { + "allowed": 9, + "total": 9 + }, + "nvidia-nim": { + "allowed": 0, + "total": 30 + }, + "nvidia-retrieval": { + "allowed": 0, + "total": 0 + }, + "openai": { + "allowed": 0, + "total": 105 + }, + "openai-audio": { + "allowed": 0, + "total": 9 + }, + "parakeet-mlx": { + "allowed": 0, + "total": 0 + }, + "piper-tts": { + "allowed": 0, + "total": 0 + }, + "uni": { + "allowed": 14, + "total": 14 + }, + "xai": { + "allowed": 0, + "total": 12 + }, + "xiaomi": { + "allowed": 0, + "total": 2 + } + }, + "name": "projects", + "providers": [ + "minimax", + "uni", + "gx10" + ], + "allowedProviders": [ + "gx10", + "minimax", + "uni" + ], + "memberCount": 1 + } + ] +} \ No newline at end of file diff --git a/webui/mock/fixtures/events__limit-200.json b/webui/mock/fixtures/events__limit-200.json new file mode 100644 index 0000000..45a704c --- /dev/null +++ b/webui/mock/fixtures/events__limit-200.json @@ -0,0 +1,2179 @@ +{ + "source": "redis", + "replica": "traefik-03f315a277-8mtpl", + "events": [ + { + "time": "2026-11-25T00:47:17.590946814Z", + "replica": "traefik-03f315a277-8mtpl", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:46:05.096214731Z", + "replica": "traefik-03f315a277-7j4pd", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:52.436499233Z", + "replica": "traefik-03f315a277-05cox", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:51.583665743Z", + "replica": "traefik-03f315a277-05cox", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:50.902596066Z", + "replica": "traefik-03f315a277-05cox", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:46.471256306Z", + "replica": "traefik-03f315a277-7j4pd", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:44.073290515Z", + "replica": "traefik-03f315a277-8mtpl", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:13.100849003Z", + "replica": "traefik-03f315a277-7j4pd", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:45:12.836120449Z", + "replica": "traefik-03f315a277-05cox", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:44:58.962433678Z", + "replica": "traefik-03f315a277-8mtpl", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:39:49.34440428Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:38:19.134710673Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.951017995Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.93338622Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.932094065Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.931742828Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.919318199Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.908966037Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.888375507Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.887057288Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.884464089Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.879215514Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "chat/completions", + "kind": "rate_limit", + "message": "user \"user-07\" exceeded requests-per-minute limit (30)", + "status": 429 + }, + { + "time": "2026-11-25T00:38:08.874256926Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 8.333333333s" + }, + { + "time": "2026-11-25T00:38:08.870258606Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 6.666666666s" + }, + { + "time": "2026-11-25T00:38:08.427318063Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 1.666666666s" + }, + { + "time": "2026-11-25T00:37:04.66491348Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:36:55.333506406Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 8.333333333s" + }, + { + "time": "2026-11-25T00:36:07.061720559Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 3.333333333s" + }, + { + "time": "2026-11-25T00:36:05.250311853Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-07", + "group": "friends", + "route": "pacing", + "kind": "paced", + "message": "request paced 1.666666666s" + }, + { + "time": "2026-11-25T00:36:01.834717092Z", + "replica": "traefik-f42f0c8e6d-wws0n", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:36:01.318536269Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:35:59.811206884Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:34:38.562909543Z", + "replica": "traefik-f42f0c8e6d-yfwd0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:34:29.156310936Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:34:20.049365411Z", + "replica": "traefik-f42f0c8e6d-pwbli", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:17:25.86115591Z", + "replica": "traefik-4c916be004-5ethw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:17:23.858654621Z", + "replica": "traefik-4c916be004-5ethw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-25T00:17:23.404226882Z", + "replica": "traefik-4c916be004-5ethw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:45:00.287735159Z", + "replica": "traefik-4c916be004-5ethw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:44:44.198753983Z", + "replica": "traefik-4c916be004-n7tzw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:33:35.336228326Z", + "replica": "traefik-4c916be004-n7tzw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:33:34.954585877Z", + "replica": "traefik-4c916be004-n7tzw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:33:23.919646352Z", + "replica": "traefik-4c916be004-8mk8r", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:33:15.927657706Z", + "replica": "traefik-4c916be004-8mk8r", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:33:12.532817107Z", + "replica": "traefik-4c916be004-n7tzw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:31:01.259985098Z", + "replica": "traefik-4c916be004-8mk8r", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:13:50.491140133Z", + "replica": "traefik-17f9dd95b3-59r17", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:13:50.160973468Z", + "replica": "traefik-17f9dd95b3-qenhj", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:11:32.081117948Z", + "replica": "traefik-17f9dd95b3-qenhj", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:11:31.742021926Z", + "replica": "traefik-17f9dd95b3-7cy5f", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:11:31.453580042Z", + "replica": "traefik-17f9dd95b3-59r17", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "ornith-1.5-397b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"ornith-1.5-397b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:11:26.137497927Z", + "replica": "traefik-17f9dd95b3-qenhj", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "ornith-1.5-397b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"ornith-1.5-397b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:11:23.529424119Z", + "replica": "traefik-17f9dd95b3-7cy5f", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T23:09:36.03500111Z", + "replica": "traefik-17f9dd95b3-7cy5f", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T22:46:30.983480364Z", + "replica": "traefik-9973c2e0d1-sxl0b", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "ornith-1.5-397b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"ornith-1.5-397b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T22:22:05.837806172Z", + "replica": "traefik-9973c2e0d1-8a2b5", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T22:20:00.77898134Z", + "replica": "traefik-9973c2e0d1-8a2b5", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:47:50.161565781Z", + "replica": "traefik-9973c2e0d1-sxl0b", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:44:49.696485099Z", + "replica": "traefik-9973c2e0d1-5bjtk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:40:41.191227649Z", + "replica": "traefik-9973c2e0d1-5bjtk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:40:39.752255665Z", + "replica": "traefik-9973c2e0d1-sxl0b", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:40:21.867888178Z", + "replica": "traefik-9973c2e0d1-sxl0b", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:40:20.527905126Z", + "replica": "traefik-9973c2e0d1-sxl0b", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T21:39:21.088425752Z", + "replica": "traefik-9973c2e0d1-8a2b5", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:47:51.239521805Z", + "replica": "traefik-ed88b1e3d-u7rzr", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:44:46.799535943Z", + "replica": "traefik-ed88b1e3d-wore1", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:43:52.420094536Z", + "replica": "traefik-ed88b1e3d-u7rzr", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:43:51.220551732Z", + "replica": "traefik-ed88b1e3d-wore1", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:43:50.459790324Z", + "replica": "traefik-ed88b1e3d-wore1", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:41:45.426835702Z", + "replica": "traefik-ed88b1e3d-u7rzr", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:39:40.323929937Z", + "replica": "traefik-ed88b1e3d-bi2bv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:39:38.896883336Z", + "replica": "traefik-ed88b1e3d-bi2bv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:38:01.535028609Z", + "replica": "traefik-ed88b1e3d-bi2bv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T20:00:50.005667793Z", + "replica": "traefik-fd86093ff0-blbp7", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "MiniMax-M3.1-Flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"MiniMax-M3.1-Flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T17:09:34.506500934Z", + "replica": "traefik-fd86093ff0-cryrk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:38:25.234178539Z", + "replica": "traefik-fd86093ff0-blbp7", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:36:50.750642955Z", + "replica": "traefik-fd86093ff0-cryrk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "MiniMax-M3.1-Flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"MiniMax-M3.1-Flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:40.743890132Z", + "replica": "traefik-fd86093ff0-cryrk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:13.030151229Z", + "replica": "traefik-fd86093ff0-jr1sv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:12.645175963Z", + "replica": "traefik-fd86093ff0-blbp7", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:12.199582611Z", + "replica": "traefik-fd86093ff0-jr1sv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:08.32084634Z", + "replica": "traefik-fd86093ff0-cryrk", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:07.233461017Z", + "replica": "traefik-fd86093ff0-jr1sv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:30:00.113125468Z", + "replica": "traefik-fd86093ff0-blbp7", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:26:50.029325095Z", + "replica": "traefik-fd86093ff0-blbp7", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:26:10.254358275Z", + "replica": "traefik-fd86093ff0-jr1sv", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:13:50.220682777Z", + "replica": "traefik-4877a2dd50-2xtbb", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:13:50.108203719Z", + "replica": "traefik-4877a2dd50-89ck0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:11:46.777419804Z", + "replica": "traefik-4877a2dd50-2xtbb", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:11:19.797538872Z", + "replica": "traefik-4877a2dd50-89ck0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:52.893001969Z", + "replica": "traefik-4877a2dd50-c75zq", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:23.550249277Z", + "replica": "traefik-4877a2dd50-2xtbb", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:23.095764349Z", + "replica": "traefik-4877a2dd50-2xtbb", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:23.059838511Z", + "replica": "traefik-4877a2dd50-c75zq", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:22.742433438Z", + "replica": "traefik-4877a2dd50-89ck0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:02:22.250640255Z", + "replica": "traefik-4877a2dd50-c75zq", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:01:58.063018724Z", + "replica": "traefik-4877a2dd50-c75zq", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:01:54.964627834Z", + "replica": "traefik-4877a2dd50-89ck0", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:00:42.195662869Z", + "replica": "traefik-dc0d3ef03b-fknxh", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T16:00:03.754519948Z", + "replica": "traefik-dc0d3ef03b-ekqbw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:58:10.43296148Z", + "replica": "traefik-dc0d3ef03b-fknxh", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:56:12.001135391Z", + "replica": "traefik-dc0d3ef03b-fknxh", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:56:03.744260455Z", + "replica": "traefik-dc0d3ef03b-ekqbw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:56:03.334894128Z", + "replica": "traefik-dc0d3ef03b-fknxh", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:56:02.749287737Z", + "replica": "traefik-dc0d3ef03b-n261p", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:56:02.144122002Z", + "replica": "traefik-dc0d3ef03b-n261p", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "deepseek-v4.1-flash-1017", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"deepseek-v4.1-flash-1017\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:55:59.121528615Z", + "replica": "traefik-dc0d3ef03b-ekqbw", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "glm-5.3-flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"glm-5.3-flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:55:57.913783956Z", + "replica": "traefik-dc0d3ef03b-n261p", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "qwen3.8-27b", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"qwen3.8-27b\"; cost recorded as 0" + }, + { + "time": "2026-11-24T15:54:15.416413736Z", + "replica": "traefik-dc0d3ef03b-n261p", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "text-embedding-multilingual-e5-base", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"text-embedding-multilingual-e5-base\"; cost recorded as 0" + }, + { + "time": "2026-11-24T14:43:59.791998847Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:59.782258061Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:58.512516568Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:46.019061064Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:35.517660729Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:35.448162092Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:23.260610894Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:12.246756111Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:12.167298002Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:00.43423591Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T14:43:00.428027518Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-24T03:20:37.013613304Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "llmgateway: upstream request failed: stream: write tcp 203.0.113.4:8443->203.0.113.5:37204: write: connection timed out", + "status": 502 + }, + { + "time": "2026-11-24T02:56:33.267211208Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:32.44829531Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:32.098847698Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:30.923976885Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:30.843647204Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:30.493960108Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:30.425612741Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:29.788952586Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:28.753676875Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:28.25362608Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:28.185993186Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:28.096169553Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:27.48618158Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:26.883789776Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:26.409162112Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:26.362401643Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:25.400836662Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:56:25.252310171Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:33.752552045Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:33.551639578Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:32.780137528Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:32.360197603Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:31.20123999Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:31.041318699Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:30.836287797Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:29.784744463Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:29.642145212Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:29.404008517Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:29.095325545Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:28.351865161Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:27.971170753Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:27.912465719Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:52:26.933458917Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:33.004755948Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:32.530332299Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:32.489008063Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:31.334785631Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:31.264388704Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:30.208757904Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:29.690208296Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:29.259179433Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:28.4938054Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:27.45919833Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:50:26.508099385Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:48.493426797Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:48.030812994Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:47.07740929Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:46.971314742Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:46.742086548Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:46.510806564Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:45.675947973Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:45.457365389Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:44:45.088961516Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T02:43:48.447155244Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "route": "capacity", + "kind": "capacity", + "message": "server is at capacity; try again shortly", + "status": 503 + }, + { + "time": "2026-11-24T02:19:31.295486152Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "model-light", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"model-light\"; cost recorded as 0" + }, + { + "time": "2026-11-24T02:19:30.849926457Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "MiniMax-M3.1-Flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"MiniMax-M3.1-Flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T01:28:51.091693916Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:28:50.794553061Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:28:49.302161423Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:28:48.969017029Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:28:48.150751149Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:28:47.851051618Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:26:29.427641025Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:26:28.90714539Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:26:28.48234177Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:26:27.929539635Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "minimax/MiniMax-M3.1-Flash", + "provider": "minimax", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 429", + "status": 429 + }, + { + "time": "2026-11-24T01:25:20.882583696Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "MiniMax-M3.1-Flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"MiniMax-M3.1-Flash\"; cost recorded as 0" + }, + { + "time": "2026-11-24T01:23:36.090885361Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "model": "MiniMax-M3.1-Flash", + "route": "pricing", + "kind": "unpriced", + "message": "no price configured for model \"MiniMax-M3.1-Flash\"; cost recorded as 0" + }, + { + "time": "2026-11-23T22:41:10.484387311Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "gx10/DeepSeek-V4.1-Flash-EXL3", + "provider": "gx10", + "route": "chat/completions", + "kind": "upstream", + "message": "llmgateway: upstream request failed: stream: write tcp 203.0.113.6:8443->203.0.113.5:45250: write: connection timed out", + "status": 502 + }, + { + "time": "2026-11-23T22:39:28.084501809Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "llmgateway: upstream request failed: stream: write tcp 203.0.113.6:8443->203.0.113.5:43904: write: connection timed out", + "status": 502 + }, + { + "time": "2026-11-23T21:36:35.240707813Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:34.850966314Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 504", + "status": 504 + }, + { + "time": "2026-11-23T21:36:34.529518777Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:23.393447993Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:23.111679331Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:12.637413324Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:12.432057984Z", + "replica": "traefik-7c66667311-lgmfu", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "internal", + "group": "home", + "model": "uni/deepseek-v4-flash-0731", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:11.963025294Z", + "replica": "traefik-7c66667311-d3gye", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + }, + { + "time": "2026-11-23T21:36:11.807936438Z", + "replica": "traefik-7c66667311-myhlp", + "instance": "traefik-llmgateway@kubernetescrd", + "user": "user-03", + "group": "friends", + "model": "uni/qwen3.8-flash-next", + "provider": "uni", + "route": "chat/completions", + "kind": "upstream", + "message": "provider returned status 503", + "status": 503 + } + ], + "capacity": 200 +} \ No newline at end of file diff --git a/webui/mock/fixtures/overview.json b/webui/mock/fixtures/overview.json new file mode 100644 index 0000000..f6d028b --- /dev/null +++ b/webui/mock/fixtures/overview.json @@ -0,0 +1,3230 @@ +{ + "version": "0.0.0-dev", + "replica": "traefik-03f315a277-05cox", + "instance": "traefik-llmgateway@kubernetescrd", + "warnings": [], + "providers": [ + { + "lastRefresh": "2026-11-25T00:45:24.130858024Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "deepseek-v4-flash-0731": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 0.4 + }, + "deepseek-v4-pro": { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.32, + "outputPerMTokUsd": 3.96 + }, + "deepseek-v4.1-flash-1017": {}, + "glm-5.1": { + "contextTokens": 202745, + "inputPerMTokUsd": 1.4, + "outputPerMTokUsd": 4.4 + }, + "glm-5.2": { + "contextTokens": 1048576, + "inputPerMTokUsd": 1.4, + "outputPerMTokUsd": 4.4 + }, + "kimi-k2.5": { + "contextTokens": 262144, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 3 + }, + "kimi-k2.7-code": { + "contextTokens": 229376, + "inputPerMTokUsd": 0.95, + "outputPerMTokUsd": 4 + }, + "kimi-k3": { + "contextTokens": 1048576, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15 + }, + "kimi-k3.1-pro": {}, + "qwen-flash": {}, + "qwen-flash-2025-07-28": {}, + "qwen-image-2.1-pro": {}, + "qwen-image-3.0": {}, + "qwen-image-3.0-pro": {}, + "qwen-mt-flash": {}, + "qwen-mt-lite": {}, + "qwen-mt-plus": {}, + "qwen-plus": { + "contextTokens": 129024, + "inputPerMTokUsd": 0.4, + "outputPerMTokUsd": 1.2 + }, + "qwen-plus-2025-12-01": {}, + "qwen-plus-character": {}, + "qwen-vl-ocr": {}, + "qwen-vl-ocr-2025-11-20": {}, + "qwen3-coder-flash": {}, + "qwen3-coder-flash-2025-07-28": {}, + "qwen3-vl-plus": {}, + "qwen3.5-122b-a10b": {}, + "qwen3.5-27b": {}, + "qwen3.5-35b-a3b": {}, + "qwen3.5-397b-a17b": {}, + "qwen3.5-flash": {}, + "qwen3.5-flash-2026-02-23": {}, + "qwen3.5-plus": {}, + "qwen3.5-plus-2026-02-15": {}, + "qwen3.6-35b-a3b": {}, + "qwen3.6-flash": {}, + "qwen3.6-flash-2026-04-16": {}, + "qwen3.6-plus": {}, + "qwen3.6-plus-2026-04-02": {}, + "qwen3.7-flash": {}, + "qwen3.7-flash-2026-07-15": {}, + "qwen3.7-max": { + "contextTokens": 991808, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 7.5 + }, + "qwen3.7-max-2026-05-20": {}, + "qwen3.7-max-2026-06-08": {}, + "qwen3.7-plus": {}, + "qwen3.7-plus-2026-05-26": {}, + "qwen3.8-flash": { + "contextTokens": 991808, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.47 + }, + "qwen3.8-max": { + "contextTokens": 991808, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "qwen3.8-max-0902": {}, + "qwen4-max": {} + }, + "modelRates": { + "deepseek-v4-flash-0731": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "deepseek-v4-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "deepseek-v4.1-flash-1017": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "glm-5.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "glm-5.2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k2.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k2.7-code": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k3": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k3.1-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-flash-2025-07-28": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-image-2.1-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-image-3.0": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-image-3.0-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-mt-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-mt-lite": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-mt-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-plus-2025-12-01": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-plus-character": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-vl-ocr": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-vl-ocr-2025-11-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3-coder-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3-coder-flash-2025-07-28": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3-vl-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-122b-a10b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-27b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-35b-a3b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-397b-a17b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-flash-2026-02-23": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.5-plus-2026-02-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-35b-a3b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-flash-2026-04-16": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-plus-2026-04-02": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-flash-2026-07-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-max": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-max-2026-05-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-max-2026-06-08": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-plus": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.7-plus-2026-05-26": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.8-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.8-max": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.8-max-0902": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen4-max": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://provider-a.example/compatible-mode", + "healthState": "closed", + "name": "alibaba", + "models": [ + "deepseek-v4-flash-0731", + "deepseek-v4-pro", + "deepseek-v4.1-flash-1017", + "glm-5.1", + "glm-5.2", + "kimi-k2.5", + "kimi-k2.7-code", + "kimi-k3", + "kimi-k3.1-pro", + "qwen-flash", + "qwen-flash-2025-07-28", + "qwen-image-2.1-pro", + "qwen-image-3.0", + "qwen-image-3.0-pro", + "qwen-mt-flash", + "qwen-mt-lite", + "qwen-mt-plus", + "qwen-plus", + "qwen-plus-2025-12-01", + "qwen-plus-character", + "qwen-vl-ocr", + "qwen-vl-ocr-2025-11-20", + "qwen3-coder-flash", + "qwen3-coder-flash-2025-07-28", + "qwen3-vl-plus", + "qwen3.5-122b-a10b", + "qwen3.5-27b", + "qwen3.5-35b-a3b", + "qwen3.5-397b-a17b", + "qwen3.5-flash", + "qwen3.5-flash-2026-02-23", + "qwen3.5-plus", + "qwen3.5-plus-2026-02-15", + "qwen3.6-35b-a3b", + "qwen3.6-flash", + "qwen3.6-flash-2026-04-16", + "qwen3.6-plus", + "qwen3.6-plus-2026-04-02", + "qwen3.7-flash", + "qwen3.7-flash-2026-07-15", + "qwen3.7-max", + "qwen3.7-max-2026-05-20", + "qwen3.7-max-2026-06-08", + "qwen3.7-plus", + "qwen3.7-plus-2026-05-26", + "qwen3.8-flash", + "qwen3.8-max", + "qwen3.8-max-0902", + "qwen4-max" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 49, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:46.296837293Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": {}, + "modelRates": {}, + "type": "openai", + "baseUrl": "https://api.tokenlab.amd.com", + "lastErr": "context deadline exceeded", + "healthState": "closed", + "name": "amd", + "models": [], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 0, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.338700086Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "claude-fable-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "claude-fable-5-1": { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "claude-fable-5-2": {}, + "claude-haiku-4-5-20251001": { + "contextTokens": 200000, + "inputPerMTokUsd": 1, + "outputPerMTokUsd": 5 + }, + "claude-haiku-5-5": {}, + "claude-opus-4-5-20251101": { + "contextTokens": 200000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-4-6": { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-4-7": { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-4-8": { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-5-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20 + }, + "claude-sonnet-4-5-20250929": { + "contextTokens": 1000000, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15 + }, + "claude-sonnet-4-6": { + "contextTokens": 1000000, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15 + }, + "claude-sonnet-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + }, + "claude-sonnet-5-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + } + }, + "modelRates": { + "claude-fable-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-fable-5-1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-fable-5-2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-haiku-4-5-20251001": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-haiku-5-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-4-5-20251101": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-4-6": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-4-7": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-4-8": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-5-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-4-5-20250929": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-4-6": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-5-5": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "anthropic", + "baseUrl": "https://api.anthropic.com", + "healthState": "closed", + "name": "anthropic", + "models": [ + "claude-fable-5", + "claude-fable-5-1", + "claude-fable-5-2", + "claude-haiku-4-5-20251001", + "claude-haiku-5-5", + "claude-opus-4-5-20251101", + "claude-opus-4-6", + "claude-opus-4-7", + "claude-opus-4-8", + "claude-opus-5", + "claude-opus-5-5", + "claude-sonnet-4-5-20250929", + "claude-sonnet-4-6", + "claude-sonnet-5", + "claude-sonnet-5-5" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 15, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.463073656Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "gpt-oss-120b": { + "contextTokens": 131072, + "inputPerMTokUsd": 0.35, + "outputPerMTokUsd": 0.75 + }, + "qwen-3.8-27b": { + "contextTokens": 65536, + "inputPerMTokUsd": 0.99, + "outputPerMTokUsd": 1.49 + } + }, + "modelRates": { + "gpt-oss-120b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen-3.8-27b": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.cerebras.ai", + "healthState": "closed", + "name": "cerebras", + "models": [ + "gpt-oss-120b", + "qwen-3.8-27b" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 2, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.468331217Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "codex-auto-review": {}, + "gpt-5.6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2 + }, + "gpt-5.6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20 + }, + "gpt-5.6-terra": { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 12 + }, + "gpt-6-astra": { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "gpt-6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5 + }, + "gpt-6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + }, + "gpt-6.1-sol": {}, + "gpt-6.1-terra": {}, + "gpt-6.2-astra": {}, + "gpt-6.2-sol": {}, + "gpt-reserve": {} + }, + "modelRates": { + "codex-auto-review": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-terra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-astra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-terra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-astra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-reserve": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "http://codex-shim.svc-x.internal:8080", + "healthState": "closed", + "name": "codex", + "models": [ + "codex-auto-review", + "gpt-5.6-luna", + "gpt-5.6-sol", + "gpt-5.6-terra", + "gpt-6-astra", + "gpt-6-luna", + "gpt-6-sol", + "gpt-6.1-sol", + "gpt-6.1-terra", + "gpt-6.2-astra", + "gpt-6.2-sol", + "gpt-reserve" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 12, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.67976743Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "albatross": {}, + "claude-fable-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "claude-fable-5.1": {}, + "claude-fable-5.2": {}, + "claude-haiku-4.5": {}, + "claude-haiku-5.5": {}, + "claude-opus-4.8-fast": {}, + "claude-opus-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 25 + }, + "claude-opus-5.5": {}, + "claude-sonnet-5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + }, + "claude-sonnet-5.5": {}, + "copilot-search-a": {}, + "copilot-search-b": {}, + "eagle-bald": {}, + "gemini-3.8-flash": {}, + "gemini-4-argon": {}, + "gemini-4-hydrogen": {}, + "gpt-3.5-turbo": { + "contextTokens": 16385, + "inputPerMTokUsd": 0.5, + "outputPerMTokUsd": 1.5 + }, + "gpt-3.5-turbo-0613": {}, + "gpt-4": { + "contextTokens": 8192, + "inputPerMTokUsd": 30, + "outputPerMTokUsd": 60 + }, + "gpt-4-0125-preview": {}, + "gpt-4-0613": { + "contextTokens": 8192, + "inputPerMTokUsd": 30, + "outputPerMTokUsd": 60 + }, + "gpt-4-o-preview": {}, + "gpt-4.1": { + "contextTokens": 1047576, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8 + }, + "gpt-4.1-2025-04-14": {}, + "gpt-41-copilot": {}, + "gpt-4o": { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10 + }, + "gpt-4o-2024-05-13": {}, + "gpt-4o-2024-08-06": {}, + "gpt-4o-2024-11-20": {}, + "gpt-4o-mini": { + "contextTokens": 128000, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.6 + }, + "gpt-4o-mini-2024-07-18": {}, + "gpt-5.3-codex": {}, + "gpt-5.4-nano": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25 + }, + "gpt-5.6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2 + }, + "gpt-5.6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20 + }, + "gpt-6-astra": { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "gpt-6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5 + }, + "gpt-6-luna-decisions": {}, + "gpt-6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + }, + "gpt-6.1-sol": {}, + "gpt-6.1-terra": {}, + "gpt-image-2.5-flare": {}, + "grok-4.6": { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "grok-4.7": { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "kimi-k3": { + "contextTokens": 1048576, + "inputPerMTokUsd": 3, + "outputPerMTokUsd": 15 + }, + "kimi-k3-base": {}, + "kimi-k3-copilot": {}, + "mai-code-1.1-flash": {}, + "mai-code-2": {}, + "mai-code-2-flash": {}, + "microsoft-decision-1-1": {}, + "text-embedding-3-small": { + "contextTokens": 8191, + "inputPerMTokUsd": 0.02, + "outputPerMTokUsd": 0 + }, + "text-embedding-3-small-inference": {}, + "text-embedding-ada-002": { + "contextTokens": 8191, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0 + } + }, + "modelRates": { + "albatross": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-fable-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-fable-5.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-fable-5.2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-haiku-4.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-haiku-5.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-4.8-fast": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-opus-5.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "claude-sonnet-5.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "copilot-search-a": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "copilot-search-b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "eagle-bald": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gemini-3.8-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gemini-4-argon": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gemini-4-hydrogen": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-3.5-turbo": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-3.5-turbo-0613": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4-0125-preview": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4-0613": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4-o-preview": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1-2025-04-14": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-41-copilot": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-2024-05-13": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-2024-08-06": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-2024-11-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-2024-07-18": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.3-codex": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-nano": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-astra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-luna-decisions": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-terra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.5-flare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.6": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.7": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k3": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k3-base": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "kimi-k3-copilot": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "mai-code-1.1-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "mai-code-2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "mai-code-2-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "microsoft-decision-1-1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-3-small": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-3-small-inference": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-ada-002": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "http://copilot-shim.svc-x.internal:8080", + "healthState": "closed", + "name": "copilot", + "models": [ + "albatross", + "claude-fable-5", + "claude-fable-5.1", + "claude-fable-5.2", + "claude-haiku-4.5", + "claude-haiku-5.5", + "claude-opus-4.8-fast", + "claude-opus-5", + "claude-opus-5.5", + "claude-sonnet-5", + "claude-sonnet-5.5", + "copilot-search-a", + "copilot-search-b", + "eagle-bald", + "gemini-3.8-flash", + "gemini-4-argon", + "gemini-4-hydrogen", + "gpt-3.5-turbo", + "gpt-3.5-turbo-0613", + "gpt-4", + "gpt-4-0125-preview", + "gpt-4-0613", + "gpt-4-o-preview", + "gpt-4.1", + "gpt-4.1-2025-04-14", + "gpt-41-copilot", + "gpt-4o", + "gpt-4o-2024-05-13", + "gpt-4o-2024-08-06", + "gpt-4o-2024-11-20", + "gpt-4o-mini", + "gpt-4o-mini-2024-07-18", + "gpt-5.3-codex", + "gpt-5.4-nano", + "gpt-5.6-luna", + "gpt-5.6-sol", + "gpt-6-astra", + "gpt-6-luna", + "gpt-6-luna-decisions", + "gpt-6-sol", + "gpt-6.1-sol", + "gpt-6.1-terra", + "gpt-image-2.5-flare", + "grok-4.6", + "grok-4.7", + "kimi-k3", + "kimi-k3-base", + "kimi-k3-copilot", + "mai-code-1.1-flash", + "mai-code-2", + "mai-code-2-flash", + "microsoft-decision-1-1", + "text-embedding-3-small", + "text-embedding-3-small-inference", + "text-embedding-ada-002" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 55, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.979354251Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "deepseek-flash": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2 + }, + "deepseek-v4-pro": { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.32, + "outputPerMTokUsd": 3.96 + } + }, + "modelRates": { + "deepseek-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "deepseek-v4-pro": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.deepseek.com", + "healthState": "closed", + "name": "deepseek", + "models": [ + "deepseek-flash", + "deepseek-v4-pro" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 2, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:29.985244627Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "DeepSeek-V4.1-Flash-EXL3": { + "contextTokens": 524288, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "Inkling-2-Mini": { + "contextTokens": 32768, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "Qwen3.8-27B": { + "contextTokens": 262144, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "current": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "text-embedding-bge-reranker-v2": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "text-embedding-multilingual-e5-base": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + } + }, + "modelRates": { + "DeepSeek-V4.1-Flash-EXL3": { + "attemptsDay": 4, + "failuresDay": 0 + }, + "Inkling-2-Mini": { + "attemptsDay": 2, + "failuresDay": 0 + }, + "Qwen3.8-27B": { + "attemptsDay": 7, + "failuresDay": 0 + }, + "current": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-bge-reranker-v2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-multilingual-e5-base": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "http://llm-api.svc-x.internal:8000", + "healthState": "closed", + "name": "gx10", + "models": [ + "DeepSeek-V4.1-Flash-EXL3", + "Inkling-2-Mini", + "Qwen3.8-27B", + "current", + "text-embedding-bge-reranker-v2", + "text-embedding-multilingual-e5-base" + ], + "kinds": { + "/v1/decide": "decision", + "text-embedding-bge-reranker-v2": "reranking", + "text-embedding-multilingual-e5-base": "embedding" + }, + "endpoints": [ + "/v1/decide" + ], + "attemptsDay": 25, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 6, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:41.441051659Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": {}, + "modelRates": {}, + "type": "openai", + "baseUrl": "http://203.0.113.1:1234", + "lastErr": "llmgateway: upstream request failed: Get \"http://203.0.113.1:1234/v1/models\": dial tcp 203.0.113.1:1234: connect: connection refused", + "healthState": "closed", + "name": "macstudio", + "models": [], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 0, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:30.498138329Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "MiniMax-M2": { + "contextTokens": 200000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2 + }, + "MiniMax-M2.1": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2 + }, + "MiniMax-M2.1-highspeed": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 2.4 + }, + "MiniMax-M2.5": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2 + }, + "MiniMax-M2.5-highspeed": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 2.4 + }, + "MiniMax-M2.7": {}, + "MiniMax-M2.7-highspeed": {}, + "MiniMax-M3": { + "contextTokens": 1000000, + "inputPerMTokUsd": 0.3, + "outputPerMTokUsd": 1.2 + }, + "MiniMax-M3.1-Flash": {} + }, + "modelRates": { + "MiniMax-M2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.1-highspeed": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.5-highspeed": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.7": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M2.7-highspeed": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "MiniMax-M3": { + "attemptsDay": 6, + "failuresDay": 0 + }, + "MiniMax-M3.1-Flash": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.minimax.io", + "healthState": "closed", + "name": "minimax", + "models": [ + "MiniMax-M2", + "MiniMax-M2.1", + "MiniMax-M2.1-highspeed", + "MiniMax-M2.5", + "MiniMax-M2.5-highspeed", + "MiniMax-M2.7", + "MiniMax-M2.7-highspeed", + "MiniMax-M3", + "MiniMax-M3.1-Flash" + ], + "attemptsDay": 6, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 9, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:30.54177391Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "bigcode/starcoder2-15b": {}, + "fastino/gliner2-pii": {}, + "google/gemma-3-12b-it": {}, + "google/gemma-3-4b-it": {}, + "minimaxai/minimax-m3.1-flash": {}, + "mistralai/mistral-large-4-1t-a52b": {}, + "moonshotai/kimi-k3.1-pro": {}, + "nvidia/ai-synthetic-video-detector": {}, + "nvidia/cosmos-reason2-8b": {}, + "nvidia/embed-qa-4": {}, + "nvidia/ising-calibration-1.5-31b": {}, + "nvidia/llama-3.1-nemoguard-8b-topic-control": {}, + "nvidia/llama-3.1-nemotron-safety-guard-8b-v3": {}, + "nvidia/llama-3.2-nemoretriever-1b-vlm-embed-v1": {}, + "nvidia/llama-3.2-nv-embedqa-1b-v1": {}, + "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning": {}, + "nvidia/nemotron-3-ultra-550b-a55b": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "nvidia/nemotron-3.5-bolt-e4b": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "nvidia/nemotron-3.5-content-safety": {}, + "nvidia/nemotron-3.5-embed-1b": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "nvidia/nemotron-3.5-embed-8b": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "nvidia/nemotron-3.5-lightning-30b-a3b": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "nvidia/nemotron-3.5-super-vl-120b-a12b": {}, + "nvidia/nv-embedqa-mistral-7b-v2": {}, + "nvidia/nvclip": {}, + "nvidia/riva-translate-4b-instruct-v2": {}, + "poolside/laguna-xs-2.1": {}, + "snowflake/arctic-embed-l": {}, + "stepfun-ai/step-5-preview": {}, + "z-ai/glm-5.3-flash": {} + }, + "modelRates": { + "bigcode/starcoder2-15b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "fastino/gliner2-pii": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "google/gemma-3-12b-it": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "google/gemma-3-4b-it": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "minimaxai/minimax-m3.1-flash": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "mistralai/mistral-large-4-1t-a52b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "moonshotai/kimi-k3.1-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/ai-synthetic-video-detector": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/cosmos-reason2-8b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/embed-qa-4": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/ising-calibration-1.5-31b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/llama-3.1-nemoguard-8b-topic-control": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/llama-3.1-nemotron-safety-guard-8b-v3": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/llama-3.2-nemoretriever-1b-vlm-embed-v1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/llama-3.2-nv-embedqa-1b-v1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3-ultra-550b-a55b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-bolt-e4b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-content-safety": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-embed-1b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-embed-8b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-lightning-30b-a3b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nemotron-3.5-super-vl-120b-a12b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nv-embedqa-mistral-7b-v2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/nvclip": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "nvidia/riva-translate-4b-instruct-v2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "poolside/laguna-xs-2.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "snowflake/arctic-embed-l": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "stepfun-ai/step-5-preview": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "z-ai/glm-5.3-flash": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://integrate.api.nvidia.com", + "healthState": "closed", + "name": "nvidia-nim", + "models": [ + "bigcode/starcoder2-15b", + "fastino/gliner2-pii", + "google/gemma-3-12b-it", + "google/gemma-3-4b-it", + "minimaxai/minimax-m3.1-flash", + "mistralai/mistral-large-4-1t-a52b", + "moonshotai/kimi-k3.1-pro", + "nvidia/ai-synthetic-video-detector", + "nvidia/cosmos-reason2-8b", + "nvidia/embed-qa-4", + "nvidia/ising-calibration-1.5-31b", + "nvidia/llama-3.1-nemoguard-8b-topic-control", + "nvidia/llama-3.1-nemotron-safety-guard-8b-v3", + "nvidia/llama-3.2-nemoretriever-1b-vlm-embed-v1", + "nvidia/llama-3.2-nv-embedqa-1b-v1", + "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", + "nvidia/nemotron-3-ultra-550b-a55b", + "nvidia/nemotron-3.5-bolt-e4b", + "nvidia/nemotron-3.5-content-safety", + "nvidia/nemotron-3.5-embed-1b", + "nvidia/nemotron-3.5-embed-8b", + "nvidia/nemotron-3.5-lightning-30b-a3b", + "nvidia/nemotron-3.5-super-vl-120b-a12b", + "nvidia/nv-embedqa-mistral-7b-v2", + "nvidia/nvclip", + "nvidia/riva-translate-4b-instruct-v2", + "poolside/laguna-xs-2.1", + "snowflake/arctic-embed-l", + "stepfun-ai/step-5-preview", + "z-ai/glm-5.3-flash" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 30, + "discoveryEnabled": true + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": {}, + "modelRates": {}, + "type": "openai", + "baseUrl": "https://ai.api.nvidia.com", + "healthState": "closed", + "name": "nvidia-retrieval", + "models": [], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 0, + "discoveryEnabled": false + }, + { + "lastRefresh": "2026-11-25T00:45:31.04975007Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "chat-latest": { + "contextTokens": 400000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30 + }, + "chatgpt-image-latest": {}, + "gpt-4.1": { + "contextTokens": 1047576, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8 + }, + "gpt-4.1-2025-04-14": {}, + "gpt-4.1-mini": { + "contextTokens": 1047576, + "inputPerMTokUsd": 0.4, + "outputPerMTokUsd": 1.6 + }, + "gpt-4.1-mini-2025-04-14": {}, + "gpt-4o": { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10 + }, + "gpt-4o-2024-08-06": {}, + "gpt-4o-2024-11-20": {}, + "gpt-4o-mini": { + "contextTokens": 128000, + "inputPerMTokUsd": 0.15, + "outputPerMTokUsd": 0.6 + }, + "gpt-4o-mini-2024-07-18": {}, + "gpt-4o-mini-transcribe": {}, + "gpt-4o-mini-transcribe-2025-03-20": {}, + "gpt-4o-mini-transcribe-2025-12-15": {}, + "gpt-4o-mini-tts": {}, + "gpt-4o-mini-tts-2025-03-20": {}, + "gpt-4o-mini-tts-2025-12-15": {}, + "gpt-4o-transcribe": {}, + "gpt-4o-transcribe-diarize": {}, + "gpt-5": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10 + }, + "gpt-5-2025-08-07": {}, + "gpt-5-mini": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.25, + "outputPerMTokUsd": 2 + }, + "gpt-5-mini-2025-08-07": {}, + "gpt-5-nano": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.05, + "outputPerMTokUsd": 0.4 + }, + "gpt-5-nano-2025-08-07": {}, + "gpt-5-pro": {}, + "gpt-5-pro-2025-10-06": {}, + "gpt-5-search-api": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10 + }, + "gpt-5-search-api-2025-10-14": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10 + }, + "gpt-5.1": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10 + }, + "gpt-5.1-2025-11-13": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 10 + }, + "gpt-5.2": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.75, + "outputPerMTokUsd": 14 + }, + "gpt-5.2-2025-12-11": { + "contextTokens": 272000, + "inputPerMTokUsd": 1.75, + "outputPerMTokUsd": 14 + }, + "gpt-5.2-pro": {}, + "gpt-5.2-pro-2025-12-11": {}, + "gpt-5.3-codex": {}, + "gpt-5.4": { + "contextTokens": 1050000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 15 + }, + "gpt-5.4-2026-03-05": { + "contextTokens": 1050000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 15 + }, + "gpt-5.4-mini": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.75, + "outputPerMTokUsd": 4.5 + }, + "gpt-5.4-mini-2026-03-17": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.75, + "outputPerMTokUsd": 4.5 + }, + "gpt-5.4-nano": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25 + }, + "gpt-5.4-nano-2026-03-17": { + "contextTokens": 272000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.25 + }, + "gpt-5.4-pro": {}, + "gpt-5.4-pro-2026-03-05": {}, + "gpt-5.5": { + "contextTokens": 1050000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30 + }, + "gpt-5.5-2026-04-23": { + "contextTokens": 1050000, + "inputPerMTokUsd": 5, + "outputPerMTokUsd": 30 + }, + "gpt-5.5-pro": {}, + "gpt-5.5-pro-2026-04-23": {}, + "gpt-5.6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.2, + "outputPerMTokUsd": 1.2 + }, + "gpt-5.6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 4, + "outputPerMTokUsd": 20 + }, + "gpt-5.6-terra": { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 12 + }, + "gpt-6-astra": { + "contextTokens": 922000, + "inputPerMTokUsd": 10, + "outputPerMTokUsd": 50 + }, + "gpt-6-astra-healthcare": {}, + "gpt-6-luna": { + "contextTokens": 922000, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0.5 + }, + "gpt-6-sol": { + "contextTokens": 922000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 10 + }, + "gpt-6.1-sol": {}, + "gpt-6.1-sol-healthcare": {}, + "gpt-6.1-terra": {}, + "gpt-6.2-astra": {}, + "gpt-6.2-astra-healthcare": {}, + "gpt-6.2-sol": {}, + "gpt-6.2-sol-healthcare": {}, + "gpt-audio": { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10 + }, + "gpt-audio-1.5": { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10 + }, + "gpt-audio-2025-08-28": {}, + "gpt-audio-mini": { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4 + }, + "gpt-audio-mini-2025-12-15": { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4 + }, + "gpt-image-1-mini": {}, + "gpt-image-1.5": {}, + "gpt-image-2": {}, + "gpt-image-2-2026-04-21": {}, + "gpt-image-2.5-flare": {}, + "gpt-image-2.5-flare-2026-09-08": {}, + "gpt-image-2.5-sunburst": {}, + "gpt-image-2.5-sunburst-2026-09-08": {}, + "gpt-image-2.6-flare": {}, + "gpt-image-2.6-sunburst": {}, + "gpt-live-1": {}, + "gpt-live-1.1": {}, + "gpt-live-transcribe": {}, + "gpt-realtime": {}, + "gpt-realtime-1.5": {}, + "gpt-realtime-2": {}, + "gpt-realtime-2.1": {}, + "gpt-realtime-2.1-mini": {}, + "gpt-realtime-2025-08-28": {}, + "gpt-realtime-mini": {}, + "gpt-realtime-mini-2025-12-15": {}, + "gpt-realtime-translate": {}, + "gpt-realtime-whisper": {}, + "gpt-transcribe": {}, + "o3": { + "contextTokens": 200000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 8 + }, + "o3-2025-04-16": {}, + "o3-pro": {}, + "o3-pro-2025-06-10": {}, + "omni-moderation-2024-09-26": {}, + "omni-moderation-latest": {}, + "text-embedding-3-large": { + "contextTokens": 8191, + "inputPerMTokUsd": 0.13, + "outputPerMTokUsd": 0 + }, + "text-embedding-3-small": { + "contextTokens": 8191, + "inputPerMTokUsd": 0.02, + "outputPerMTokUsd": 0 + }, + "text-embedding-ada-002": { + "contextTokens": 8191, + "inputPerMTokUsd": 0.1, + "outputPerMTokUsd": 0 + }, + "tts-1": {}, + "tts-1-1106": {}, + "tts-1-hd": {}, + "tts-1-hd-1106": {}, + "whisper-1": {} + }, + "modelRates": { + "chat-latest": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "chatgpt-image-latest": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1-2025-04-14": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4.1-mini-2025-04-14": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-2024-08-06": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-2024-11-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-2024-07-18": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-transcribe-2025-03-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-transcribe-2025-12-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-tts": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-tts-2025-03-20": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-tts-2025-12-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-transcribe-diarize": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-2025-08-07": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-mini-2025-08-07": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-nano": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-nano-2025-08-07": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-pro-2025-10-06": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-search-api": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5-search-api-2025-10-14": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.1-2025-11-13": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.2-2025-12-11": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.2-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.2-pro-2025-12-11": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.3-codex": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-2026-03-05": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-mini-2026-03-17": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-nano": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-nano-2026-03-17": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.4-pro-2026-03-05": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.5-2026-04-23": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.5-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.5-pro-2026-04-23": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-5.6-terra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-astra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-astra-healthcare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-luna": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-sol-healthcare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.1-terra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-astra": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-astra-healthcare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-sol": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-6.2-sol-healthcare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio-1.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio-2025-08-28": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio-mini-2025-12-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-1-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-1.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2-2026-04-21": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.5-flare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.5-flare-2026-09-08": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.5-sunburst": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.5-sunburst-2026-09-08": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.6-flare": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-image-2.6-sunburst": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-live-1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-live-1.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-live-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-1.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-2": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-2.1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-2.1-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-2025-08-28": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-mini-2025-12-15": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-translate": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime-whisper": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "o3": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "o3-2025-04-16": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "o3-pro": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "o3-pro-2025-06-10": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "omni-moderation-2024-09-26": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "omni-moderation-latest": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-3-large": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-3-small": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-ada-002": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1-1106": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1-hd": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1-hd-1106": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "whisper-1": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.openai.com", + "healthState": "closed", + "name": "openai", + "models": [ + "chat-latest", + "chatgpt-image-latest", + "gpt-4.1", + "gpt-4.1-2025-04-14", + "gpt-4.1-mini", + "gpt-4.1-mini-2025-04-14", + "gpt-4o", + "gpt-4o-2024-08-06", + "gpt-4o-2024-11-20", + "gpt-4o-mini", + "gpt-4o-mini-2024-07-18", + "gpt-4o-mini-transcribe", + "gpt-4o-mini-transcribe-2025-03-20", + "gpt-4o-mini-transcribe-2025-12-15", + "gpt-4o-mini-tts", + "gpt-4o-mini-tts-2025-03-20", + "gpt-4o-mini-tts-2025-12-15", + "gpt-4o-transcribe", + "gpt-4o-transcribe-diarize", + "gpt-5", + "gpt-5-2025-08-07", + "gpt-5-mini", + "gpt-5-mini-2025-08-07", + "gpt-5-nano", + "gpt-5-nano-2025-08-07", + "gpt-5-pro", + "gpt-5-pro-2025-10-06", + "gpt-5-search-api", + "gpt-5-search-api-2025-10-14", + "gpt-5.1", + "gpt-5.1-2025-11-13", + "gpt-5.2", + "gpt-5.2-2025-12-11", + "gpt-5.2-pro", + "gpt-5.2-pro-2025-12-11", + "gpt-5.3-codex", + "gpt-5.4", + "gpt-5.4-2026-03-05", + "gpt-5.4-mini", + "gpt-5.4-mini-2026-03-17", + "gpt-5.4-nano", + "gpt-5.4-nano-2026-03-17", + "gpt-5.4-pro", + "gpt-5.4-pro-2026-03-05", + "gpt-5.5", + "gpt-5.5-2026-04-23", + "gpt-5.5-pro", + "gpt-5.5-pro-2026-04-23", + "gpt-5.6-luna", + "gpt-5.6-sol", + "gpt-5.6-terra", + "gpt-6-astra", + "gpt-6-astra-healthcare", + "gpt-6-luna", + "gpt-6-sol", + "gpt-6.1-sol", + "gpt-6.1-sol-healthcare", + "gpt-6.1-terra", + "gpt-6.2-astra", + "gpt-6.2-astra-healthcare", + "gpt-6.2-sol", + "gpt-6.2-sol-healthcare", + "gpt-audio", + "gpt-audio-1.5", + "gpt-audio-2025-08-28", + "gpt-audio-mini", + "gpt-audio-mini-2025-12-15", + "gpt-image-1-mini", + "gpt-image-1.5", + "gpt-image-2", + "gpt-image-2-2026-04-21", + "gpt-image-2.5-flare", + "gpt-image-2.5-flare-2026-09-08", + "gpt-image-2.5-sunburst", + "gpt-image-2.5-sunburst-2026-09-08", + "gpt-image-2.6-flare", + "gpt-image-2.6-sunburst", + "gpt-live-1", + "gpt-live-1.1", + "gpt-live-transcribe", + "gpt-realtime", + "gpt-realtime-1.5", + "gpt-realtime-2", + "gpt-realtime-2.1", + "gpt-realtime-2.1-mini", + "gpt-realtime-2025-08-28", + "gpt-realtime-mini", + "gpt-realtime-mini-2025-12-15", + "gpt-realtime-translate", + "gpt-realtime-whisper", + "gpt-transcribe", + "o3", + "o3-2025-04-16", + "o3-pro", + "o3-pro-2025-06-10", + "omni-moderation-2024-09-26", + "omni-moderation-latest", + "text-embedding-3-large", + "text-embedding-3-small", + "text-embedding-ada-002", + "tts-1", + "tts-1-1106", + "tts-1-hd", + "tts-1-hd-1106", + "whisper-1" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 105, + "discoveryEnabled": true + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "gpt-4o-mini-transcribe": {}, + "gpt-4o-mini-tts": {}, + "gpt-4o-transcribe": {}, + "gpt-audio": { + "contextTokens": 128000, + "inputPerMTokUsd": 2.5, + "outputPerMTokUsd": 10 + }, + "gpt-audio-mini": { + "contextTokens": 128000, + "inputPerMTokUsd": 0.6, + "outputPerMTokUsd": 2.4 + }, + "gpt-realtime": {}, + "tts-1": {}, + "tts-1-hd": {}, + "whisper-1": {} + }, + "modelRates": { + "gpt-4o-mini-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-mini-tts": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-4o-transcribe": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-audio-mini": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "gpt-realtime": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "tts-1-hd": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "whisper-1": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.openai.com", + "healthState": "closed", + "name": "openai-audio", + "models": [ + "gpt-4o-mini-transcribe", + "gpt-4o-mini-tts", + "gpt-4o-transcribe", + "gpt-audio", + "gpt-audio-mini", + "gpt-realtime", + "tts-1", + "tts-1-hd", + "whisper-1" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 9, + "discoveryEnabled": false + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": {}, + "modelRates": {}, + "type": "openai", + "baseUrl": "http://203.0.113.1:8001", + "healthState": "closed", + "name": "parakeet-mlx", + "models": [], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 0, + "discoveryEnabled": false + }, + { + "lastRefresh": "0001-01-01T00:00:00Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": {}, + "modelRates": {}, + "type": "openai", + "baseUrl": "http://203.0.113.1:8002", + "healthState": "closed", + "name": "piper-tts", + "models": [], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 0, + "discoveryEnabled": false + }, + { + "lastRefresh": "2026-11-25T00:45:31.071356203Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "deepseek-v4-flash-0731": { + "contextTokens": 524288, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "deepseek-v4.1-flash-1017": { + "contextTokens": 524288 + }, + "glm-5.3-flash": { + "contextTokens": 524288 + }, + "model-fast": { + "contextTokens": 524288 + }, + "model-heavy": { + "contextTokens": 262144 + }, + "model-light": { + "contextTokens": 262144 + }, + "ornith-1.5-35b": { + "contextTokens": 262144 + }, + "ornith-1.5-397b": { + "contextTokens": 262144 + }, + "ornith-397b": { + "contextTokens": 262144, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "qwen3.6-27b": { + "contextTokens": 262144, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "qwen3.8-27b": { + "contextTokens": 262144 + }, + "qwen3.8-27b-uncensored": { + "contextTokens": 262144 + }, + "qwen3.8-flash-next": { + "contextTokens": 524288 + }, + "text-embedding-multilingual-e5-base": {} + }, + "modelRates": { + "deepseek-v4-flash-0731": { + "attemptsDay": 421, + "failuresDay": 0 + }, + "deepseek-v4.1-flash-1017": { + "attemptsDay": 100, + "failuresDay": 0 + }, + "glm-5.3-flash": { + "attemptsDay": 30, + "failuresDay": 0 + }, + "model-fast": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "model-heavy": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "model-light": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "ornith-1.5-35b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "ornith-1.5-397b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "ornith-397b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.6-27b": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.8-27b": { + "attemptsDay": 71, + "failuresDay": 0 + }, + "qwen3.8-27b-uncensored": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "qwen3.8-flash-next": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "text-embedding-multilingual-e5-base": { + "attemptsDay": 1080, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://provider-b.example", + "healthState": "closed", + "name": "uni", + "models": [ + "deepseek-v4-flash-0731", + "deepseek-v4.1-flash-1017", + "glm-5.3-flash", + "model-fast", + "model-heavy", + "model-light", + "ornith-1.5-35b", + "ornith-1.5-397b", + "ornith-397b", + "qwen3.6-27b", + "qwen3.8-27b", + "qwen3.8-27b-uncensored", + "qwen3.8-flash-next", + "text-embedding-multilingual-e5-base" + ], + "attemptsDay": 1702, + "failuresDay": 0, + "attemptsMinute": 7, + "failuresMinute": 0, + "modelCount": 14, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:31.241477003Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "grok-4.20-0309-non-reasoning": { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5 + }, + "grok-4.20-0309-reasoning": { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5 + }, + "grok-4.20-multi-agent-0309": {}, + "grok-4.3": { + "contextTokens": 1000000, + "inputPerMTokUsd": 1.25, + "outputPerMTokUsd": 2.5 + }, + "grok-4.5": { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "grok-4.6": { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "grok-4.7": { + "contextTokens": 500000, + "inputPerMTokUsd": 2, + "outputPerMTokUsd": 6 + }, + "grok-imagine-image": {}, + "grok-imagine-image-2.0": {}, + "grok-imagine-video": {}, + "grok-imagine-video-1.5": {}, + "grok-imagine-video-1.5-lite": {} + }, + "modelRates": { + "grok-4.20-0309-non-reasoning": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.20-0309-reasoning": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.20-multi-agent-0309": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.3": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.6": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-4.7": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-imagine-image": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-imagine-image-2.0": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-imagine-video": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-imagine-video-1.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "grok-imagine-video-1.5-lite": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://api.x.ai", + "healthState": "closed", + "name": "xai", + "models": [ + "grok-4.20-0309-non-reasoning", + "grok-4.20-0309-reasoning", + "grok-4.20-multi-agent-0309", + "grok-4.3", + "grok-4.5", + "grok-4.6", + "grok-4.7", + "grok-imagine-image", + "grok-imagine-image-2.0", + "grok-imagine-video", + "grok-imagine-video-1.5", + "grok-imagine-video-1.5-lite" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 12, + "discoveryEnabled": true + }, + { + "lastRefresh": "2026-11-25T00:45:41.32128593Z", + "openUntil": "0001-01-01T00:00:00Z", + "modelMeta": { + "mimo-v2.5": {}, + "mimo-v2.5-pro": {} + }, + "modelRates": { + "mimo-v2.5": { + "attemptsDay": 0, + "failuresDay": 0 + }, + "mimo-v2.5-pro": { + "attemptsDay": 0, + "failuresDay": 0 + } + }, + "type": "openai", + "baseUrl": "https://token-plan-ams.xiaomimimo.com", + "lastErr": "provider returned status 401", + "healthState": "closed", + "name": "xiaomi", + "models": [ + "mimo-v2.5", + "mimo-v2.5-pro" + ], + "attemptsDay": 0, + "failuresDay": 0, + "attemptsMinute": 0, + "failuresMinute": 0, + "modelCount": 2, + "discoveryEnabled": true + } + ], + "groups": [ + { + "name": "friends", + "memberCount": 16 + }, + { + "name": "home", + "memberCount": 6 + }, + { + "name": "projects", + "memberCount": 1 + } + ], + "aliases": [ + { + "modelMeta": { + "contextTokens": 524288, + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "deepseek", + "target": "uni/deepseek-v4-flash-0731" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "deepseek-v4-flash-vision-exp", + "target": "gx10/current" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "gx10-embedding/text-embedding-multilingual-e5-base", + "target": "gx10/text-embedding-multilingual-e5-base" + }, + { + "modelMeta": { + "inputPerMTokUsd": 0, + "outputPerMTokUsd": 0 + }, + "alias": "local/current-model", + "target": "gx10/current" + } + ], + "routers": [ + { + "name": "smartrouter/gx10", + "defaultTier": "low", + "selection": "ordered", + "classifier": "v2", + "firstByteTimeout": "40s", + "tiers": [ + { + "name": "low", + "models": [ + "gx10/Qwen3.8-27B" + ], + "minScore": 0 + }, + { + "name": "mid", + "models": [ + "gx10/Inkling-2-Mini" + ], + "minScore": 150 + }, + { + "name": "top", + "models": [ + "gx10/DeepSeek-V4.1-Flash-EXL3" + ], + "minScore": 350 + } + ], + "keywordRules": [], + "contextTokens": 524288, + "stats": { + "scope": "shared", + "tiers": [ + { + "name": "low", + "count": 33 + }, + { + "name": "mid", + "count": 15 + }, + { + "name": "top", + "count": 29 + } + ], + "reasons": [ + { + "name": "bump", + "count": 5 + }, + { + "name": "floor", + "count": 9 + }, + { + "name": "score", + "count": 58 + }, + { + "name": "session", + "count": 2 + }, + { + "name": "skipped", + "count": 3 + } + ], + "escalations": [], + "shadow": [], + "outcomes": [ + { + "tier": "low", + "reason": "score", + "outcome": "ok", + "count": 21 + }, + { + "tier": "low", + "reason": "score", + "outcome": "bad", + "count": 3 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "ok", + "count": 1 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "bad", + "count": 4 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "bad", + "count": 1 + }, + { + "tier": "top", + "reason": "score", + "outcome": "ok", + "count": 10 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "ok", + "count": 5 + }, + { + "tier": "top", + "reason": "session", + "outcome": "ok", + "count": 2 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "ok", + "count": 4 + } + ], + "requests": 77 + }, + "calibration": { + "mode": "shadow", + "delta": [ + { + "tier": "mid", + "delta": 0 + }, + { + "tier": "top", + "delta": 0 + } + ], + "maxLower": 149, + "maxRaise": 0, + "freeze": false + }, + "maxAttempts": 4, + "downgraded": 0, + "downgradeBand": 100, + "riskZ": 128, + "contextEscalation": true, + "shadowEnabled": false, + "saturationDowngrade": false, + "timeoutFallback": false, + "fellBack": 0 + }, + { + "name": "smartrouter/uni", + "defaultTier": "low", + "selection": "ordered", + "classifier": "v2", + "firstByteTimeout": "40s", + "tiers": [ + { + "name": "low", + "models": [ + "uni/qwen3.8-27b" + ], + "minScore": 0 + }, + { + "name": "mid", + "models": [ + "uni/glm-5.3-flash" + ], + "minScore": 150 + }, + { + "name": "top", + "models": [ + "uni/deepseek-v4.1-flash-1017" + ], + "minScore": 350 + } + ], + "keywordRules": [], + "contextTokens": 524288, + "stats": { + "scope": "shared", + "tiers": [ + { + "name": "low", + "count": 35 + }, + { + "name": "mid", + "count": 44 + }, + { + "name": "top", + "count": 127 + } + ], + "reasons": [ + { + "name": "bump", + "count": 11 + }, + { + "name": "floor", + "count": 12 + }, + { + "name": "loop", + "count": 72 + }, + { + "name": "score", + "count": 108 + }, + { + "name": "session", + "count": 3 + } + ], + "escalations": [], + "shadow": [], + "outcomes": [ + { + "tier": "low", + "reason": "score", + "outcome": "ok", + "count": 16 + }, + { + "tier": "low", + "reason": "score", + "outcome": "bad", + "count": 7 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "ok", + "count": 31 + }, + { + "tier": "mid", + "reason": "score", + "outcome": "bad", + "count": 2 + }, + { + "tier": "mid", + "reason": "session", + "outcome": "bad", + "count": 1 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "ok", + "count": 1 + }, + { + "tier": "mid", + "reason": "bump", + "outcome": "bad", + "count": 1 + }, + { + "tier": "top", + "reason": "score", + "outcome": "ok", + "count": 17 + }, + { + "tier": "top", + "reason": "score", + "outcome": "error", + "count": 4 + }, + { + "tier": "top", + "reason": "score", + "outcome": "bad", + "count": 10 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "ok", + "count": 3 + }, + { + "tier": "top", + "reason": "floor", + "outcome": "error", + "count": 2 + }, + { + "tier": "top", + "reason": "session", + "outcome": "ok", + "count": 2 + }, + { + "tier": "top", + "reason": "loop", + "outcome": "ok", + "count": 72 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "ok", + "count": 8 + }, + { + "tier": "top", + "reason": "bump", + "outcome": "bad", + "count": 1 + } + ], + "requests": 206 + }, + "calibration": { + "mode": "shadow", + "delta": [ + { + "tier": "mid", + "delta": 0 + }, + { + "tier": "top", + "delta": 0 + } + ], + "maxLower": 149, + "maxRaise": 0, + "freeze": false + }, + "maxAttempts": 4, + "downgraded": 0, + "downgradeBand": 100, + "riskZ": 128, + "contextEscalation": true, + "shadowEnabled": false, + "saturationDowngrade": false, + "timeoutFallback": true, + "fellBack": 0 + } + ], + "redis": { + "lastErrAt": "0001-01-01T00:00:00Z", + "configured": true + }, + "cache": { + "ttl": "5m0s", + "enabled": true + }, + "retry": { + "backoff": "250ms", + "enabled": true, + "attempts": 1 + }, + "features": { + "userModelStats": true, + "latencyStats": true, + "cacheStats": true, + "lastSeen": true, + "failover": true + }, + "pricing": { + "override": 0, + "builtin": 5, + "litellm": 99, + "free": 14, + "unpriced": 204 + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-model_window-day_span-14.json b/webui/mock/fixtures/performance__kind-model_window-day_span-14.json new file mode 100644 index 0000000..4f4c11a --- /dev/null +++ b/webui/mock/fixtures/performance__kind-model_window-day_span-14.json @@ -0,0 +1,306 @@ +{ + "kind": "model", + "window": "day", + "rows": [ + { + "p50Ms": 50.05281112058243, + "p95Ms": 95.10034112910661, + "p99Ms": 99.1045660187532, + "ttfbP50Ms": 50.046011401770926, + "ttfbP95Ms": 95.08742166336474, + "id": "uni/text-embedding-multilingual-e5-base", + "count": 618894, + "attempts": 619938, + "failures": 0 + }, + { + "p50Ms": 6757.369614512471, + "p95Ms": 53533.3333333333, + "p99Ms": 254079.06976744207, + "ttfbP50Ms": 173.14421394651336, + "ttfbP95Ms": 23859.974424552423, + "id": "uni/deepseek-v4-flash-0731", + "count": 23164, + "attempts": 23703, + "failures": 173 + }, + { + "p50Ms": 4472.76557327716, + "p95Ms": 123402.68456375794, + "p99Ms": 282237.5838926172, + "ttfbP50Ms": 280.82864249247285, + "ttfbP95Ms": 972.8397742075549, + "id": "uni/deepseek-v4.1-flash-1017", + "count": 19722, + "attempts": 19872, + "failures": 108 + }, + { + "p50Ms": 1721.388888888889, + "p95Ms": 10630.34188034188, + "p99Ms": 26715.27777777783, + "ttfbP50Ms": 815.6504678539088, + "ttfbP95Ms": 3723.684210526316, + "id": "uni/glm-5.3-flash", + "count": 4665, + "attempts": 4678, + "failures": 2 + }, + { + "p50Ms": 9978.902953586497, + "p95Ms": 260495.0495049505, + "p99Ms": 492711.86440678017, + "ttfbP50Ms": 1984.0972871842844, + "ttfbP95Ms": 236860.46511627908, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "count": 2610, + "attempts": 2742, + "failures": 3 + }, + { + "p50Ms": 1497.1537001897532, + "p95Ms": 43714.285714285696, + "p99Ms": 161471.9999999999, + "ttfbP50Ms": 1282.918149466192, + "ttfbP95Ms": 14727.272727272715, + "id": "minimax/MiniMax-M3", + "count": 1924, + "attempts": 1937, + "failures": 11 + }, + { + "p50Ms": 4823.033707865169, + "p95Ms": 184403.66972477065, + "p99Ms": 279522.9357798164, + "ttfbP50Ms": 211.21673003802283, + "ttfbP95Ms": 668.3673469387755, + "id": "uni/qwen3.8-flash-next", + "count": 1440, + "attempts": 1472, + "failures": 26 + }, + { + "p50Ms": 3396.643109540636, + "p95Ms": 19459.090909090883, + "p99Ms": 50449.99999999997, + "ttfbP50Ms": 1319.0709046454767, + "ttfbP95Ms": 4993.389830508473, + "id": "minimax/MiniMax-M3.1-Flash", + "count": 1273, + "attempts": 1413, + "failures": 132 + }, + { + "p50Ms": 6582.125603864734, + "p95Ms": 28017.857142857116, + "p99Ms": 55934.99999999994, + "ttfbP50Ms": 3391.238670694864, + "ttfbP95Ms": 8972.499999999996, + "id": "alibaba/deepseek-v4.1-flash-1017", + "count": 571, + "attempts": 937, + "failures": 366 + }, + { + "p50Ms": 39642.857142857145, + "p95Ms": 401666.66666666657, + "p99Ms": 573666.6666666665, + "ttfbP50Ms": 4595.505617977528, + "ttfbP95Ms": 12699.999999999998, + "id": "gx10/Qwen3.8-27B", + "count": 258, + "attempts": 260, + "failures": 0 + }, + { + "p50Ms": 17812.5, + "p95Ms": 54500, + "p99Ms": 86000.00000000023, + "ttfbP50Ms": 17812.5, + "ttfbP95Ms": 54500, + "id": "openai/gpt-5.5", + "count": 170, + "attempts": 180, + "failures": 0 + }, + { + "p50Ms": 293.60465116279073, + "p95Ms": 7854.166666666664, + "p99Ms": 9570.833333333332, + "ttfbP50Ms": 224.21875, + "ttfbP95Ms": 7854.166666666664, + "id": "uni/qwen3.8-27b", + "count": 103, + "attempts": 110, + "failures": 6 + }, + { + "p50Ms": 600, + "p95Ms": 4799.999999999999, + "p99Ms": 51599.99999999996, + "ttfbP50Ms": 500, + "ttfbP95Ms": 4299.999999999999, + "id": "uni/model-fast", + "count": 28, + "attempts": 37, + "failures": 8 + }, + { + "p50Ms": 1222.2222222222224, + "p95Ms": 4849.999999999998, + "p99Ms": 8799.99999999999, + "ttfbP50Ms": 1125, + "ttfbP95Ms": 4849.999999999998, + "id": "minimax/MiniMax-M2.5-highspeed", + "count": 24, + "attempts": 24, + "failures": 0 + }, + { + "p50Ms": 1277.7777777777776, + "p95Ms": 4309.999999999999, + "p99Ms": 4862, + "ttfbP50Ms": 1277.7777777777776, + "ttfbP95Ms": 4309.999999999999, + "id": "minimax/MiniMax-M2.7", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1071.4285714285713, + "p95Ms": 4887.499999999998, + "p99Ms": 8849.999999999998, + "ttfbP50Ms": 1071.4285714285713, + "ttfbP95Ms": 4887.499999999998, + "id": "minimax/MiniMax-M2.7-highspeed", + "count": 23, + "attempts": 23, + "failures": 0 + }, + { + "p50Ms": 1333.3333333333333, + "p95Ms": 4633.333333333333, + "p99Ms": 4926.666666666668, + "ttfbP50Ms": 1333.3333333333333, + "ttfbP95Ms": 4633.333333333333, + "id": "minimax/MiniMax-M2.5", + "count": 22, + "attempts": 22, + "failures": 0 + }, + { + "p50Ms": 5000, + "p95Ms": 23999.999999999993, + "p99Ms": 28799.999999999996, + "ttfbP50Ms": 5000, + "ttfbP95Ms": 23999.999999999993, + "id": "gx10/Inkling-2-Mini", + "count": 16, + "attempts": 21, + "failures": 4 + }, + { + "p50Ms": 1500, + "p95Ms": 1949.9999999999998, + "p99Ms": 1990, + "ttfbP50Ms": 750, + "ttfbP95Ms": 974.9999999999999, + "id": "anthropic/claude-haiku-5-5", + "count": 9, + "attempts": 10, + "failures": 0 + }, + { + "p50Ms": 2375, + "p95Ms": 4737.5, + "p99Ms": 4947.5, + "ttfbP50Ms": 2375, + "ttfbP95Ms": 4737.5, + "id": "uni/ornith-1.5-397b", + "count": 7, + "attempts": 13, + "failures": 6 + }, + { + "p50Ms": 625, + "p95Ms": 52500, + "p99Ms": 58500.00000000001, + "ttfbP50Ms": 625, + "ttfbP95Ms": 52500, + "id": "gx10/current", + "count": 5, + "attempts": 7, + "failures": 0 + }, + { + "p50Ms": 1000, + "p95Ms": 1900, + "p99Ms": 1980, + "ttfbP50Ms": 1000, + "ttfbP95Ms": 1900, + "id": "uni/ornith-397b", + "count": 4, + "attempts": 10, + "failures": 6 + }, + { + "p50Ms": 2000, + "p95Ms": 9500, + "p99Ms": 9900, + "ttfbP50Ms": 2000, + "ttfbP95Ms": 9500, + "id": "uni/qwen3.8-27b-uncensored", + "count": 4, + "attempts": 11, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 9249.999999999998, + "p99Ms": 9849.999999999998, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 9249.999999999998, + "id": "uni/model-light", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 375, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 375, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/ornith-1.5-35b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 750, + "p95Ms": 4549.999999999999, + "p99Ms": 4909.999999999999, + "ttfbP50Ms": 750, + "ttfbP95Ms": 4549.999999999999, + "id": "uni/qwen3.6-27b", + "count": 3, + "attempts": 9, + "failures": 6 + }, + { + "p50Ms": 3500, + "p95Ms": 4850, + "p99Ms": 4970, + "ttfbP50Ms": 3500, + "ttfbP95Ms": 4850, + "id": "uni/model-heavy", + "count": 1, + "attempts": 31, + "failures": 30 + } + ], + "span": 14, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-model_window-hour_span-24.json b/webui/mock/fixtures/performance__kind-model_window-hour_span-24.json new file mode 100644 index 0000000..81534e1 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-model_window-hour_span-24.json @@ -0,0 +1,152 @@ +{ + "kind": "model", + "window": "hour", + "rows": [ + { + "p50Ms": 50.01306999709556, + "p95Ms": 95.02483299448156, + "p99Ms": 99.02587859424922, + "ttfbP50Ms": 50.011617437774106, + "ttfbP95Ms": 95.0220731317708, + "id": "uni/text-embedding-multilingual-e5-base", + "count": 68878, + "attempts": 69573, + "failures": 0 + }, + { + "p50Ms": 5109.682299546142, + "p95Ms": 164509.6153846152, + "p99Ms": 272901.9230769229, + "ttfbP50Ms": 280.4176755447942, + "ttfbP95Ms": 16215.240641711202, + "id": "uni/deepseek-v4-flash-0731", + "count": 4697, + "attempts": 4781, + "failures": 18 + }, + { + "p50Ms": 1992.391304347826, + "p95Ms": 11994.444444444449, + "p99Ms": 27688.461538461543, + "ttfbP50Ms": 835.8610567514677, + "ttfbP95Ms": 4425.909090909093, + "id": "uni/glm-5.3-flash", + "count": 1501, + "attempts": 1506, + "failures": 0 + }, + { + "p50Ms": 3558.011049723757, + "p95Ms": 24139.534883720906, + "p99Ms": 57733.333333333314, + "ttfbP50Ms": 1298.5611510791366, + "ttfbP95Ms": 4954.347826086955, + "id": "minimax/MiniMax-M3.1-Flash", + "count": 836, + "attempts": 948, + "failures": 109 + }, + { + "p50Ms": 5848.484848484849, + "p95Ms": 152999.9999999997, + "p99Ms": 274028.5714285712, + "ttfbP50Ms": 236.8421052631579, + "ttfbP95Ms": 673.5294117647053, + "id": "uni/qwen3.8-flash-next", + "count": 706, + "attempts": 715, + "failures": 5 + }, + { + "p50Ms": 3476.923076923077, + "p95Ms": 25333.333333333314, + "p99Ms": 104800.00000000017, + "ttfbP50Ms": 95.65217391304348, + "ttfbP95Ms": 3574.999999999996, + "id": "uni/deepseek-v4.1-flash-1017", + "count": 176, + "attempts": 181, + "failures": 0 + }, + { + "p50Ms": 1636.3636363636363, + "p95Ms": 8666.666666666666, + "p99Ms": 13999.999999999985, + "ttfbP50Ms": 1636.3636363636363, + "ttfbP95Ms": 8666.666666666666, + "id": "minimax/MiniMax-M3", + "count": 140, + "attempts": 140, + "failures": 0 + }, + { + "p50Ms": 293.60465116279073, + "p95Ms": 7854.166666666664, + "p99Ms": 9570.833333333332, + "ttfbP50Ms": 224.21875, + "ttfbP95Ms": 7854.166666666664, + "id": "uni/qwen3.8-27b", + "count": 103, + "attempts": 104, + "failures": 0 + }, + { + "p50Ms": 6000, + "p95Ms": 59499.999999999956, + "p99Ms": 226199.99999999933, + "ttfbP50Ms": 1800, + "ttfbP95Ms": 13166.666666666653, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "count": 82, + "attempts": 82, + "failures": 0 + }, + { + "p50Ms": 650, + "p95Ms": 1433.3333333333323, + "p99Ms": 1886.6666666666654, + "ttfbP50Ms": 562.5, + "ttfbP95Ms": 1433.3333333333323, + "id": "gx10/Qwen3.8-27B", + "count": 34, + "attempts": 34, + "failures": 0 + }, + { + "p50Ms": 5000, + "p95Ms": 23999.999999999993, + "p99Ms": 28799.999999999996, + "ttfbP50Ms": 5000, + "ttfbP95Ms": 23999.999999999993, + "id": "gx10/Inkling-2-Mini", + "count": 16, + "attempts": 17, + "failures": 0 + }, + { + "p50Ms": 3000, + "p95Ms": 4800, + "p99Ms": 4960, + "ttfbP50Ms": 3000, + "ttfbP95Ms": 4800, + "id": "uni/ornith-1.5-397b", + "count": 4, + "attempts": 4, + "failures": 0 + }, + { + "p50Ms": 375, + "p95Ms": 487.5, + "p99Ms": 497.5, + "ttfbP50Ms": 375, + "ttfbP95Ms": 487.5, + "id": "uni/model-light", + "count": 1, + "attempts": 1, + "failures": 0 + } + ], + "span": 24, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-14.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-14.json new file mode 100644 index 0000000..971f694 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-14.json @@ -0,0 +1,160 @@ +{ + "kind": "provider", + "window": "day", + "rows": [ + { + "p50Ms": 4789.855072463768, + "p95Ms": 25160.714285714264, + "p99Ms": 53534.99999999991, + "ttfbP50Ms": 2666.163141993958, + "ttfbP95Ms": 8572.499999999996, + "id": "alibaba", + "count": 731, + "attempts": 937, + "failures": 366 + }, + { + "id": "amd", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 1500, + "p95Ms": 1949.9999999999998, + "p99Ms": 1990, + "ttfbP50Ms": 750, + "ttfbP95Ms": 974.9999999999999, + "id": "anthropic", + "count": 9, + "attempts": 10, + "failures": 0 + }, + { + "id": "cerebras", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "codex", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "copilot", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "deepseek", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 12060.344827586207, + "p95Ms": 282891.3043478261, + "p99Ms": 533451.9230769227, + "ttfbP50Ms": 2313.392857142857, + "ttfbP95Ms": 227058.1395348836, + "id": "gx10", + "count": 3007, + "attempts": 9885, + "failures": 7, + "timeouts": 7 + }, + { + "id": "macstudio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 1929.7619047619048, + "p95Ms": 27272.727272727272, + "p99Ms": 110571.4285714287, + "ttfbP50Ms": 1259.5190380761524, + "ttfbP95Ms": 9360.902255639097, + "id": "minimax", + "count": 3360, + "attempts": 3448, + "failures": 143 + }, + { + "id": "nvidia-nim", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "nvidia-retrieval", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 16640.625, + "p95Ms": 54000, + "p99Ms": 83999.99999999977, + "ttfbP50Ms": 16640.625, + "ttfbP95Ms": 54000, + "id": "openai", + "count": 180, + "attempts": 180, + "failures": 0 + }, + { + "id": "openai-audio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "parakeet-mlx", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "piper-tts", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 54.80342300172402, + "p95Ms": 2627.0786679187886, + "p99Ms": 24249.583666933624, + "ttfbP50Ms": 53.8392271396851, + "ttfbP95Ms": 196.3101804862982, + "id": "uni", + "count": 682809, + "attempts": 687163, + "failures": 389, + "timeouts": 5 + }, + { + "id": "xai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 175, + "p95Ms": 242.5, + "p99Ms": 248.5, + "ttfbP50Ms": 175, + "ttfbP95Ms": 242.5, + "id": "xiaomi", + "count": 1, + "attempts": 1, + "failures": 0 + } + ], + "span": 14, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-alibaba.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-alibaba.json new file mode 100644 index 0000000..6143420 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-alibaba.json @@ -0,0 +1,120 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261112", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261113", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261114", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 3652.542372881356, + "p95Ms": 9971.264367816091, + "p99Ms": 14958.333333333325, + "ttfbP50Ms": 2134.6153846153848, + "ttfbP95Ms": 4817.307692307692, + "id": "20261115", + "count": 310, + "attempts": 408, + "failures": 178 + }, + { + "id": "20261116", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261117", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 6604.166666666667, + "p95Ms": 32924.999999999985, + "p99Ms": 58185.00000000003, + "ttfbP50Ms": 3140, + "ttfbP95Ms": 9088.383838383837, + "id": "20261118", + "count": 421, + "attempts": 529, + "failures": 188 + }, + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 14, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-amd.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-amd.json new file mode 100644 index 0000000..5ffe942 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-amd.json @@ -0,0 +1,110 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261112", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261113", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261114", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261115", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261116", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261117", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261118", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 14, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json new file mode 100644 index 0000000..67ac80d --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-day_span-14_series-1_id-anthropic.json @@ -0,0 +1,115 @@ +{ + "kind": "provider", + "window": "day", + "rows": [], + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "points": [ + { + "id": "20261112", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261113", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261114", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261115", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 1500, + "p95Ms": 1949.9999999999998, + "p99Ms": 1990, + "ttfbP50Ms": 750, + "ttfbP95Ms": 974.9999999999999, + "id": "20261116", + "count": 9, + "attempts": 10, + "failures": 0 + }, + { + "id": "20261117", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261118", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261119", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261120", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261121", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261122", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261123", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261124", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "20261125", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 14, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24.json new file mode 100644 index 0000000..139118c --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24.json @@ -0,0 +1,139 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [ + { + "id": "alibaba", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "amd", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "anthropic", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "cerebras", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "codex", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "copilot", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "deepseek", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 3446.428571428571, + "p95Ms": 46749.99999999997, + "p99Ms": 180299.99999999886, + "ttfbP50Ms": 1348.4848484848487, + "ttfbP95Ms": 13349.999999999995, + "id": "gx10", + "count": 133, + "attempts": 823, + "failures": 0 + }, + { + "id": "macstudio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 3115.671641791045, + "p95Ms": 20982.95454545453, + "p99Ms": 54516.66666666673, + "ttfbP50Ms": 1249.1961414790997, + "ttfbP95Ms": 5816.176470588229, + "id": "minimax", + "count": 1029, + "attempts": 1088, + "failures": 109 + }, + { + "id": "nvidia-nim", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "nvidia-retrieval", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "openai-audio", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "parakeet-mlx", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "piper-tts", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "p50Ms": 55.144080213750115, + "p95Ms": 3938.135593220335, + "p99Ms": 28184.353741496685, + "ttfbP50Ms": 53.94165507356352, + "ttfbP95Ms": 358.80562552476727, + "id": "uni", + "count": 76776, + "attempts": 78619, + "failures": 23, + "timeouts": 1 + }, + { + "id": "xai", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "xiaomi", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 24, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-alibaba.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-alibaba.json new file mode 100644 index 0000000..c519d22 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-alibaba.json @@ -0,0 +1,180 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [], + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "points": [ + { + "id": "2026112402", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112403", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112404", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112405", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112406", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112407", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112408", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112409", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112410", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112411", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112412", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112413", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112414", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112415", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112416", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112417", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112418", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112419", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112420", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112421", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112422", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112423", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112500", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112501", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 24, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-amd.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-amd.json new file mode 100644 index 0000000..c519d22 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-amd.json @@ -0,0 +1,180 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [], + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "points": [ + { + "id": "2026112402", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112403", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112404", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112405", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112406", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112407", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112408", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112409", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112410", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112411", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112412", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112413", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112414", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112415", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112416", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112417", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112418", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112419", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112420", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112421", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112422", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112423", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112500", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112501", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 24, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json new file mode 100644 index 0000000..c519d22 --- /dev/null +++ b/webui/mock/fixtures/performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json @@ -0,0 +1,180 @@ +{ + "kind": "provider", + "window": "hour", + "rows": [], + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "points": [ + { + "id": "2026112402", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112403", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112404", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112405", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112406", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112407", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112408", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112409", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112410", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112411", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112412", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112413", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112414", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112415", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112416", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112417", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112418", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112419", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112420", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112421", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112422", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112423", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112500", + "count": 0, + "attempts": 0, + "failures": 0 + }, + { + "id": "2026112501", + "count": 0, + "attempts": 0, + "failures": 0 + } + ], + "span": 24, + "offset": 0, + "latencyEnabled": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/targets.json b/webui/mock/fixtures/targets.json new file mode 100644 index 0000000..8ea6c9f --- /dev/null +++ b/webui/mock/fixtures/targets.json @@ -0,0 +1,636 @@ +{ + "mcpServers": [ + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "brave-search", + "url": "http://mcp-brave-search.svc-x.internal:8080/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 82, + "requestsPerMonth": 10127 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "captcha-solver", + "url": "http://mcp-captcha-solver.svc-x.internal:8085/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 105, + "requestsPerMonth": 10960 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "fetch", + "url": "http://mcp-fetch.svc-x.internal:8088/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 82, + "requestsPerMonth": 10207 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "google-maps", + "url": "http://mcp-google-maps.svc-x.internal:8084/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 84, + "requestsPerMonth": 10007 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "lightpanda", + "url": "http://mcp-lightpanda.svc-x.internal:8081/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 106, + "requestsPerMonth": 10593 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "playwright", + "url": "http://203.0.113.2:3000/sse", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 10, + "requestsPerMonth": 2939 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "readitall", + "url": "http://mcp-readitall.svc-x.internal:8080/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 63, + "requestsPerMonth": 21530 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "time", + "url": "http://mcp-time.svc-x.internal:8083/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 67, + "requestsPerMonth": 5053 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "weather", + "url": "http://mcp-weather.svc-x.internal:8087/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 82, + "requestsPerMonth": 10019 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "web-search", + "url": "http://mcp-web-search.svc-x.internal:8092/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 92, + "requestsPerMonth": 11433 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "wikipedia", + "url": "http://mcp-wikipedia.svc-x.internal:8089/mcp", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 82, + "requestsPerMonth": 10204 + } + } + ], + "agents": [ + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "agentkit", + "url": "http://agentkit.svc-x.internal:8080", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "brainstorm", + "url": "http://agentkit.svc-x.internal:8080/brainstorm", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "budgeting-helper", + "url": "http://agentkit.svc-x.internal:8080/budgeting-helper", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "business-writer", + "url": "http://agentkit.svc-x.internal:8080/business-writer", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "car-advisor", + "url": "http://agentkit.svc-x.internal:8080/car-advisor", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "contract-review", + "url": "http://agentkit.svc-x.internal:8080/contract-review", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "creative", + "url": "http://agentkit.svc-x.internal:8080/creative", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "financial-research", + "url": "http://agentkit.svc-x.internal:8080/financial-research", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "fitness-coach", + "url": "http://agentkit.svc-x.internal:8080/fitness-coach", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "gift-finder", + "url": "http://agentkit.svc-x.internal:8080/gift-finder", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "health-researcher", + "url": "http://agentkit.svc-x.internal:8080/health-researcher", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "home-services-finder", + "url": "http://agentkit.svc-x.internal:8080/home-services-finder", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "job-search-assistant", + "url": "http://agentkit.svc-x.internal:8080/job-search-assistant", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "lead-research", + "url": "http://agentkit.svc-x.internal:8080/lead-research", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "local-events-finder", + "url": "http://agentkit.svc-x.internal:8080/local-events-finder", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "local-guide", + "url": "http://agentkit.svc-x.internal:8080/local-guide", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "market-research", + "url": "http://agentkit.svc-x.internal:8080/market-research", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "meal-prep-planner", + "url": "http://agentkit.svc-x.internal:8080/meal-prep-planner", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "meeting-prep", + "url": "http://agentkit.svc-x.internal:8080/meeting-prep", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "news-briefer", + "url": "http://agentkit.svc-x.internal:8080/news-briefer", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "productivity-planner", + "url": "http://agentkit.svc-x.internal:8080/productivity-planner", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 10 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "property-scout", + "url": "http://agentkit.svc-x.internal:8080/property-scout", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "recipe-finder", + "url": "http://agentkit.svc-x.internal:8080/recipe-finder", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "research", + "url": "http://agentkit.svc-x.internal:8080/research", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "researcher", + "url": "http://agentkit.svc-x.internal:8080/researcher", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "restaurant-scout", + "url": "http://agentkit.svc-x.internal:8080/restaurant-scout", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "science-tutor", + "url": "http://agentkit.svc-x.internal:8080/science-tutor", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "shopping-researcher", + "url": "http://agentkit.svc-x.internal:8080/shopping-researcher", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "study-helper", + "url": "http://agentkit.svc-x.internal:8080/study-helper", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "tech-support", + "url": "http://agentkit.svc-x.internal:8080/tech-support", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "translation", + "url": "http://agentkit.svc-x.internal:8080/translation", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "travel-planner", + "url": "http://agentkit.svc-x.internal:8080/travel-planner", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "weather-planner", + "url": "http://agentkit.svc-x.internal:8080/weather-planner", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 0 + } + }, + { + "health": { + "state": "unknown", + "consecutiveFailures": 0 + }, + "name": "writer", + "url": "http://agentkit.svc-x.internal:8080/writer", + "access": null, + "counters": { + "requestsPerMinute": 0, + "requestsPerDay": 0, + "requestsPerMonth": 764 + } + } + ] +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage.json b/webui/mock/fixtures/usage.json new file mode 100644 index 0000000..98142eb --- /dev/null +++ b/webui/mock/fixtures/usage.json @@ -0,0 +1,785 @@ +{ + "users": [ + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-01", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "admin", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 0, + "requestsPerDay": 7, + "tokensInPerDay": 415, + "tokensOutPerDay": 828, + "tokensInPerMonth": 214666, + "tokensOutPerMonth": 6936, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 1, + "lastSeen": 1795567561 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-02", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 2, + "requestsPerDay": 416, + "tokensInPerDay": 98794700, + "tokensOutPerDay": 225592, + "tokensInPerMonth": 519763881, + "tokensOutPerMonth": 1316687, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568436 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-03", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 3399385809, + "tokensOutPerMonth": 14188239, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 144, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795549310 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-04", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-05", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 72646, + "tokensOutPerMonth": 9639, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 33361, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1794776534 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-06", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 16933528, + "tokensOutPerMonth": 266424, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 17033, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795306239 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-07", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 82, + "tokensInPerDay": 5221, + "tokensOutPerDay": 832, + "tokensInPerMonth": 10907, + "tokensOutPerMonth": 9177, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 11, + "exemptRequestsPerMonth": 3, + "lastSeen": 1795567550 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-08", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 15101892, + "tokensOutPerMonth": 79428, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795496380 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-09", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 150, + "tokensPerMinute": 2000000 + }, + "limitSources": { + "pacing": "user", + "requestsPerMinute": "user", + "tokensPerMinute": "user" + }, + "kind": "user", + "id": "internal", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 0, + "requestsPerDay": 1522, + "tokensInPerDay": 42425, + "tokensOutPerDay": 7990, + "tokensInPerMonth": 862584569, + "tokensOutPerMonth": 17270936, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 14129214, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 382, + "lastSeen": 1795568458 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-10", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-11", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "user-12", + "groupName": "projects", + "groups": [ + "projects" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "user-13", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 0, + "requestsPerDay": 63, + "tokensInPerDay": 53522, + "tokensOutPerDay": 722, + "tokensInPerMonth": 932678599, + "tokensOutPerMonth": 2867617, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568216 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-14", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-15", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "user-16", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 2, + "requestsPerDay": 104, + "tokensInPerDay": 2918020, + "tokensOutPerDay": 36027, + "tokensInPerMonth": 2918020, + "tokensOutPerMonth": 36027, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568418 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-17", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "service-01", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 0, + "requestsPerDay": 2, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 16429603, + "tokensOutPerMonth": 892873, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 18015, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795566799 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-18", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 10251128, + "tokensOutPerMonth": 149746, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795102898 + }, + { + "limits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "limitSources": { + "pacing": "memberLimits:friends", + "requestsPerDay": "memberLimits:friends", + "requestsPerMinute": "memberLimits:friends", + "tokensPerMinute": "memberLimits:friends" + }, + "kind": "user", + "id": "user-19", + "groupName": "friends", + "groups": [ + "friends" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + }, + { + "kind": "user", + "id": "user-20", + "groupName": "home", + "groups": [ + "home" + ], + "requestsPerMinute": 0, + "requestsPerDay": 6, + "tokensInPerDay": 1218, + "tokensOutPerDay": 48, + "tokensInPerMonth": 1452531, + "tokensOutPerMonth": 779359, + "costPerDayMicroUsd": 425, + "costPerMonthMicroUsd": 1371293, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568370 + } + ], + "groups": [ + { + "memberLimits": { + "pacing": { + "maxDelay": "10s", + "startPct": 80, + "XmaxDelay": 10000000000 + }, + "requestsPerMinute": 30, + "requestsPerDay": 3000, + "tokensPerMinute": 1200000 + }, + "kind": "group", + "id": "friends", + "providers": [ + "minimax", + "uni" + ], + "models": [ + "minimax/MiniMax-M3.1-Flash", + "uni/*", + "smartrouter/uni" + ], + "requestsPerMinute": 2, + "requestsPerDay": 487, + "tokensInPerDay": 98799921, + "tokensOutPerDay": 226424, + "tokensInPerMonth": 3961519791, + "tokensOutPerMonth": 16019340, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 50538, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568436 + }, + { + "kind": "group", + "id": "home", + "requestsPerMinute": 2, + "requestsPerDay": 1704, + "tokensInPerDay": 3015600, + "tokensOutPerDay": 45615, + "tokensInPerMonth": 1816277988, + "tokensOutPerMonth": 21853748, + "costPerDayMicroUsd": 425, + "costPerMonthMicroUsd": 15518522, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0, + "lastSeen": 1795568458 + }, + { + "kind": "group", + "id": "projects", + "providers": [ + "minimax", + "uni", + "gx10" + ], + "requestsPerMinute": 0, + "requestsPerDay": 0, + "tokensInPerDay": 0, + "tokensOutPerDay": 0, + "tokensInPerMonth": 0, + "tokensOutPerMonth": 0, + "costPerDayMicroUsd": 0, + "costPerMonthMicroUsd": 0, + "rejectionsPerDay": 0, + "exemptRequestsPerMonth": 0 + } + ], + "total": { + "kind": "total", + "id": "all", + "requestsPerMinute": 4, + "requestsPerDay": 2191, + "tokensInPerDay": 101815521, + "tokensOutPerDay": 272039, + "tokensInPerMonth": 5777797779, + "tokensOutPerMonth": 37873088, + "costPerDayMicroUsd": 425, + "costPerMonthMicroUsd": 15569060, + "rejectionsPerDay": 11, + "exemptRequestsPerMonth": 0 + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-100_detail-1.json new file mode 100644 index 0000000..42884d5 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "cost", + "window": "day", + "models": [ + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 9130865 + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 6407815 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5678 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 4010 + }, + { + "requests": 618825, + "tokensIn": 119630493, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 19681, + "tokensIn": 2822068427, + "tokensOut": 11624206, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 14, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-5.json new file mode 100644 index 0000000..08e9516 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-14_limit-5.json @@ -0,0 +1,24 @@ +{ + "metric": "cost", + "window": "day", + "models": [ + { + "id": "openai/gpt-5.5", + "value": 9130865 + }, + { + "id": "minimax/MiniMax-M3", + "value": 6407815 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-day_span-30_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-100_detail-1.json new file mode 100644 index 0000000..dd67c99 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-100_detail-1.json @@ -0,0 +1,143 @@ +{ + "metric": "cost", + "window": "hour", + "models": [ + { + "requests": 140, + "tokensIn": 44446, + "tokensOut": 7295, + "costMicroUsd": 22117, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 22117 + }, + { + "requests": 68810, + "tokensIn": 14022990, + "tokensOut": 0, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 4661, + "tokensIn": 579917441, + "tokensOut": 2924159, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1501, + "tokensIn": 218431739, + "tokensOut": 569962, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 836, + "tokensIn": 10550024, + "tokensOut": 484975, + "costMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 706, + "tokensIn": 94149449, + "tokensOut": 474967, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 137, + "tokensIn": 3200649, + "tokensOut": 47277, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 82, + "tokensIn": 9074269, + "tokensOut": 71733, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 34, + "tokensIn": 2353, + "tokensOut": 1037, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 244, + "tokensOut": 940, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1, + "tokensIn": 54, + "tokensOut": 40, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 24, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-5.json new file mode 100644 index 0000000..8bbb6f7 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-24_limit-5.json @@ -0,0 +1,12 @@ +{ + "metric": "cost", + "window": "hour", + "models": [ + { + "id": "minimax/MiniMax-M3", + "value": 22117 + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-hour_span-48_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-100_detail-1.json new file mode 100644 index 0000000..fecf73b --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 9130865 + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 6407815 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5678 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 4010 + }, + { + "requests": 618833, + "tokensIn": 119630953, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23127, + "tokensIn": 1278155988, + "tokensOut": 17960295, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 19688, + "tokensIn": 2822661942, + "tokensOut": 11626905, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 0 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 0, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 12, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-5.json b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-5.json new file mode 100644 index 0000000..03e1acd --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-cost_window-month_span-12_limit-5.json @@ -0,0 +1,24 @@ +{ + "metric": "cost", + "window": "month", + "models": [ + { + "id": "openai/gpt-5.5", + "value": 9130865 + }, + { + "id": "minimax/MiniMax-M3", + "value": 6407815 + }, + { + "id": "minimax/MiniMax-M2.5-highspeed", + "value": 5678 + }, + { + "id": "minimax/MiniMax-M2.5", + "value": 4010 + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-day_span-14_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-day_span-14_limit-100_detail-1.json new file mode 100644 index 0000000..0265f9a --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-day_span-14_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "req", + "window": "day", + "models": [ + { + "requests": 618825, + "tokensIn": 119630493, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 618825 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 23125, + "free": true + }, + { + "requests": 19680, + "tokensIn": 2821988139, + "tokensOut": 11623893, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 19680 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 4665 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 2610, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1924 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1440 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 1273 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 571 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 258, + "free": true + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 170 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 28 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 24 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 22 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 9 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 7 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 5, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 4, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 3, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 14, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-day_span-30_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-day_span-30_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-day_span-30_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-hour_span-24_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-hour_span-24_limit-100_detail-1.json new file mode 100644 index 0000000..09415b5 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-hour_span-24_limit-100_detail-1.json @@ -0,0 +1,143 @@ +{ + "metric": "req", + "window": "hour", + "models": [ + { + "requests": 68810, + "tokensIn": 14022990, + "tokensOut": 0, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 68810 + }, + { + "requests": 4661, + "tokensIn": 579917441, + "tokensOut": 2924159, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 4661, + "free": true + }, + { + "requests": 1501, + "tokensIn": 218431739, + "tokensOut": 569962, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1501 + }, + { + "requests": 836, + "tokensIn": 10550024, + "tokensOut": 484975, + "costMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 836 + }, + { + "requests": 706, + "tokensIn": 94149449, + "tokensOut": 474967, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 706 + }, + { + "requests": 140, + "tokensIn": 44446, + "tokensOut": 7295, + "costMicroUsd": 22117, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 140 + }, + { + "requests": 137, + "tokensIn": 3200649, + "tokensOut": 47277, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 137 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 82, + "tokensIn": 9074269, + "tokensOut": 71733, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 82, + "free": true + }, + { + "requests": 34, + "tokensIn": 2353, + "tokensOut": 1037, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 34, + "free": true + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 4, + "tokensIn": 244, + "tokensOut": 940, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 1, + "tokensIn": 54, + "tokensOut": 40, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 24, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-hour_span-48_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-hour_span-48_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-hour_span-48_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-req_window-month_span-12_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-req_window-month_span-12_limit-100_detail-1.json new file mode 100644 index 0000000..b8191fd --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-req_window-month_span-12_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "req", + "window": "month", + "models": [ + { + "requests": 618832, + "tokensIn": 119630749, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 618832 + }, + { + "requests": 23126, + "tokensIn": 1277836817, + "tokensOut": 17958706, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 23126, + "free": true + }, + { + "requests": 19688, + "tokensIn": 2822661942, + "tokensOut": 11626905, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 19688 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 4665 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 2610, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1924 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1440 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 1273 + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 571 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 258, + "free": true + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 170 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 103 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 28 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 24 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 23 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 22 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 16, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 9 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 7 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 5, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 4, + "free": true + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 4 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 3 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 3, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 1 + } + ], + "span": 12, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-14_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-14_limit-100_detail-1.json new file mode 100644 index 0000000..6b5fce3 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-14_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokin", + "window": "day", + "models": [ + { + "requests": 19681, + "tokensIn": 2822068427, + "tokensOut": 11624206, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 2822068427 + }, + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 1277518318, + "free": true + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 692792587 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 374075798, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 200558194 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 157645322 + }, + { + "requests": 618825, + "tokensIn": 119630493, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 119630493 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 30544309, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 16486171 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 12504315 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 310255 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 55059 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5858 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 5693 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 5654 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 5463 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 2369 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 319 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 293 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 233 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 201, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 93, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 75 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 69, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 45 + } + ], + "span": 14, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-30_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-30_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-day_span-30_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-24_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-24_limit-100_detail-1.json new file mode 100644 index 0000000..ca7d407 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-24_limit-100_detail-1.json @@ -0,0 +1,143 @@ +{ + "metric": "tokin", + "window": "hour", + "models": [ + { + "requests": 4661, + "tokensIn": 579917441, + "tokensOut": 2924159, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 579917441, + "free": true + }, + { + "requests": 1501, + "tokensIn": 218431739, + "tokensOut": 569962, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 218431739 + }, + { + "requests": 706, + "tokensIn": 94149449, + "tokensOut": 474967, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 94149449 + }, + { + "requests": 68811, + "tokensIn": 14023035, + "tokensOut": 0, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 14023035 + }, + { + "requests": 836, + "tokensIn": 10550024, + "tokensOut": 484975, + "costMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 10550024 + }, + { + "requests": 82, + "tokensIn": 9074269, + "tokensOut": 71733, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 9074269, + "free": true + }, + { + "requests": 138, + "tokensIn": 3279022, + "tokensOut": 47658, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 3279022 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 140, + "tokensIn": 44446, + "tokensOut": 7295, + "costMicroUsd": 22117, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 44446 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 34, + "tokensIn": 2353, + "tokensOut": 1037, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 2353, + "free": true + }, + { + "requests": 4, + "tokensIn": 244, + "tokensOut": 940, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 244 + }, + { + "requests": 1, + "tokensIn": 54, + "tokensOut": 40, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 54 + } + ], + "span": 24, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-48_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-48_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-hour_span-48_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-12_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-12_limit-100_detail-1.json new file mode 100644 index 0000000..4f69b43 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokin_window-month_span-12_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokin", + "window": "month", + "models": [ + { + "requests": 19689, + "tokensIn": 2822749099, + "tokensOut": 11627208, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 2822749099 + }, + { + "requests": 23127, + "tokensIn": 1278155988, + "tokensOut": 17960295, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 1278155988, + "free": true + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 692792587 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 374075798, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 200558194 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 157645322 + }, + { + "requests": 618833, + "tokensIn": 119630953, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 119630953 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 30544309, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 16486171 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 12504315 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 310255 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 75501, + "free": true + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 55059 + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 7444 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 5858 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 5693 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 5654 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 5463 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 2369 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 319 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 293 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 233 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 201, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 93, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 75 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 69, + "free": true + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 45 + } + ], + "span": 12, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-14_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-14_limit-100_detail-1.json new file mode 100644 index 0000000..4c09ee3 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-14_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokout", + "window": "day", + "models": [ + { + "requests": 23125, + "tokensIn": 1277518318, + "tokensOut": 17958051, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 17958051, + "free": true + }, + { + "requests": 19682, + "tokensIn": 2822150436, + "tokensOut": 11624684, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 11624684 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1690554 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 1598505, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1218035 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1191596 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 617094 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 594775, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 542205 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 252653 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 4444 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 2006 + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 1977 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 1974 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 1633 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 1557 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 1173 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 905 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 767 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 312, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 263, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 216 + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 207 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 71, + "free": true + }, + { + "requests": 618825, + "tokensIn": 119630493, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 14, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-30_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-30_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-day_span-30_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-24_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-24_limit-100_detail-1.json new file mode 100644 index 0000000..5ad95ec --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-24_limit-100_detail-1.json @@ -0,0 +1,143 @@ +{ + "metric": "tokout", + "window": "hour", + "models": [ + { + "requests": 4661, + "tokensIn": 579917441, + "tokensOut": 2924159, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 2924159, + "free": true + }, + { + "requests": 1501, + "tokensIn": 218431739, + "tokensOut": 569962, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 569962 + }, + { + "requests": 836, + "tokensIn": 10550024, + "tokensOut": 484975, + "costMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 484975 + }, + { + "requests": 706, + "tokensIn": 94149449, + "tokensOut": 474967, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 474967 + }, + { + "requests": 82, + "tokensIn": 9074269, + "tokensOut": 71733, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 71733, + "free": true + }, + { + "requests": 139, + "tokensIn": 3357814, + "tokensOut": 48011, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 48011 + }, + { + "requests": 140, + "tokensIn": 44446, + "tokensOut": 7295, + "costMicroUsd": 22117, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 7295 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 34, + "tokensIn": 2353, + "tokensOut": 1037, + "costMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 1037, + "free": true + }, + { + "requests": 4, + "tokensIn": 244, + "tokensOut": 940, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 940 + }, + { + "requests": 1, + "tokensIn": 54, + "tokensOut": 40, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 40 + }, + { + "requests": 68813, + "tokensIn": 14023121, + "tokensOut": 0, + "costMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 24, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-48_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-48_limit-100_detail-1.json new file mode 100644 index 0000000..1469928 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-hour_span-48_limit-100_detail-1.json @@ -0,0 +1,7 @@ +{ + "error": { + "code": "400", + "message": "range too large; narrow span or filter", + "type": "invalid_request_error" + } +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-12_limit-100_detail-1.json b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-12_limit-100_detail-1.json new file mode 100644 index 0000000..6b73e27 --- /dev/null +++ b/webui/mock/fixtures/usage_models__metric-tokout_window-month_span-12_limit-100_detail-1.json @@ -0,0 +1,340 @@ +{ + "metric": "tokout", + "window": "month", + "models": [ + { + "requests": 23127, + "tokensIn": 1278155988, + "tokensOut": 17960295, + "costMicroUsd": 0, + "cacheHits": 3470, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4-flash-0731", + "priceSource": "free", + "value": 17960295, + "free": true + }, + { + "requests": 19690, + "tokensIn": 2822836573, + "tokensOut": 11627383, + "costMicroUsd": 0, + "cacheHits": 9, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 11627383 + }, + { + "requests": 4665, + "tokensIn": 692792587, + "tokensOut": 1690554, + "costMicroUsd": 0, + "cacheHits": 4, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/glm-5.3-flash", + "priceSource": "unpriced", + "value": 1690554 + }, + { + "requests": 2610, + "tokensIn": 374075798, + "tokensOut": 1598505, + "costMicroUsd": 0, + "cacheHits": 5, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3", + "priceSource": "free", + "value": 1598505, + "free": true + }, + { + "requests": 1924, + "tokensIn": 16486171, + "tokensOut": 1218035, + "costMicroUsd": 6407815, + "cacheHits": 15, + "cacheSavedMicroUsd": 20629, + "r402": 0, + "id": "minimax/MiniMax-M3", + "priceSource": "litellm", + "value": 1218035 + }, + { + "requests": 1440, + "tokensIn": 157645322, + "tokensOut": 1191596, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-flash-next", + "priceSource": "unpriced", + "value": 1191596 + }, + { + "requests": 1273, + "tokensIn": 12504315, + "tokensOut": 617094, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M3.1-Flash", + "priceSource": "unpriced", + "value": 617094 + }, + { + "requests": 258, + "tokensIn": 30544309, + "tokensOut": 594775, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Qwen3.8-27B", + "priceSource": "free", + "value": 594775, + "free": true + }, + { + "requests": 571, + "tokensIn": 200558194, + "tokensOut": 542205, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "alibaba/deepseek-v4.1-flash-1017", + "priceSource": "unpriced", + "value": 542205 + }, + { + "requests": 170, + "tokensIn": 310255, + "tokensOut": 252653, + "costMicroUsd": 9130865, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "openai/gpt-5.5", + "priceSource": "litellm", + "value": 252653 + }, + { + "requests": 28, + "tokensIn": 2369, + "tokensOut": 4444, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-fast", + "priceSource": "unpriced", + "value": 4444 + }, + { + "requests": 23, + "tokensIn": 5693, + "tokensOut": 2006, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7-highspeed", + "priceSource": "unpriced", + "value": 2006 + }, + { + "requests": 9, + "tokensIn": 55059, + "tokensOut": 1977, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "anthropic/claude-haiku-5-5", + "priceSource": "unpriced", + "value": 1977 + }, + { + "requests": 22, + "tokensIn": 5463, + "tokensOut": 1974, + "costMicroUsd": 4010, + "cacheHits": 1, + "cacheSavedMicroUsd": 63, + "r402": 0, + "id": "minimax/MiniMax-M2.5", + "priceSource": "litellm", + "value": 1974 + }, + { + "requests": 24, + "tokensIn": 5858, + "tokensOut": 1633, + "costMicroUsd": 5678, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.5-highspeed", + "priceSource": "litellm", + "value": 1633 + }, + { + "requests": 23, + "tokensIn": 5654, + "tokensOut": 1557, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "minimax/MiniMax-M2.7", + "priceSource": "unpriced", + "value": 1557 + }, + { + "requests": 16, + "tokensIn": 75501, + "tokensOut": 1544, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/Inkling-2-Mini", + "priceSource": "free", + "value": 1544, + "free": true + }, + { + "requests": 103, + "tokensIn": 7444, + "tokensOut": 1374, + "costMicroUsd": 0, + "cacheHits": 2, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b", + "priceSource": "unpriced", + "value": 1374 + }, + { + "requests": 7, + "tokensIn": 319, + "tokensOut": 1173, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-397b", + "priceSource": "unpriced", + "value": 1173 + }, + { + "requests": 3, + "tokensIn": 233, + "tokensOut": 905, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-light", + "priceSource": "unpriced", + "value": 905 + }, + { + "requests": 4, + "tokensIn": 293, + "tokensOut": 767, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.8-27b-uncensored", + "priceSource": "unpriced", + "value": 767 + }, + { + "requests": 3, + "tokensIn": 201, + "tokensOut": 312, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/qwen3.6-27b", + "priceSource": "free", + "value": 312, + "free": true + }, + { + "requests": 4, + "tokensIn": 93, + "tokensOut": 263, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-397b", + "priceSource": "free", + "value": 263, + "free": true + }, + { + "requests": 3, + "tokensIn": 75, + "tokensOut": 216, + "costMicroUsd": 0, + "cacheHits": 1, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/ornith-1.5-35b", + "priceSource": "unpriced", + "value": 216 + }, + { + "requests": 1, + "tokensIn": 45, + "tokensOut": 207, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/model-heavy", + "priceSource": "unpriced", + "value": 207 + }, + { + "requests": 5, + "tokensIn": 69, + "tokensOut": 71, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "gx10/current", + "priceSource": "free", + "value": 71, + "free": true + }, + { + "requests": 618833, + "tokensIn": 119630953, + "tokensOut": 0, + "costMicroUsd": 0, + "cacheHits": 0, + "cacheSavedMicroUsd": 0, + "r402": 0, + "id": "uni/text-embedding-multilingual-e5-base", + "priceSource": "unpriced", + "value": 0 + } + ], + "span": 12, + "offset": 0, + "detail": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__13scopes-3597a8_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__13scopes-3597a8_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..18f9409 --- /dev/null +++ b/webui/mock/fixtures/usage_series__13scopes-3597a8_metric-tokin_window-hour_span-24.json @@ -0,0 +1,412 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 11539, + 3062024, + 9187184, + 16290422, + 80194, + 6424664, + 1421960, + 5118244, + 365088, + 156770, + 152058, + 307075, + 23579077, + 3369320, + 12437274, + 7508106, + 67739089, + 167793280, + 36150023, + 42017660, + 17841559, + 59152171, + 96602995, + 11446303 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 382425, + 0, + 0, + 11920645, + 2369321, + 4160097, + 0, + 343862, + 0, + 0, + 0, + 5159189, + 88084172, + 16735984, + 37154677, + 2928857, + 23413981, + 11794467, + 13947372, + 42, + 1669, + 316, + 34663, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 3309735, + 0, + 1140958, + 8096170, + 27665021, + 3618018, + 8584903, + 0, + 0, + 7015336, + 22261144, + 12458164, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 610742, + 68869, + 229190, + 180009, + 179032, + 214904, + 402860, + 964795, + 1312931, + 993125, + 1051641, + 1330375, + 1828520, + 1149796, + 618382, + 684988, + 597581, + 376987, + 452200, + 421739, + 220566, + 75262, + 56428, + 4335 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 5579928, + 0, + 0, + 0, + 0, + 0, + 325139, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 656457, + 0, + 658381, + 2564375, + 765744, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 8937185, + 0, + 0, + 0, + 0, + 0, + 0, + 135937, + 0, + 0, + 0, + 126, + 126, + 159, + 572, + 164, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 1651, + 0, + 0, + 0, + 0, + 28264, + 0, + 0, + 0, + 0, + 0, + 152, + 456, + 1888, + 0, + 0, + 32, + 152, + 113, + 319, + 2468678, + 3745978 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75119, + 0, + 0, + 0, + 46, + 46, + 91, + 91, + 108, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 1218, + 10861, + 1218, + 1218, + 8007, + 1218, + 1218, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 219, + 716, + 53, + 0, + 0, + 466, + 466, + 165, + 272, + 5087, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 436, + 106, + 0, + 0, + 461, + 461, + 165, + 330, + 394, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 92, + 152, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 54, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__13scopes-5535b8_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__13scopes-5535b8_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..7b0cbf5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__13scopes-5535b8_metric-req_window-hour_span-24.json @@ -0,0 +1,412 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 2103, + 796, + 1469, + 1643, + 1858, + 2040, + 3657, + 3995, + 4155, + 3535, + 3695, + 4133, + 6240, + 3957, + 4342, + 3615, + 3204, + 2820, + 4238, + 3095, + 1990, + 1197, + 1007, + 82 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 6, + 26, + 454, + 101, + 18, + 209, + 59, + 140, + 40, + 39, + 34, + 223, + 542, + 57, + 93, + 50, + 617, + 690, + 293, + 189, + 70, + 288, + 413, + 34 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 2, + 0, + 0, + 68, + 18, + 33, + 0, + 8, + 0, + 0, + 0, + 52, + 554, + 102, + 185, + 31, + 182, + 81, + 149, + 1, + 2, + 3, + 30, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 755, + 0, + 0, + 0, + 0, + 0, + 7, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16, + 0, + 13, + 40, + 5, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 31, + 0, + 16, + 86, + 169, + 25, + 65, + 0, + 0, + 33, + 192, + 89, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 7, + 6, + 6, + 7, + 6, + 6, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 0, + 0, + 2, + 6, + 8, + 0, + 0, + 1, + 2, + 1, + 5, + 92, + 43 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4, + 11, + 1, + 0, + 0, + 4, + 4, + 3, + 5, + 71, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 55, + 0, + 0, + 0, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 2, + 2, + 3, + 7, + 4, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 8, + 2, + 0, + 0, + 4, + 4, + 3, + 6, + 7, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 1, + 1, + 1, + 1, + 2, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 3, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__13scopes-bf0de0_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__13scopes-bf0de0_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..309afb8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__13scopes-bf0de0_metric-cost_window-hour_span-24.json @@ -0,0 +1,412 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 449, + 461, + 440, + 425, + 441, + 455, + 469, + 476, + 487, + 455, + 439, + 448, + 459, + 447, + 466, + 439, + 478, + 10029, + 464, + 428, + 2601, + 436, + 425, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__13scopes-c73732_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__13scopes-c73732_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..3b64a40 --- /dev/null +++ b/webui/mock/fixtures/usage_series__13scopes-c73732_metric-tokout_window-hour_span-24.json @@ -0,0 +1,412 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 10100, + 22721, + 213742, + 79639, + 26347, + 110909, + 44650, + 134573, + 84835, + 101376, + 84832, + 67643, + 232335, + 97786, + 153528, + 100580, + 376154, + 353074, + 108173, + 128964, + 9011, + 148548, + 231249, + 16564 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 393, + 0, + 0, + 40308, + 7978, + 11234, + 0, + 389, + 0, + 0, + 0, + 21664, + 216103, + 43708, + 86375, + 12075, + 49600, + 31828, + 47242, + 200, + 81, + 118, + 666, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 262679, + 0, + 0, + 0, + 0, + 0, + 20396, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23738, + 0, + 18691, + 123424, + 36047, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 20552, + 0, + 18649, + 48690, + 112408, + 11137, + 47412, + 0, + 0, + 18837, + 140717, + 56565, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 67225, + 0, + 0, + 0, + 0, + 0, + 0, + 1017, + 0, + 0, + 0, + 440, + 440, + 640, + 1319, + 652, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 25, + 0, + 0, + 0, + 0, + 5494, + 0, + 0, + 0, + 0, + 0, + 428, + 1284, + 378, + 0, + 0, + 20, + 428, + 300, + 1028, + 33122, + 18577 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 69, + 79, + 61, + 48, + 62, + 73, + 86, + 92, + 100, + 74, + 60, + 67, + 78, + 67, + 83, + 60, + 93, + 5641, + 81, + 51, + 164, + 58, + 48, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 860, + 0, + 0, + 0, + 200, + 200, + 74, + 80, + 130, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 129, + 316, + 5, + 0, + 0, + 180, + 158, + 104, + 170, + 312, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 214, + 10, + 0, + 0, + 146, + 162, + 95, + 196, + 214, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 300, + 640, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 40, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-14.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-14.json new file mode 100644 index 0000000..268bad1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-day_span-14.json @@ -0,0 +1,386 @@ +{ + "metric": "attempt", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 408, + 0, + 0, + 529, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 10, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 568, + 639, + 776, + 813, + 680, + 655, + 1227, + 635, + 1058, + 1979, + 830, + 25 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 139, + 158, + 154, + 150, + 174, + 159, + 149, + 293, + 233, + 300, + 1533, + 6 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 180, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 58214, + 45518, + 73268, + 65206, + 68209, + 64606, + 60664, + 47189, + 44335, + 77035, + 81053, + 1864 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-24.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-24.json new file mode 100644 index 0000000..358b552 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-attempt_window-hour_span-24.json @@ -0,0 +1,586 @@ +{ + "metric": "attempt", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 14, + 17, + 21, + 23, + 22, + 22, + 26, + 97, + 39, + 39, + 47, + 40, + 45, + 42, + 64, + 36, + 33, + 30, + 32, + 36, + 36, + 37, + 25, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 873, + 6, + 6, + 6, + 6, + 6, + 13, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 22, + 6, + 19, + 48, + 10, + 6, + 7, + 6, + 6, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 2170, + 898, + 2007, + 1909, + 2050, + 2508, + 3811, + 4371, + 4329, + 3736, + 3886, + 4745, + 7583, + 4273, + 4782, + 3844, + 4148, + 3742, + 4791, + 3415, + 2191, + 1580, + 1658, + 191 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-14.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-14.json new file mode 100644 index 0000000..87e126e --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-day_span-14.json @@ -0,0 +1,386 @@ +{ + "metric": "fail", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 178, + 0, + 0, + 188, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 3, + 5, + 1, + 1, + 1, + 0, + 0, + 0, + 132, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 16, + 23, + 0, + 15, + 24, + 79, + 10, + 52, + 67, + 80, + 23, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-24.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-24.json new file mode 100644 index 0000000..ee40960 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fail_window-hour_span-24.json @@ -0,0 +1,586 @@ +{ + "metric": "fail", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 109, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 22, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-14.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-14.json new file mode 100644 index 0000000..af5259f --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-day_span-14.json @@ -0,0 +1,386 @@ +{ + "metric": "fover", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-24.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-24.json new file mode 100644 index 0000000..bc30ccf --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-fover_window-hour_span-24.json @@ -0,0 +1,586 @@ +{ + "metric": "fover", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-14.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-14.json new file mode 100644 index 0000000..ccecc5d --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-day_span-14.json @@ -0,0 +1,386 @@ +{ + "metric": "timeout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 4, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 0, + 1, + 1, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-24.json new file mode 100644 index 0000000..171bc74 --- /dev/null +++ b/webui/mock/fixtures/usage_series__19scopes-059b3d_metric-timeout_window-hour_span-24.json @@ -0,0 +1,586 @@ +{ + "metric": "timeout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "provider:alibaba", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:amd", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:anthropic", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:cerebras", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:codex", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:copilot", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:deepseek", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:gx10", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:macstudio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:minimax", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-nim", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:nvidia-retrieval", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:openai-audio", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:parakeet-mlx", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:piper-tts", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:uni", + "points": [ + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xai", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "provider:xiaomi", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__24scopes-1e7dbc_metric-req_window-day_span-7.json b/webui/mock/fixtures/usage_series__24scopes-1e7dbc_metric-req_window-day_span-7.json new file mode 100644 index 0000000..5eaeeee --- /dev/null +++ b/webui/mock/fixtures/usage_series__24scopes-1e7dbc_metric-req_window-day_span-7.json @@ -0,0 +1,306 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 58385, + 54925, + 44688, + 34862, + 66516, + 71699, + 1090 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 1084, + 974, + 735, + 6796, + 4581, + 4410, + 451 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 3194, + 1656, + 133, + 1485, + 2928, + 95, + 138 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 116, + 1323, + 26, + 23, + 253, + 1483, + 30 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 1, + 558, + 159, + 512, + 1228, + 78, + 4 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 1, + 1, + 25, + 5, + 0, + 1241, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 2, + 14, + 51, + 4, + 435, + 715, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 156, + 147, + 172, + 227, + 299, + 152, + 6 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 32, + 71 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 1, + 3, + 27, + 7 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 23, + 1, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 19, + 1, + 4, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 23, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 22, + 0, + 1, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 22, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 14, + 2 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 3, + 4, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 2, + 0, + 0, + 2, + 1, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 4, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 4, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 2, + 1, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 3, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 3, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 1, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__24scopes-3df778_metric-tokout_window-day_span-7.json b/webui/mock/fixtures/usage_series__24scopes-3df778_metric-tokout_window-day_span-7.json new file mode 100644 index 0000000..52b04e4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__24scopes-3df778_metric-tokout_window-day_span-7.json @@ -0,0 +1,306 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 1419004, + 1239202, + 863542, + 3185488, + 2717914, + 2786501, + 249546 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 2062961, + 1005759, + 94155, + 831127, + 1599820, + 11983, + 52988 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 2, + 367968, + 113050, + 307909, + 686520, + 71081, + 652 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 55221, + 677977, + 6631, + 62296, + 132828, + 573714, + 666 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 4839, + 87520, + 190602, + 1573, + 201121, + 475991, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 92614, + 36614, + 44129, + 250941, + 281043, + 14463, + 48 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 12, + 5, + 5787, + 3225, + 0, + 608065, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 17, + 1750, + 823, + 214 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 1616, + 0, + 942, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 1938, + 0, + 68, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 1974, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 1630, + 3, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 1557, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1414, + 130 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 1062, + 312 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 233, + 940, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 865, + 40, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 767, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 312, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 263, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 216, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 207, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 30, + 0, + 0, + 6, + 35, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__24scopes-afbd0c_metric-tokin_window-day_span-7.json b/webui/mock/fixtures/usage_series__24scopes-afbd0c_metric-tokin_window-day_span-7.json new file mode 100644 index 0000000..f5bbce4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__24scopes-afbd0c_metric-tokin_window-day_span-7.json @@ -0,0 +1,306 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 438341985, + 216312785, + 136980, + 204356902, + 425538151, + 64120, + 6538152 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 51536869, + 39821449, + 17923828, + 283339155, + 174025158, + 481751565, + 109094214 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 15216103, + 190699908, + 1665, + 280306, + 35457076, + 219935384, + 34663 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 6, + 90867362, + 23415596, + 59933436, + 185182204, + 9074105, + 164 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 1902, + 39196, + 82519, + 1281, + 63253412, + 94170142, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 11381037, + 13512399, + 4922315, + 3520950, + 16160289, + 15878771, + 60803 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 147939, + 62829, + 89340, + 2133480, + 12891716, + 230021, + 1218 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 208, + 44001, + 6415, + 1230, + 0, + 12452461, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 75393, + 108 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 2357, + 5087 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 5655, + 203, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 5463, + 0, + 230, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 5654, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 5463, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 59, + 260, + 1959, + 394 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 1215, + 25, + 209, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 75, + 244, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 293, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 179, + 54, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 201, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 93, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 75, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 10, + 0, + 0, + 24, + 35, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 45, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__24scopes-e59eb3_metric-cost_window-day_span-7.json b/webui/mock/fixtures/usage_series__24scopes-e59eb3_metric-cost_window-day_span-7.json new file mode 100644 index 0000000..cdfd4c1 --- /dev/null +++ b/webui/mock/fixtures/usage_series__24scopes-e59eb3_metric-cost_window-day_span-7.json @@ -0,0 +1,306 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 155547, + 62813, + 79784, + 941207, + 4204802, + 86394, + 425 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 5610, + 68, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 4010, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..7fd0976 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-day_span-14.json @@ -0,0 +1,538 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 642260, + 658866, + 1313990, + 1370222, + 1526423, + 1419004, + 1239202, + 863542, + 3185488, + 2717914, + 2786501, + 250316 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 167618, + 1523276, + 1232922, + 1164162, + 1891053, + 2062961, + 1005759, + 94155, + 831127, + 1599820, + 11983, + 53604 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 723, + 166516, + 12577, + 350, + 1055, + 55221, + 677977, + 6631, + 62296, + 132828, + 573714, + 666 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 25506, + 25817, + 0, + 0, + 2, + 367968, + 113050, + 307909, + 686520, + 71081, + 652 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 229828, + 70091, + 67931, + 17585, + 112748, + 92614, + 36614, + 44129, + 250941, + 281043, + 14463, + 48 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 30293, + 117859, + 33148, + 20491, + 28159, + 4839, + 87520, + 190602, + 1573, + 201121, + 475991, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 12, + 5, + 5787, + 3225, + 0, + 608065, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 393781, + 198190, + 0, + 0, + 0, + 0, + 0, + 17, + 1750, + 823, + 214 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 120216, + 0, + 0, + 421989, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 252653, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 943, + 943, + 0, + 0, + 0, + 0, + 0, + 1616, + 0, + 942, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1938, + 0, + 68, + 0, + 0 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 1977, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1974, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1630, + 3, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1557, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1414, + 130 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1062, + 312 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 233, + 940, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 865, + 40, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 767, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 312, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 263, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 216, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 207, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 30, + 0, + 0, + 6, + 35, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..d1db7de --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-8e9979_metric-tokout_window-month_span-12.json @@ -0,0 +1,482 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 17974971 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11639456 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1690554 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1598505 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1218035 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1191596 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 617094 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 594775 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 542205 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252653 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2006 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1977 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1974 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1633 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1557 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1544 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1374 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1173 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 905 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 767 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 312 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 263 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 216 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 207 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 71 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..168b9c3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-day_span-14.json @@ -0,0 +1,538 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 9130865, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 397894, + 132933, + 112790, + 37125, + 196101, + 155547, + 62813, + 79784, + 941207, + 4204802, + 86394, + 425 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5610, + 68, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4010, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..56decf7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-9f5267_metric-cost_window-month_span-12.json @@ -0,0 +1,482 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 9130865 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 6407815 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5678 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4010 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-day_span-14.json new file mode 100644 index 0000000..f93f35b --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-day_span-14.json @@ -0,0 +1,538 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 56340, + 39706, + 67969, + 60755, + 61943, + 58385, + 54925, + 44688, + 34862, + 66516, + 71699, + 1093 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 538, + 582, + 884, + 1022, + 1096, + 1084, + 974, + 735, + 6796, + 4581, + 4410, + 453 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 285, + 2644, + 2364, + 1594, + 3197, + 3194, + 1656, + 133, + 1485, + 2928, + 95, + 140 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 5, + 1281, + 111, + 3, + 11, + 116, + 1323, + 26, + 23, + 253, + 1483, + 30 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 39, + 31, + 0, + 0, + 1, + 558, + 159, + 512, + 1228, + 78, + 4 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 139, + 158, + 151, + 144, + 173, + 156, + 147, + 172, + 227, + 299, + 152, + 6 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 9, + 139, + 64, + 3, + 4, + 2, + 14, + 51, + 4, + 435, + 715, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 25, + 5, + 0, + 1241, + 0 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 230, + 0, + 0, + 341, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 150, + 70, + 0, + 0, + 0, + 0, + 0, + 1, + 3, + 27, + 7 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 170, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 32, + 71 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 2, + 2, + 0, + 0, + 0, + 0, + 0, + 19, + 1, + 4, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23, + 1, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 22, + 0, + 1, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 22, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14, + 2 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 9, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 4, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2, + 0, + 0, + 2, + 1, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2, + 1, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-12.json new file mode 100644 index 0000000..56450e3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-b4d65c_metric-req_window-month_span-12.json @@ -0,0 +1,482 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 618887 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23159 + ] + }, + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 19716 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4665 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2610 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1924 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1440 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1273 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 571 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 258 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 170 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 103 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 28 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 24 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 23 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 22 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 9 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 7 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..a45d92a --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-day_span-14.json @@ -0,0 +1,538 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 25365334, + 363527185, + 502369702, + 190796679, + 451773768, + 438341985, + 216312785, + 136980, + 204356902, + 425538151, + 64120, + 6540454 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 5936645, + 7904370, + 23918161, + 45653092, + 45955366, + 51536869, + 39821449, + 17923828, + 283339155, + 174025158, + 481751565, + 110144940 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 8321, + 214714427, + 15994014, + 119048, + 331672, + 15216103, + 190699908, + 1665, + 280306, + 35457076, + 219935384, + 34663 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 3140632, + 2462293, + 0, + 0, + 6, + 90867362, + 23415596, + 59933436, + 185182204, + 9074105, + 164 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 47332416, + 0, + 0, + 153225778, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 8618, + 48267, + 28261, + 6401, + 5323, + 1902, + 39196, + 82519, + 1281, + 63253412, + 94170142, + 0 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 6711423, + 4634999, + 17131807, + 11890695, + 13827136, + 11381037, + 13512399, + 4922315, + 3520950, + 16160289, + 15878771, + 60892 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 19290708, + 11250929, + 0, + 0, + 0, + 0, + 0, + 59, + 260, + 1959, + 394 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 406920, + 162650, + 104138, + 53313, + 202607, + 147939, + 62829, + 89340, + 2133480, + 12891716, + 230021, + 1218 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 208, + 44001, + 6415, + 1230, + 0, + 12452461, + 0 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 310255, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75393, + 108 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 55059, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2357, + 5087 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5655, + 203, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5463, + 0, + 230, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5654, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5463, + 0, + 0, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 460, + 460, + 0, + 0, + 0, + 0, + 0, + 1215, + 25, + 209, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75, + 244, + 0 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 293, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 179, + 54, + 0 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 201, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 93, + 0, + 0 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75, + 0, + 0 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 10, + 0, + 0, + 24, + 35, + 0, + 0 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 45, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..7268954 --- /dev/null +++ b/webui/mock/fixtures/usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-12.json @@ -0,0 +1,482 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "model:uni/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2825232700 + ] + }, + { + "scope": "model:uni/deepseek-v4-flash-0731", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1288966938 + ] + }, + { + "scope": "model:uni/glm-5.3-flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 692792587 + ] + }, + { + "scope": "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 374075798 + ] + }, + { + "scope": "model:alibaba/deepseek-v4.1-flash-1017", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 200558194 + ] + }, + { + "scope": "model:uni/qwen3.8-flash-next", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 157645322 + ] + }, + { + "scope": "model:uni/text-embedding-multilingual-e5-base", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 119632925 + ] + }, + { + "scope": "model:gx10/Qwen3.8-27B", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 30544309 + ] + }, + { + "scope": "model:minimax/MiniMax-M3", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16486171 + ] + }, + { + "scope": "model:minimax/MiniMax-M3.1-Flash", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 12504315 + ] + }, + { + "scope": "model:openai/gpt-5.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 310255 + ] + }, + { + "scope": "model:gx10/Inkling-2-Mini", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75501 + ] + }, + { + "scope": "model:anthropic/claude-haiku-5-5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 55059 + ] + }, + { + "scope": "model:uni/qwen3.8-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 7444 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5858 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7-highspeed", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5693 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.7", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5654 + ] + }, + { + "scope": "model:minimax/MiniMax-M2.5", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5463 + ] + }, + { + "scope": "model:uni/model-fast", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2369 + ] + }, + { + "scope": "model:uni/ornith-1.5-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 319 + ] + }, + { + "scope": "model:uni/qwen3.8-27b-uncensored", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 293 + ] + }, + { + "scope": "model:uni/model-light", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 233 + ] + }, + { + "scope": "model:uni/qwen3.6-27b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 201 + ] + }, + { + "scope": "model:uni/ornith-397b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 93 + ] + }, + { + "scope": "model:uni/ornith-1.5-35b", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 75 + ] + }, + { + "scope": "model:gx10/current", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 69 + ] + }, + { + "scope": "model:uni/model-heavy", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 45 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..1dad8e2 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-day_span-14.json @@ -0,0 +1,63 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 397894, + 99572, + 112790, + 37125, + 9334245, + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 33361, + 0, + 0, + 0, + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..4a9b9c5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-cost_window-month_span-12.json @@ -0,0 +1,57 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 15518522 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 50538 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-14.json new file mode 100644 index 0000000..a2f3c71 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-day_span-14.json @@ -0,0 +1,63 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 63138, + 50371, + 79726, + 71694, + 74276, + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1802 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 268, + 1888, + 1060, + 1478, + 3150, + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 520 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..f702bc6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-req_window-hour_span-24.json @@ -0,0 +1,93 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 4178, + 1622, + 2867, + 2598, + 2726, + 3183, + 4708, + 5217, + 5121, + 4546, + 4656, + 5291, + 7749, + 5007, + 5336, + 4657, + 4192, + 3847, + 5155, + 4044, + 2892, + 2058, + 1647, + 103 + ] + }, + { + "scope": "group:friends", + "points": [ + 7, + 31, + 1, + 84, + 104, + 235, + 25, + 119, + 0, + 0, + 33, + 252, + 647, + 116, + 268, + 55, + 776, + 743, + 441, + 161, + 78, + 297, + 480, + 34 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..ef0c483 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-day_span-14.json @@ -0,0 +1,63 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 950312, + 1917029, + 2191866, + 1547980, + 2337472, + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62885 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 167121, + 1210771, + 741325, + 1077569, + 1947403, + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 243243 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-hour_span-48.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-hour_span-48.json new file mode 100644 index 0000000..280d2b6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-hour_span-48.json @@ -0,0 +1,165 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401", + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 47437, + 198399, + 82811, + 6416, + 362972, + 105225, + 52092, + 211421, + 73793, + 115144, + 424392, + 113293, + 172338, + 80171, + 177660, + 104076, + 108325, + 124250, + 116645, + 49115, + 16005, + 29388, + 27187, + 203722, + 272827, + 22800, + 213803, + 79687, + 26548, + 103865, + 80332, + 158288, + 84935, + 104866, + 84892, + 67710, + 232413, + 97853, + 90422, + 58163, + 89614, + 171866, + 57728, + 63531, + 3349, + 18066, + 42403, + 19296 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 7438, + 0, + 19980, + 35544, + 67731, + 108191, + 101610, + 183654, + 173501, + 207448, + 170571, + 169636, + 241880, + 175038, + 169201, + 111544, + 112670, + 139124, + 173263, + 183039, + 60338, + 0, + 4418, + 454, + 20552, + 25, + 58957, + 56668, + 145740, + 11137, + 110290, + 0, + 0, + 18837, + 162381, + 272668, + 44975, + 177593, + 54950, + 358924, + 342101, + 134801, + 67072, + 7420, + 134091, + 224176, + 16971 + ] + } + ], + "unknown": [], + "span": 48, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..702ed94 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-818406_metric-tokout_window-month_span-12.json @@ -0,0 +1,57 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 21872034 + ] + }, + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16037402 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..e336a87 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-14.json @@ -0,0 +1,63 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 26302931, + 265190411, + 145170318, + 205747306, + 466067994, + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 110144543 + ] + }, + { + "scope": "group:home", + "points": [ + 0, + 0, + 17869407, + 401906776, + 438040293, + 52376767, + 209426744, + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6619166 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..b075cfd --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-24.json @@ -0,0 +1,93 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 382715, + 3309735, + 1651, + 13061603, + 10465491, + 36339699, + 3618018, + 17519941, + 0, + 0, + 7015336, + 27420333, + 100542336, + 16736756, + 49483534, + 10333509, + 91037849, + 179485345, + 50041563, + 38912751, + 17834536, + 59134572, + 96602598, + 11446303 + ] + }, + { + "scope": "group:home", + "points": [ + 6203191, + 3132111, + 9417592, + 16471649, + 261412, + 2335366, + 2361286, + 6630009, + 1679237, + 1155400, + 1204917, + 1638668, + 25408815, + 4520334, + 1597301, + 791760, + 1379144, + 3054625, + 1276125, + 3529159, + 238050, + 96131, + 2547390, + 3745978 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..f0f13c9 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-12.json @@ -0,0 +1,57 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3973920753 + ] + }, + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1819990209 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..af6b3d6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__2scopes-eb4cb7_metric-tokout_window-hour_span-24.json @@ -0,0 +1,93 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 454, + 20552, + 25, + 58957, + 56668, + 145740, + 11137, + 110290, + 0, + 0, + 18837, + 162381, + 272668, + 44975, + 177593, + 54950, + 358924, + 342101, + 134801, + 67072, + 7420, + 134091, + 224176, + 16564 + ] + }, + { + "scope": "group:home", + "points": [ + 272827, + 22800, + 213803, + 79687, + 26548, + 103865, + 80332, + 158288, + 84935, + 104866, + 84892, + 67710, + 232413, + 97853, + 90422, + 58163, + 89614, + 171866, + 57728, + 63531, + 3349, + 18066, + 42403, + 18577 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..a1459b8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 33361, + 0, + 0, + 0, + 76, + 0, + 16000, + 1101, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..4fdb857 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..7f7b196 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 50538 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-14.json new file mode 100644 index 0000000..c9ea3c6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 268, + 1888, + 1060, + 1478, + 3150, + 3528, + 3545, + 655, + 2226, + 5016, + 4485, + 520 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..b850134 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 7, + 31, + 1, + 84, + 104, + 235, + 25, + 119, + 0, + 0, + 33, + 252, + 647, + 116, + 268, + 55, + 776, + 743, + 441, + 161, + 78, + 297, + 480, + 34 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-12.json new file mode 100644 index 0000000..5c52a35 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..19c5d8e --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 26302931, + 265190411, + 145170318, + 205747306, + 466067994, + 469804065, + 500557712, + 38597383, + 278980439, + 732085730, + 734215581, + 110144543 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..f7f460d --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 382715, + 3309735, + 1651, + 13061603, + 10465491, + 36339699, + 3618018, + 17519941, + 0, + 0, + 7015336, + 27420333, + 100542336, + 16736756, + 49483534, + 10333509, + 91037849, + 179485345, + 50041563, + 38912751, + 17834536, + 59134572, + 96602598, + 11446303 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..1851e31 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokin_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 3973920753 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..2428f52 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 167121, + 1210771, + 741325, + 1077569, + 1947403, + 2242345, + 1951003, + 303608, + 1270579, + 2697138, + 2184054, + 243243 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..c5c3546 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 454, + 20552, + 25, + 58957, + 56668, + 145740, + 11137, + 110290, + 0, + 0, + 18837, + 162381, + 272668, + 44975, + 177593, + 54950, + 358924, + 342101, + 134801, + 67072, + 7420, + 134091, + 224176, + 16564 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..ce0c3d8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-friends_metric-tokout_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:friends", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 16037402 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..2280c90 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 397894, + 99572, + 112790, + 37125, + 9334245, + 155471, + 62813, + 73467, + 953524, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..6379e41 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 449, + 461, + 440, + 425, + 441, + 455, + 469, + 476, + 487, + 455, + 439, + 448, + 459, + 447, + 466, + 439, + 478, + 10029, + 464, + 428, + 2601, + 436, + 425, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..89ce6d5 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 15518522 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-14.json new file mode 100644 index 0000000..b8e318a --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 63138, + 50371, + 79726, + 71694, + 74276, + 69387, + 66035, + 54136, + 63036, + 93452, + 98373, + 1802 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..242ef14 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 4178, + 1622, + 2867, + 2598, + 2726, + 3183, + 4708, + 5217, + 5121, + 4546, + 4656, + 5291, + 7749, + 5007, + 5336, + 4657, + 4192, + 3847, + 5155, + 4044, + 2892, + 2058, + 1647, + 103 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-12.json new file mode 100644 index 0000000..2094894 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..0c72ef2 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 17869407, + 401906776, + 438040293, + 52376767, + 209426744, + 56298029, + 59808741, + 16133014, + 280336358, + 181041900, + 100024359, + 6619166 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..8845bfb --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 6203191, + 3132111, + 9417592, + 16471649, + 261412, + 2335366, + 2361286, + 6630009, + 1679237, + 1155400, + 1204917, + 1638668, + 25408815, + 4520334, + 1597301, + 791760, + 1379144, + 3054625, + 1276125, + 3529159, + 238050, + 96131, + 2547390, + 3745978 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..ee80642 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokin_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1819990209 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..0c83767 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 950312, + 1917029, + 2191866, + 1547980, + 2337472, + 1438261, + 1542890, + 1071084, + 3425207, + 2971565, + 2414467, + 62885 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..9e8449f --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 272827, + 22800, + 213803, + 79687, + 26548, + 103865, + 80332, + 158288, + 84935, + 104866, + 84892, + 67710, + 232413, + 97853, + 90422, + 58163, + 89614, + 171866, + 57728, + 63531, + 3349, + 18066, + 42403, + 18577 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..c0d927d --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-home_metric-tokout_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:home", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 21872034 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..143f9a0 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..7314e87 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..24ab802 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json new file mode 100644 index 0000000..a1ffa1b --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..76da3a0 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json new file mode 100644 index 0000000..96031c3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..d4a790a --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..a5d9e98 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..6901eba --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokin_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..f93943b --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..4abc535 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..1107db8 --- /dev/null +++ b/webui/mock/fixtures/usage_series__group-projects_metric-tokout_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "group:projects", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..8165f53 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 397894, + 132933, + 112790, + 37125, + 9334245, + 155547, + 62813, + 89467, + 954625, + 4204802, + 86394, + 425 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14_offset-14.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14_offset-14.json new file mode 100644 index 0000000..a567978 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-day_span-14_offset-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 14 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..9362c95 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 449, + 461, + 440, + 425, + 441, + 455, + 469, + 476, + 487, + 455, + 439, + 448, + 459, + 447, + 466, + 439, + 478, + 10029, + 464, + 428, + 2601, + 436, + 425, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24_offset-24.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24_offset-24.json new file mode 100644 index 0000000..4f38b06 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-hour_span-24_offset-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401" + ], + "series": [ + { + "scope": "total", + "points": [ + 173025, + 470, + 447, + 479, + 59683, + 447, + 434, + 320853, + 462156, + 438, + 1261059, + 577111, + 456, + 79075, + 496946, + 370379, + 438, + 464, + 508, + 454, + 460, + 454, + 459, + 64243 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 24 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..b4e364b --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 15569060 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3_offset-3.json b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3_offset-3.json new file mode 100644 index 0000000..9391520 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-cost_window-month_span-3_offset-3.json @@ -0,0 +1,22 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 3 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-14.json new file mode 100644 index 0000000..8bc368f --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-r402_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "r402", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-24.json new file mode 100644 index 0000000..6afb824 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-r402_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "r402", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-14.json new file mode 100644 index 0000000..f968688 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-rej_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "rej", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-24.json new file mode 100644 index 0000000..f66068a --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-rej_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "rej", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14.json new file mode 100644 index 0000000..8cf710a --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 63406, + 52259, + 80786, + 73172, + 77426, + 72915, + 69580, + 54791, + 65262, + 98468, + 102858, + 2322 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14_offset-14.json b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14_offset-14.json new file mode 100644 index 0000000..40f91a0 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-day_span-14_offset-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 14 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..58927cf --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 4185, + 1653, + 2868, + 2682, + 2830, + 3418, + 4733, + 5336, + 5121, + 4546, + 4689, + 5543, + 8396, + 5123, + 5604, + 4712, + 4968, + 4590, + 5596, + 4205, + 2970, + 2355, + 2127, + 137 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24_offset-24.json b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24_offset-24.json new file mode 100644 index 0000000..42a3e60 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-hour_span-24_offset-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401" + ], + "series": [ + { + "scope": "total", + "points": [ + 2388, + 2060, + 1844, + 1462, + 2650, + 3140, + 3836, + 5078, + 5336, + 6289, + 6753, + 5703, + 7740, + 5846, + 4813, + 4848, + 4823, + 4472, + 5405, + 4353, + 2926, + 2885, + 2847, + 3888 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 24 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-12.json new file mode 100644 index 0000000..a38056e --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3_offset-3.json b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3_offset-3.json new file mode 100644 index 0000000..18b03c4 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-req_window-month_span-3_offset-3.json @@ -0,0 +1,22 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 3 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14.json new file mode 100644 index 0000000..a71d0ee --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 44172338, + 667097187, + 583210611, + 258124073, + 675494738, + 526102094, + 560366453, + 54730397, + 559316797, + 913127630, + 834239940, + 116763709 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14_offset-14.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14_offset-14.json new file mode 100644 index 0000000..31f03c6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-day_span-14_offset-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokin", + "window": "day", + "buckets": [ + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 14 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24.json new file mode 100644 index 0000000..5820333 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 6585906, + 6441846, + 9419243, + 29533252, + 10726903, + 38675065, + 5979304, + 24149950, + 1679237, + 1155400, + 8220253, + 29059001, + 125951151, + 21257090, + 51080835, + 11125269, + 92416993, + 182539970, + 51317688, + 42441910, + 18072586, + 59230703, + 99149988, + 14847145 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24_offset-24.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24_offset-24.json new file mode 100644 index 0000000..260f2e7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-hour_span-24_offset-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokin", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401" + ], + "series": [ + { + "scope": "total", + "points": [ + 1016860, + 9432932, + 12270281, + 1269842, + 40373167, + 25673152, + 26292052, + 34081890, + 47123625, + 62599082, + 76755062, + 52169045, + 69178396, + 80118131, + 58514360, + 51201705, + 32959701, + 31308347, + 40149164, + 43733636, + 52580872, + 21005854, + 674245, + 6506140 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 24 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-12.json new file mode 100644 index 0000000..084d4e2 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 5793910962 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3_offset-3.json b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3_offset-3.json new file mode 100644 index 0000000..25fce7b --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokin_window-month_span-3_offset-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokin", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 3 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14.json new file mode 100644 index 0000000..de7a787 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 1117433, + 3127800, + 2933191, + 2625549, + 4284875, + 3680606, + 3493893, + 1374692, + 4695786, + 5668703, + 4598521, + 306128 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14_offset-14.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14_offset-14.json new file mode 100644 index 0000000..00d59b7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-day_span-14_offset-14.json @@ -0,0 +1,44 @@ +{ + "metric": "tokout", + "window": "day", + "buckets": [ + "20261029", + "20261030", + "20261031", + "20261101", + "20261102", + "20261103", + "20261104", + "20261105", + "20261106", + "20261107", + "20261108", + "20261109", + "20261110", + "20261111" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 14 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24.json new file mode 100644 index 0000000..e289aa3 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "total", + "points": [ + 273281, + 43352, + 213828, + 138644, + 83216, + 249605, + 91469, + 268578, + 84935, + 104866, + 103729, + 230091, + 505081, + 142828, + 268015, + 113113, + 448538, + 513967, + 192529, + 130603, + 10769, + 152157, + 266579, + 35141 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24_offset-24.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24_offset-24.json new file mode 100644 index 0000000..f80a2c6 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-hour_span-24_offset-24.json @@ -0,0 +1,64 @@ +{ + "metric": "tokout", + "window": "hour", + "buckets": [ + "2026112302", + "2026112303", + "2026112304", + "2026112305", + "2026112306", + "2026112307", + "2026112308", + "2026112309", + "2026112310", + "2026112311", + "2026112312", + "2026112313", + "2026112314", + "2026112315", + "2026112316", + "2026112317", + "2026112318", + "2026112319", + "2026112320", + "2026112321", + "2026112322", + "2026112323", + "2026112400", + "2026112401" + ], + "series": [ + { + "scope": "total", + "points": [ + 47437, + 205837, + 82811, + 26396, + 398516, + 172956, + 160283, + 313031, + 257447, + 288645, + 631840, + 283864, + 341974, + 322051, + 352698, + 273277, + 219869, + 236920, + 255769, + 222378, + 199044, + 89726, + 27187, + 208140 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 24 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-12.json new file mode 100644 index 0000000..3a3b8d0 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 37909436 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3_offset-3.json b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3_offset-3.json new file mode 100644 index 0000000..bb21ff7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__total_metric-tokout_window-month_span-3_offset-3.json @@ -0,0 +1,22 @@ +{ + "metric": "tokout", + "window": "month", + "buckets": [ + "202606", + "202607", + "202608" + ], + "series": [ + { + "scope": "total", + "points": [ + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 3, + "offset": 3 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..bab88bd --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..6a79ace --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..cb94349 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-14.json new file mode 100644 index 0000000..ca51d79 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 81, + 7 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..b6cf7a2 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 40, + 0, + 0, + 0, + 9, + 8, + 8, + 16, + 7, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-12.json new file mode 100644 index 0000000..b2d2d7f --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-admin_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:admin", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..07748fe --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 9187446, + 0, + 0, + 0, + 707542, + 4170396, + 63830, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..4e7d6ea --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..0f4086a --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 14129214 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-14.json new file mode 100644 index 0000000..aef8223 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 62236, + 46606, + 77097, + 70710, + 72851, + 68396, + 65088, + 52878, + 62002, + 92311, + 97133, + 1587 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..5a7d6b7 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 4148, + 1614, + 2859, + 2590, + 2702, + 3000, + 4522, + 4988, + 5105, + 4513, + 4640, + 5272, + 7718, + 4991, + 5278, + 4556, + 4176, + 3809, + 5132, + 4022, + 2868, + 2034, + 1473, + 58 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-12.json new file mode 100644 index 0000000..814784d --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-internal_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:internal", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json new file mode 100644 index 0000000..c6bf65e --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "cost", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 4270, + 0, + 0, + 2194, + 9406, + 2145, + 0 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json new file mode 100644 index 0000000..be29218 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "cost", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2145, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json new file mode 100644 index 0000000..8a4a10c --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-cost_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "cost", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 18015 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json new file mode 100644 index 0000000..2b4f39d --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-day_span-14.json @@ -0,0 +1,44 @@ +{ + "metric": "req", + "window": "day", + "buckets": [ + "20261112", + "20261113", + "20261114", + "20261115", + "20261116", + "20261117", + "20261118", + "20261119", + "20261120", + "20261121", + "20261122", + "20261123", + "20261124", + "20261125" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 0, + 0, + 726, + 798, + 736, + 720, + 712, + 733, + 725, + 738, + 762, + 775, + 727, + 3 + ] + } + ], + "unknown": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json new file mode 100644 index 0000000..aeb77d9 --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-hour_span-24.json @@ -0,0 +1,64 @@ +{ + "metric": "req", + "window": "hour", + "buckets": [ + "2026112402", + "2026112403", + "2026112404", + "2026112405", + "2026112406", + "2026112407", + "2026112408", + "2026112409", + "2026112410", + "2026112411", + "2026112412", + "2026112413", + "2026112414", + "2026112415", + "2026112416", + "2026112417", + "2026112418", + "2026112419", + "2026112420", + "2026112421", + "2026112422", + "2026112423", + "2026112500", + "2026112501" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 2, + 2, + 2, + 2, + 18, + 177, + 180, + 205, + 10, + 10, + 10, + 13, + 8, + 10, + 10, + 10, + 10, + 17, + 8, + 8, + 9, + 2, + 2, + 1 + ] + } + ], + "unknown": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json new file mode 100644 index 0000000..e039e4c --- /dev/null +++ b/webui/mock/fixtures/usage_series__user-service-01_metric-req_window-month_span-12.json @@ -0,0 +1,40 @@ +{ + "metric": "req", + "window": "month", + "buckets": [ + "202512", + "202601", + "202602", + "202603", + "202604", + "202605", + "202606", + "202607", + "202608", + "202609", + "202610", + "202611" + ], + "series": [ + { + "scope": "user:service-01", + "points": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + ], + "unknown": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-14.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-14.json new file mode 100644 index 0000000..142de83 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-day_span-14.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522 + }, + "id": "home" + }, + { + "values": { + "cost": 50538 + }, + "id": "friends" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-24.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-24.json new file mode 100644 index 0000000..75cb955 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-hour_span-24.json @@ -0,0 +1,17 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 22117 + }, + "id": "home" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-12.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-12.json new file mode 100644 index 0000000..ff57b71 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-cost_window-month_span-12.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522 + }, + "id": "home" + }, + { + "values": { + "cost": 50538 + }, + "id": "friends" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-14.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-14.json new file mode 100644 index 0000000..24bc965 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-14.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 15518522, + "req": 785354, + "tokin": 1817962220, + "tokout": 21861263 + }, + "id": "home" + }, + { + "values": { + "cost": 50538, + "req": 27792, + "tokin": 3963750594, + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-24.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-24.json new file mode 100644 index 0000000..9924d5d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-24.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 22117, + "req": 93379, + "tokin": 98897316, + "tokout": 2236121 + }, + "id": "home" + }, + { + "values": { + "cost": 0, + "req": 4966, + "tokin": 833386822, + "tokout": 2409866 + }, + "id": "friends" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-12.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-12.json new file mode 100644 index 0000000..bd0e521 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-12.json @@ -0,0 +1,32 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 50538, + "req": 0, + "tokin": 3963750594, + "tokout": 16023565 + }, + "id": "friends" + }, + { + "values": { + "cost": 15518522, + "req": 0, + "tokin": 1818055134, + "tokout": 21861586 + }, + "id": "home" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-14.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-14.json new file mode 100644 index 0000000..5e05343 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-day_span-14.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 785354 + }, + "id": "home" + }, + { + "values": { + "req": 27792 + }, + "id": "friends" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-24.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-24.json new file mode 100644 index 0000000..2322b7f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-hour_span-24.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 93379 + }, + "id": "home" + }, + { + "values": { + "req": 4966 + }, + "id": "friends" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-12.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-12.json new file mode 100644 index 0000000..2633719 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-req_window-month_span-12.json @@ -0,0 +1,10 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-14.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-14.json new file mode 100644 index 0000000..6206ce1 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-day_span-14.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 3963750594 + }, + "id": "friends" + }, + { + "values": { + "tokin": 1817869670 + }, + "id": "home" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-24.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-24.json new file mode 100644 index 0000000..8c82991 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-hour_span-24.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 833386822 + }, + "id": "friends" + }, + { + "values": { + "tokin": 98897316 + }, + "id": "home" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-12.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-12.json new file mode 100644 index 0000000..5e728ff --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokin_window-month_span-12.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokin" + ], + "rows": [ + { + "values": { + "tokin": 3963750594 + }, + "id": "friends" + }, + { + "values": { + "tokin": 1818055134 + }, + "id": "home" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-14.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-14.json new file mode 100644 index 0000000..9a20b6f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-day_span-14.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "day", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 21860979 + }, + "id": "home" + }, + { + "values": { + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-24.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-24.json new file mode 100644 index 0000000..13865fa --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-hour_span-24.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "hour", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 2409866 + }, + "id": "friends" + }, + { + "values": { + "tokout": 2236121 + }, + "id": "home" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-12.json b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-12.json new file mode 100644 index 0000000..66619b0 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-group_metrics-tokout_window-month_span-12.json @@ -0,0 +1,23 @@ +{ + "kind": "group", + "window": "month", + "metrics": [ + "tokout" + ], + "rows": [ + { + "values": { + "tokout": 21861586 + }, + "id": "home" + }, + { + "values": { + "tokout": 16023565 + }, + "id": "friends" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-14_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-14_limit-10.json new file mode 100644 index 0000000..69ed8ff --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-14_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 20939 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 10377 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 9809 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 9660 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 9610 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 9601 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 9544 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 9460 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 9444 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4152 + }, + "id": "mcp/time/internal" + } + ], + "span": 14, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~agentkit.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~agentkit.json new file mode 100644 index 0000000..f124d8f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~agentkit.json @@ -0,0 +1,10 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~brainstorm.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~brainstorm.json new file mode 100644 index 0000000..f124d8f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~brainstorm.json @@ -0,0 +1,10 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json new file mode 100644 index 0000000..f124d8f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json @@ -0,0 +1,10 @@ +{ + "kind": "targetcaller", + "window": "day", + "metrics": [ + "req" + ], + "rows": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-12_limit-10.json b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-12_limit-10.json new file mode 100644 index 0000000..a225247 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-targetcaller_metrics-req_window-month_span-12_limit-10.json @@ -0,0 +1,72 @@ +{ + "kind": "targetcaller", + "window": "month", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 20939 + }, + "id": "mcp/readitall/internal" + }, + { + "values": { + "req": 10377 + }, + "id": "mcp/captcha-solver/internal" + }, + { + "values": { + "req": 9809 + }, + "id": "mcp/web-search/internal" + }, + { + "values": { + "req": 9660 + }, + "id": "mcp/fetch/internal" + }, + { + "values": { + "req": 9610 + }, + "id": "mcp/wikipedia/internal" + }, + { + "values": { + "req": 9601 + }, + "id": "mcp/lightpanda/internal" + }, + { + "values": { + "req": 9544 + }, + "id": "mcp/brave-search/internal" + }, + { + "values": { + "req": 9460 + }, + "id": "mcp/google-maps/internal" + }, + { + "values": { + "req": 9444 + }, + "id": "mcp/weather/internal" + }, + { + "values": { + "req": 4152 + }, + "id": "mcp/time/internal" + } + ], + "span": 12, + "offset": 0, + "truncated": true +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-14_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-14_offset-0_limit-1000.json new file mode 100644 index 0000000..6e99385 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-day_span-14_offset-0_limit-1000.json @@ -0,0 +1,47 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214 + }, + "id": "internal" + }, + { + "values": { + "cost": 1371293 + }, + "id": "user-20" + }, + { + "values": { + "cost": 33361 + }, + "id": "user-05" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-24_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-24_offset-0_limit-1000.json new file mode 100644 index 0000000..a351c40 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-hour_span-24_offset-0_limit-1000.json @@ -0,0 +1,23 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 19972 + }, + "id": "user-20" + }, + { + "values": { + "cost": 2145 + }, + "id": "service-01" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-12_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-12_offset-0_limit-1000.json new file mode 100644 index 0000000..a8dc909 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-cost_window-month_span-12_offset-0_limit-1000.json @@ -0,0 +1,47 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214 + }, + "id": "internal" + }, + { + "values": { + "cost": 1371293 + }, + "id": "user-20" + }, + { + "values": { + "cost": 33361 + }, + "id": "user-05" + }, + { + "values": { + "cost": 18015 + }, + "id": "service-01" + }, + { + "values": { + "cost": 17033 + }, + "id": "user-06" + }, + { + "values": { + "cost": 144 + }, + "id": "user-03" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-friends.json new file mode 100644 index 0000000..16ba481 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-friends.json @@ -0,0 +1,77 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 144, + "req": 23868, + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "cost": 0, + "req": 2693, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 17033, + "req": 538, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 341, + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 182, + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "cost": 0, + "req": 174, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 33361, + "req": 7, + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-home.json new file mode 100644 index 0000000..9e18fdf --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 14129214, + "req": 768837, + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "cost": 18015, + "req": 8154, + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "cost": 0, + "req": 6502, + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "cost": 1371293, + "req": 1650, + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "cost": 0, + "req": 123, + "tokin": 4602252, + "tokout": 43542 + }, + "id": "user-16" + }, + { + "values": { + "cost": 0, + "req": 88, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-projects.json new file mode 100644 index 0000000..ff44b15 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-friends.json new file mode 100644 index 0000000..36f403e --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-friends.json @@ -0,0 +1,50 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 2693, + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "cost": 0, + "req": 2109, + "tokin": 311700755, + "tokout": 1080171 + }, + "id": "user-03" + }, + { + "values": { + "cost": 0, + "req": 174, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 1651, + "tokout": 25 + }, + "id": "user-08" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-home.json new file mode 100644 index 0000000..b2cc65e --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 92066, + "tokin": 92345401, + "tokout": 2089318 + }, + "id": "internal" + }, + { + "values": { + "cost": 2145, + "req": 725, + "tokin": 1449191, + "tokout": 78214 + }, + "id": "service-01" + }, + { + "values": { + "cost": 0, + "req": 239, + "tokin": 432947, + "tokout": 11473 + }, + "id": "user-13" + }, + { + "values": { + "cost": 19972, + "req": 139, + "tokin": 37657, + "tokout": 7205 + }, + "id": "user-20" + }, + { + "values": { + "cost": 0, + "req": 122, + "tokin": 4417454, + "tokout": 42975 + }, + "id": "user-16" + }, + { + "values": { + "cost": 0, + "req": 88, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-projects.json new file mode 100644 index 0000000..1cfc676 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-friends.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-friends.json new file mode 100644 index 0000000..8cc7afe --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-friends.json @@ -0,0 +1,77 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 521994684, + "tokout": 1320912 + }, + "id": "user-02" + }, + { + "values": { + "cost": 144, + "req": 0, + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "cost": 33361, + "req": 0, + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "cost": 17033, + "req": 0, + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-home.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-home.json new file mode 100644 index 0000000..8c81586 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-home.json @@ -0,0 +1,68 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 0, + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "cost": 14129214, + "req": 0, + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "cost": 0, + "req": 0, + "tokin": 4695166, + "tokout": 43865 + }, + "id": "user-16" + }, + { + "values": { + "cost": 18015, + "req": 0, + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "cost": 1371293, + "req": 0, + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-projects.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-projects.json new file mode 100644 index 0000000..8ecc90e --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-projects.json @@ -0,0 +1,13 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-14_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-14_offset-0_limit-1000.json new file mode 100644 index 0000000..b8e5f3d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-day_span-14_offset-0_limit-1000.json @@ -0,0 +1,89 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 768837 + }, + "id": "internal" + }, + { + "values": { + "req": 23868 + }, + "id": "user-03" + }, + { + "values": { + "req": 8154 + }, + "id": "service-01" + }, + { + "values": { + "req": 6502 + }, + "id": "user-13" + }, + { + "values": { + "req": 2692 + }, + "id": "user-02" + }, + { + "values": { + "req": 1650 + }, + "id": "user-20" + }, + { + "values": { + "req": 538 + }, + "id": "user-06" + }, + { + "values": { + "req": 341 + }, + "id": "user-08" + }, + { + "values": { + "req": 182 + }, + "id": "user-18" + }, + { + "values": { + "req": 174 + }, + "id": "user-07" + }, + { + "values": { + "req": 121 + }, + "id": "user-16" + }, + { + "values": { + "req": 88 + }, + "id": "admin" + }, + { + "values": { + "req": 7 + }, + "id": "user-05" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-24_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-24_offset-0_limit-1000.json new file mode 100644 index 0000000..263c8dc --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-hour_span-24_offset-0_limit-1000.json @@ -0,0 +1,71 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "req" + ], + "rows": [ + { + "values": { + "req": 92059 + }, + "id": "internal" + }, + { + "values": { + "req": 2692 + }, + "id": "user-02" + }, + { + "values": { + "req": 2109 + }, + "id": "user-03" + }, + { + "values": { + "req": 725 + }, + "id": "service-01" + }, + { + "values": { + "req": 239 + }, + "id": "user-13" + }, + { + "values": { + "req": 174 + }, + "id": "user-07" + }, + { + "values": { + "req": 139 + }, + "id": "user-20" + }, + { + "values": { + "req": 120 + }, + "id": "user-16" + }, + { + "values": { + "req": 88 + }, + "id": "admin" + }, + { + "values": { + "req": 1 + }, + "id": "user-08" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-12_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-12_offset-0_limit-1000.json new file mode 100644 index 0000000..b9ac34d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-req_window-month_span-12_offset-0_limit-1000.json @@ -0,0 +1,10 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "req" + ], + "rows": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-14_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-14_offset-0_limit-1000.json new file mode 100644 index 0000000..35c6b7f --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-day_span-14_offset-0_limit-1000.json @@ -0,0 +1,103 @@ +{ + "kind": "user", + "window": "day", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 4325588, + "tokout": 42620 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-24_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-24_offset-0_limit-1000.json new file mode 100644 index 0000000..99e4284 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-24_offset-0_limit-1000.json @@ -0,0 +1,82 @@ +{ + "kind": "user", + "window": "hour", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 311700755, + "tokout": 1080171 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 92345401, + "tokout": 2089318 + }, + "id": "internal" + }, + { + "values": { + "tokin": 4325588, + "tokout": 42620 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1449191, + "tokout": 78214 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 432947, + "tokout": 11473 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 37657, + "tokout": 7205 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + }, + { + "values": { + "tokin": 1651, + "tokout": 25 + }, + "id": "user-08" + } + ], + "span": 24, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-12_offset-0_limit-1000.json b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-12_offset-0_limit-1000.json new file mode 100644 index 0000000..4effb62 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-user_metrics-tokin+tokout_window-month_span-12_offset-0_limit-1000.json @@ -0,0 +1,103 @@ +{ + "kind": "user", + "window": "month", + "metrics": [ + "tokin", + "tokout" + ], + "rows": [ + { + "values": { + "tokin": 3399385809, + "tokout": 14188239 + }, + "id": "user-03" + }, + { + "values": { + "tokin": 932678599, + "tokout": 2867617 + }, + "id": "user-13" + }, + { + "values": { + "tokin": 862584569, + "tokout": 17270936 + }, + "id": "internal" + }, + { + "values": { + "tokin": 521673509, + "tokout": 1320493 + }, + "id": "user-02" + }, + { + "values": { + "tokin": 16933528, + "tokout": 266424 + }, + "id": "user-06" + }, + { + "values": { + "tokin": 16429603, + "tokout": 892873 + }, + "id": "service-01" + }, + { + "values": { + "tokin": 15101892, + "tokout": 79428 + }, + "id": "user-08" + }, + { + "values": { + "tokin": 10251128, + "tokout": 149746 + }, + "id": "user-18" + }, + { + "values": { + "tokin": 4417454, + "tokout": 42975 + }, + "id": "user-16" + }, + { + "values": { + "tokin": 1452531, + "tokout": 779359 + }, + "id": "user-20" + }, + { + "values": { + "tokin": 214666, + "tokout": 6936 + }, + "id": "admin" + }, + { + "values": { + "tokin": 72646, + "tokout": 9639 + }, + "id": "user-05" + }, + { + "values": { + "tokin": 10907, + "tokout": 9177 + }, + "id": "user-07" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-admin.json new file mode 100644 index 0000000..be75abd --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-admin.json @@ -0,0 +1,47 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-internal.json new file mode 100644 index 0000000..b0d3dc6 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-internal.json @@ -0,0 +1,89 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 332155 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 14523 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 4941768, + "req": 217 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 0, + "req": 119 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 15 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 3 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json new file mode 100644 index 0000000..c07f02a --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json @@ -0,0 +1,26 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 1223 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 18015, + "req": 8 + }, + "id": "minimax/MiniMax-M3" + } + ], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-user-01.json new file mode 100644 index 0000000..d2b1b94 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-user-01.json @@ -0,0 +1,11 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "cost" + ], + "rows": [], + "span": 7, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-admin.json new file mode 100644 index 0000000..20f17c5 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-internal.json new file mode 100644 index 0000000..0ef7081 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-internal.json @@ -0,0 +1,131 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 618845, + "tokin": 119631452, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 17211, + "tokin": 645618438, + "tokout": 15351896 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 0, + "req": 429, + "tokin": 920670, + "tokout": 444273 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 4991070, + "req": 237, + "tokin": 14914874, + "tokout": 430493 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 9130865, + "req": 170, + "tokin": 310255, + "tokout": 252653 + }, + "id": "openai/gpt-5.5" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 4, + "tokin": 920, + "tokout": 1886 + }, + "id": "uni/model-fast" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json new file mode 100644 index 0000000..a38b61d --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-service-01.json @@ -0,0 +1,32 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 2343, + "tokin": 9803759, + "tokout": 412124 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 18015, + "req": 8, + "tokin": 52177, + "tokout": 1967 + }, + "id": "minimax/MiniMax-M3" + } + ], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-user-01.json new file mode 100644 index 0000000..de8fa9e --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-day_span-14_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "day", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 14, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-admin.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-admin.json new file mode 100644 index 0000000..4962675 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-admin.json @@ -0,0 +1,59 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 28, + "tokin": 2018, + "tokout": 921 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 26, + "tokin": 137079, + "tokout": 4496 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 75484, + "tokout": 1494 + }, + "id": "gx10/Inkling-2-Mini" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 32, + "tokout": 20 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 53, + "tokout": 5 + }, + "id": "uni/qwen3.8-27b" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-internal.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-internal.json new file mode 100644 index 0000000..661d716 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-internal.json @@ -0,0 +1,131 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 618867, + "tokin": 119632210, + "tokout": 0 + }, + "id": "uni/text-embedding-multilingual-e5-base" + }, + { + "values": { + "cost": 0, + "req": 17211, + "tokin": 645618438, + "tokout": 15351896 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 0, + "req": 1240, + "tokin": 12452257, + "tokout": 608062 + }, + "id": "minimax/MiniMax-M3.1-Flash" + }, + { + "values": { + "cost": 0, + "req": 429, + "tokin": 920670, + "tokout": 444273 + }, + "id": "uni/deepseek-v4.1-flash-1017" + }, + { + "values": { + "cost": 4991070, + "req": 237, + "tokin": 14914874, + "tokout": 430493 + }, + "id": "minimax/MiniMax-M3" + }, + { + "values": { + "cost": 9130865, + "req": 170, + "tokin": 310255, + "tokout": 252653 + }, + "id": "openai/gpt-5.5" + }, + { + "values": { + "cost": 0, + "req": 15, + "tokin": 327547, + "tokout": 100689 + }, + "id": "uni/glm-5.3-flash" + }, + { + "values": { + "cost": 0, + "req": 4, + "tokin": 920, + "tokout": 1886 + }, + "id": "uni/model-fast" + }, + { + "values": { + "cost": 0, + "req": 3, + "tokin": 176, + "tokout": 55 + }, + "id": "gx10/Qwen3.8-27B" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 24, + "tokout": 6 + }, + "id": "gx10/current" + }, + { + "values": { + "cost": 0, + "req": 2, + "tokin": 117, + "tokout": 47 + }, + "id": "uni/qwen3.8-27b" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 12, + "tokout": 3 + }, + "id": "gx10/DeepSeek-V4.1-Flash-EXL3" + }, + { + "values": { + "cost": 0, + "req": 1, + "tokin": 230, + "tokout": 68 + }, + "id": "minimax/MiniMax-M2.7-highspeed" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json new file mode 100644 index 0000000..3d0e943 --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-service-01.json @@ -0,0 +1,32 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [ + { + "values": { + "cost": 0, + "req": 2343, + "tokin": 9803759, + "tokout": 412124 + }, + "id": "uni/deepseek-v4-flash-0731" + }, + { + "values": { + "cost": 18015, + "req": 8, + "tokin": 52177, + "tokout": 1967 + }, + "id": "minimax/MiniMax-M3" + } + ], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-user-01.json b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-user-01.json new file mode 100644 index 0000000..3416ecb --- /dev/null +++ b/webui/mock/fixtures/usage_totals__kind-usermodel_window-month_span-12_user-user-01.json @@ -0,0 +1,13 @@ +{ + "kind": "usermodel", + "window": "month", + "metrics": [ + "req", + "tokin", + "tokout", + "cost" + ], + "rows": [], + "span": 12, + "offset": 0 +} \ No newline at end of file diff --git a/webui/mock/leak-terms.ts b/webui/mock/leak-terms.ts new file mode 100644 index 0000000..27f401d --- /dev/null +++ b/webui/mock/leak-terms.ts @@ -0,0 +1,20 @@ +export type LeakTerm = string | RegExp + +// Site-specific names come from LEAK_SCAN_EXTRA_TERMS so this list never publishes them. +const LITERALS: string[] = ['raczylo', 'aliyuncs', 'cluster.local'] + +const PATTERNS: RegExp[] = [ + /\bsk-[A-Za-z0-9]/, + /\b10\.\d+\.\d+\.\d+\b/, + /\b172\.(1[6-9]|2\d|3[01])\./, + /\b192\.168\./, + /[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/, +] + +export function leakTerms(extra?: string): LeakTerm[] { + const names = (extra ?? '') + .split(',') + .map((s) => s.trim()) + .filter(Boolean) + return [...LITERALS, ...PATTERNS, ...names] +} diff --git a/webui/mock/manifest.json b/webui/mock/manifest.json new file mode 100644 index 0000000..3cd61a9 --- /dev/null +++ b/webui/mock/manifest.json @@ -0,0 +1,3056 @@ +[ + { + "file": "catalog.json", + "path": "/admin/api/catalog", + "query": {}, + "status": 200 + }, + { + "file": "config.json", + "path": "/admin/api/config", + "query": {}, + "status": 200 + }, + { + "file": "consumers.json", + "path": "/admin/api/consumers", + "query": {}, + "status": 200 + }, + { + "file": "events__limit-200.json", + "path": "/admin/api/events", + "query": { + "limit": "200" + }, + "status": 200 + }, + { + "file": "overview.json", + "path": "/admin/api/overview", + "query": {}, + "status": 200 + }, + { + "file": "performance__kind-model_window-day_span-14.json", + "path": "/admin/api/performance", + "query": { + "kind": "model", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "performance__kind-model_window-hour_span-24.json", + "path": "/admin/api/performance", + "query": { + "kind": "model", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-14.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-14_series-1_id-alibaba.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "14", + "series": "1", + "id": "alibaba" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-14_series-1_id-amd.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "14", + "series": "1", + "id": "amd" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-day_span-14_series-1_id-anthropic.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "day", + "span": "14", + "series": "1", + "id": "anthropic" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-24.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-24_series-1_id-alibaba.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "24", + "series": "1", + "id": "alibaba" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-24_series-1_id-amd.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "24", + "series": "1", + "id": "amd" + }, + "status": 200 + }, + { + "file": "performance__kind-provider_window-hour_span-24_series-1_id-anthropic.json", + "path": "/admin/api/performance", + "query": { + "kind": "provider", + "window": "hour", + "span": "24", + "series": "1", + "id": "anthropic" + }, + "status": 200 + }, + { + "file": "targets.json", + "path": "/admin/api/targets", + "query": {}, + "status": 200 + }, + { + "file": "usage.json", + "path": "/admin/api/usage", + "query": {}, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-day_span-14_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "14", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-day_span-14_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "14", + "limit": "5" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-day_span-30_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "day", + "span": "30", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-cost_window-hour_span-24_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "hour", + "span": "24", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-hour_span-24_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "hour", + "span": "24", + "limit": "5" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-hour_span-48_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "hour", + "span": "48", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-cost_window-month_span-12_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "12", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-cost_window-month_span-12_limit-5.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "cost", + "window": "month", + "span": "12", + "limit": "5" + }, + "status": 200 + }, + { + "file": "usage_models__metric-req_window-day_span-14_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "day", + "span": "14", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-req_window-day_span-30_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "day", + "span": "30", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-req_window-hour_span-24_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "hour", + "span": "24", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-req_window-hour_span-48_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "hour", + "span": "48", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-req_window-month_span-12_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "req", + "window": "month", + "span": "12", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokin_window-day_span-14_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "day", + "span": "14", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokin_window-day_span-30_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "day", + "span": "30", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-tokin_window-hour_span-24_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "hour", + "span": "24", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokin_window-hour_span-48_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "hour", + "span": "48", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-tokin_window-month_span-12_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokin", + "window": "month", + "span": "12", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokout_window-day_span-14_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "day", + "span": "14", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokout_window-day_span-30_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "day", + "span": "30", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-tokout_window-hour_span-24_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "hour", + "span": "24", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_models__metric-tokout_window-hour_span-48_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "hour", + "span": "48", + "limit": "100", + "detail": "1" + }, + "status": 400 + }, + { + "file": "usage_models__metric-tokout_window-month_span-12_limit-100_detail-1.json", + "path": "/admin/api/usage/models", + "query": { + "metric": "tokout", + "window": "month", + "span": "12", + "limit": "100", + "detail": "1" + }, + "status": 200 + }, + { + "file": "usage_series__13scopes-3597a8_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/deepseek-v4.1-flash-1017", + "model:gx10/Inkling-2-Mini", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-27b", + "model:gx10/Qwen3.8-27B", + "model:uni/ornith-1.5-397b", + "model:uni/model-light" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__13scopes-5535b8_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:minimax/MiniMax-M3.1-Flash", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-27b", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:gx10/Qwen3.8-27B", + "model:gx10/Inkling-2-Mini", + "model:uni/ornith-1.5-397b", + "model:uni/model-light" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__13scopes-bf0de0_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:minimax/MiniMax-M3", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:minimax/MiniMax-M3.1-Flash", + "model:uni/qwen3.8-flash-next", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-27b", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:gx10/Qwen3.8-27B", + "model:gx10/Inkling-2-Mini", + "model:uni/ornith-1.5-397b", + "model:uni/model-light" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__13scopes-c73732_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:minimax/MiniMax-M3.1-Flash", + "model:uni/qwen3.8-flash-next", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/deepseek-v4.1-flash-1017", + "model:minimax/MiniMax-M3", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:gx10/Qwen3.8-27B", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-attempt_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "attempt", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-attempt_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "attempt", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fail_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fail", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fail_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fail", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fover_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fover", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-fover_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "fover", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-timeout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "timeout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__19scopes-059b3d_metric-timeout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "provider:alibaba", + "provider:amd", + "provider:anthropic", + "provider:cerebras", + "provider:codex", + "provider:copilot", + "provider:deepseek", + "provider:gx10", + "provider:macstudio", + "provider:minimax", + "provider:nvidia-nim", + "provider:nvidia-retrieval", + "provider:openai", + "provider:openai-audio", + "provider:parakeet-mlx", + "provider:piper-tts", + "provider:uni", + "provider:xai", + "provider:xiaomi" + ], + "metric": "timeout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__24scopes-1e7dbc_metric-req_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3.1-Flash", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-27b", + "model:gx10/Qwen3.8-27B", + "model:minimax/MiniMax-M2.5-highspeed", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:gx10/Inkling-2-Mini", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "req", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__24scopes-3df778_metric-tokout_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/glm-5.3-flash", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Qwen3.8-27B", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:uni/model-heavy", + "model:gx10/current", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__24scopes-afbd0c_metric-tokin_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.5", + "model:gx10/Qwen3.8-27B", + "model:uni/model-fast", + "model:uni/ornith-1.5-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:gx10/current", + "model:uni/model-heavy" + ], + "metric": "tokin", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__24scopes-e59eb3_metric-cost_window-day_span-7.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.5", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3.1-Flash", + "model:uni/qwen3.8-flash-next", + "model:uni/qwen3.8-27b", + "model:gx10/Qwen3.8-27B", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:gx10/Inkling-2-Mini", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "cost", + "window": "day", + "span": "7" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-8e9979_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Qwen3.8-27B", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:openai/gpt-5.5", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7-highspeed", + "model:anthropic/claude-haiku-5-5", + "model:minimax/MiniMax-M2.5", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:uni/model-heavy", + "model:gx10/current", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-8e9979_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:gx10/Qwen3.8-27B", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:openai/gpt-5.5", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7-highspeed", + "model:anthropic/claude-haiku-5-5", + "model:minimax/MiniMax-M2.5", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:gx10/Inkling-2-Mini", + "model:uni/qwen3.8-27b", + "model:uni/ornith-1.5-397b", + "model:uni/model-light", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:uni/model-heavy", + "model:gx10/current", + "model:uni/text-embedding-multilingual-e5-base" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-9f5267_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:openai/gpt-5.5", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.5", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-9f5267_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:openai/gpt-5.5", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.5", + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-b4d65c_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:openai/gpt-5.5", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-b4d65c_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/text-embedding-multilingual-e5-base", + "model:uni/deepseek-v4-flash-0731", + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:minimax/MiniMax-M3", + "model:uni/qwen3.8-flash-next", + "model:minimax/MiniMax-M3.1-Flash", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:gx10/Qwen3.8-27B", + "model:openai/gpt-5.5", + "model:uni/qwen3.8-27b", + "model:uni/model-fast", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/ornith-1.5-397b", + "model:gx10/current", + "model:uni/ornith-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/ornith-1.5-35b", + "model:uni/qwen3.6-27b", + "model:uni/model-heavy" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-ef5a3e_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:gx10/Qwen3.8-27B", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:openai/gpt-5.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/qwen3.8-27b", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.5", + "model:uni/model-fast", + "model:uni/ornith-1.5-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:gx10/current", + "model:uni/model-heavy" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__27scopes-ef5a3e_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "model:uni/deepseek-v4.1-flash-1017", + "model:uni/deepseek-v4-flash-0731", + "model:uni/glm-5.3-flash", + "model:gx10/DeepSeek-V4.1-Flash-EXL3", + "model:alibaba/deepseek-v4.1-flash-1017", + "model:uni/qwen3.8-flash-next", + "model:uni/text-embedding-multilingual-e5-base", + "model:gx10/Qwen3.8-27B", + "model:minimax/MiniMax-M3", + "model:minimax/MiniMax-M3.1-Flash", + "model:openai/gpt-5.5", + "model:gx10/Inkling-2-Mini", + "model:anthropic/claude-haiku-5-5", + "model:uni/qwen3.8-27b", + "model:minimax/MiniMax-M2.5-highspeed", + "model:minimax/MiniMax-M2.7-highspeed", + "model:minimax/MiniMax-M2.7", + "model:minimax/MiniMax-M2.5", + "model:uni/model-fast", + "model:uni/ornith-1.5-397b", + "model:uni/qwen3.8-27b-uncensored", + "model:uni/model-light", + "model:uni/qwen3.6-27b", + "model:uni/ornith-397b", + "model:uni/ornith-1.5-35b", + "model:gx10/current", + "model:uni/model-heavy" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-hour_span-48.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "hour", + "span": "48" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-818406_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home", + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__2scopes-eb4cb7_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends", + "group:home" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-friends_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:friends" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-home_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:home" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__group-projects_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "group:projects" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-day_span-14_offset-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "day", + "span": "14", + "offset": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-hour_span-24_offset-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "hour", + "span": "24", + "offset": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-cost_window-month_span-3_offset-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "cost", + "window": "month", + "span": "3", + "offset": "3" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-r402_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "r402", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-r402_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "r402", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-rej_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "rej", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-rej_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "rej", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-day_span-14_offset-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "day", + "span": "14", + "offset": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-hour_span-24_offset-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "hour", + "span": "24", + "offset": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-req_window-month_span-3_offset-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "req", + "window": "month", + "span": "3", + "offset": "3" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-day_span-14_offset-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "day", + "span": "14", + "offset": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-hour_span-24_offset-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "hour", + "span": "24", + "offset": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokin_window-month_span-3_offset-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokin", + "window": "month", + "span": "3", + "offset": "3" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-day_span-14_offset-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "day", + "span": "14", + "offset": "14" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-hour_span-24_offset-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "hour", + "span": "24", + "offset": "24" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__total_metric-tokout_window-month_span-3_offset-3.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "total" + ], + "metric": "tokout", + "window": "month", + "span": "3", + "offset": "3" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-admin_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:admin" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-internal_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:internal" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-cost_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "cost", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-cost_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "cost", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-cost_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "cost", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-req_window-day_span-14.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "req", + "window": "day", + "span": "14" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-req_window-hour_span-24.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "req", + "window": "hour", + "span": "24" + }, + "status": 200 + }, + { + "file": "usage_series__user-service-01_metric-req_window-month_span-12.json", + "path": "/admin/api/usage/series", + "query": { + "scope": [ + "user:service-01" + ], + "metric": "req", + "window": "month", + "span": "12" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-cost_window-day_span-14.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "14", + "metrics": "cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-cost_window-hour_span-24.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "24", + "metrics": "cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-cost_window-month_span-12.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "12", + "metrics": "cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-day_span-14.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "14", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-hour_span-24.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "24", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req+tokin+tokout+cost_window-month_span-12.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "12", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req_window-day_span-14.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "14", + "metrics": "req" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req_window-hour_span-24.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "24", + "metrics": "req" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-req_window-month_span-12.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "12", + "metrics": "req" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-day_span-14.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "14", + "metrics": "tokin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-hour_span-24.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "24", + "metrics": "tokin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokin_window-month_span-12.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "12", + "metrics": "tokin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-day_span-14.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "day", + "span": "14", + "metrics": "tokout" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-hour_span-24.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "hour", + "span": "24", + "metrics": "tokout" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-group_metrics-tokout_window-month_span-12.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "group", + "window": "month", + "span": "12", + "metrics": "tokout" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-14_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "14", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~agentkit.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "7", + "metrics": "req", + "limit": "10", + "target": "agent/agentkit" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~brainstorm.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "7", + "metrics": "req", + "limit": "10", + "target": "agent/brainstorm" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-day_span-7_limit-10_target-agent~budgeting-helper.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "day", + "span": "7", + "metrics": "req", + "limit": "10", + "target": "agent/budgeting-helper" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-targetcaller_metrics-req_window-month_span-12_limit-10.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "targetcaller", + "window": "month", + "span": "12", + "metrics": "req", + "limit": "10" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-cost_window-day_span-14_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-cost_window-hour_span-24_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-cost_window-month_span-12_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "offset": "0", + "metrics": "cost", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-day_span-14_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-hour_span-24_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-friends.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "group": "friends", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-home.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "group": "home", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req+tokin+tokout+cost_window-month_span-12_group-projects.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "group": "projects", + "metrics": "req,tokin,tokout,cost" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req_window-day_span-14_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req_window-hour_span-24_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-req_window-month_span-12_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "offset": "0", + "metrics": "req", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-day_span-14_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "day", + "span": "14", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-hour_span-24_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "hour", + "span": "24", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-user_metrics-tokin+tokout_window-month_span-12_offset-0_limit-1000.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "user", + "window": "month", + "span": "12", + "offset": "0", + "metrics": "tokin,tokout", + "limit": "1000" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "metrics": "req,cost", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "metrics": "req,cost", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-service-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "metrics": "req,cost", + "user": "service-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_metrics-req+cost_window-day_span-7_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "7", + "metrics": "req,cost", + "user": "user-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-14_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "14", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-14_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "14", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-14_user-service-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "14", + "user": "service-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-day_span-14_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "day", + "span": "14", + "user": "user-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-12_user-admin.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "12", + "user": "admin" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-12_user-internal.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "12", + "user": "internal" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-12_user-service-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "12", + "user": "service-01" + }, + "status": 200 + }, + { + "file": "usage_totals__kind-usermodel_window-month_span-12_user-user-01.json", + "path": "/admin/api/usage/totals", + "query": { + "kind": "usermodel", + "window": "month", + "span": "12", + "user": "user-01" + }, + "status": 200 + } +] diff --git a/webui/src/lib/mock-leak-scan.spec.ts b/webui/src/lib/mock-leak-scan.spec.ts new file mode 100644 index 0000000..1e18409 --- /dev/null +++ b/webui/src/lib/mock-leak-scan.spec.ts @@ -0,0 +1,36 @@ +import { describe, expect, it } from 'vitest' + +import { leakTerms, type LeakTerm } from '../../mock/leak-terms' + +const fixtures = import.meta.glob('../../mock/fixtures/*.json', { + query: '?raw', + import: 'default', + eager: true, +}) as Record + +const env = (globalThis as { process?: { env: Record } }).process?.env ?? {} + +function matches(text: string, term: LeakTerm): boolean { + return typeof term === 'string' ? text.toLowerCase().includes(term.toLowerCase()) : term.test(text) +} + +describe('mock fixtures', () => { + it('has fixtures to scan', () => { + expect(Object.keys(fixtures).length).toBeGreaterThan(0) + }) + + it('committed fixtures contain no private identifiers', () => { + const hits: string[] = [] + for (const [file, text] of Object.entries(fixtures)) { + for (const term of leakTerms(env.LEAK_SCAN_EXTRA_TERMS)) { + if (matches(text, term)) hits.push(`${file}: ${String(term)}`) + } + } + expect(hits).toEqual([]) + }) + + it('detects a planted leak', () => { + const planted = leakTerms('zz-extra-name').filter((t) => matches('{"u":"zz-extra-name","h":"10.1.2.3","e":"a@b.co"}', t)) + expect(planted.length).toBe(3) + }) +})