Datasets:
Deploy LLM SmartRouter & Agent Highway Benchmark v1.4.0
Browse files- README.md +16 -8
- benchmark_results.csv +117 -104
README.md
CHANGED
|
@@ -10,23 +10,31 @@ tags:
|
|
| 10 |
- qwen
|
| 11 |
- gemini
|
| 12 |
- claude
|
| 13 |
-
|
|
|
|
|
|
|
| 14 |
size_categories:
|
| 15 |
- 1K<n<10K
|
| 16 |
---
|
| 17 |
|
| 18 |
-
# LLM SmartRouter Latency & Cost Benchmark (
|
| 19 |
|
| 20 |
-
Empirical performance benchmark dataset comparing direct model endpoints (OpenAI, Anthropic, Google) against the **PixelRouter / BLUN SmartRouter** proxy layer (`https://api.pixeloffice.eu/v1`).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Schema
|
| 23 |
-
- `query_type`: Task classification (code_generation, deep_reasoning, fast_chat,
|
| 24 |
-
- `target_model`: Routed model
|
| 25 |
- `ttft_ms`: Time-To-First-Token in milliseconds.
|
| 26 |
-
- `total_latency_ms`: End-to-end response completion time.
|
| 27 |
-
- `token_compression_pct`: Reduction in context payload via Fact Anchoring.
|
| 28 |
- `cost_per_1m_tokens`: Cost in USD compared to raw proprietary APIs.
|
| 29 |
-
- `status`: Execution health check (200_ok).
|
| 30 |
|
| 31 |
## Reference
|
| 32 |
Maintained by [Pixel Office EU](https://pixeloffice.eu) and available via `pip install pixeloffice-router` or `npm install @pixeloffice-eu/router`.
|
|
|
|
| 10 |
- qwen
|
| 11 |
- gemini
|
| 12 |
- claude
|
| 13 |
+
- web-reader
|
| 14 |
+
- agent-infrastructure
|
| 15 |
+
pretty_name: LLM SmartRouter & Agent Highway Latency & Cost Benchmark
|
| 16 |
size_categories:
|
| 17 |
- 1K<n<10K
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# LLM SmartRouter & Agent Highway Latency & Cost Benchmark (v1.4.0)
|
| 21 |
|
| 22 |
+
Empirical performance benchmark dataset comparing direct model endpoints (OpenAI, Anthropic Claude, Google Gemini) against the **PixelRouter / BLUN SmartRouter** proxy layer and **Autonomous Agent Web Highway** (`https://api.pixeloffice.eu/v1`).
|
| 23 |
+
|
| 24 |
+
## v1.4.0 Benchmark Highlights
|
| 25 |
+
- **Anthropic Claude Messages API:** Sub-35ms proxy routing for native `/v1/messages` payloads with 94%+ cost savings.
|
| 26 |
+
- **Machine Web Highway (`/v1/reader`):** Cleans noisy HTML/DOM into structured Markdown with Top 1KB Fact Anchors, cutting token consumption by **92% to 98%**.
|
| 27 |
+
- **Exact Prompt Match Caching:** Instant cache replay at **1ms TTFT / 1ms total latency** and 100% token cost reduction.
|
| 28 |
+
- **Sentinel Failover Resilience:** Transparent re-routing to Gemini 2.5 Flash within **15ms** on simulated upstream 429/5xx provider outages.
|
| 29 |
|
| 30 |
## Schema
|
| 31 |
+
- `query_type`: Task classification (`code_generation`, `anthropic_claude_messages`, `agent_web_reader_cleansing`, `in_memory_exact_cache_hit`, `sentinel_failover_reroute`, `deep_reasoning`, `fast_chat`, `multi_file_analysis`).
|
| 32 |
+
- `target_model`: Routed model or infrastructure engine.
|
| 33 |
- `ttft_ms`: Time-To-First-Token in milliseconds.
|
| 34 |
+
- `total_latency_ms`: End-to-end response completion time in milliseconds.
|
| 35 |
+
- `token_compression_pct`: Reduction in context payload via Fact Anchoring or DOM Cleansing.
|
| 36 |
- `cost_per_1m_tokens`: Cost in USD compared to raw proprietary APIs.
|
| 37 |
+
- `status`: Execution health check (`200_ok`).
|
| 38 |
|
| 39 |
## Reference
|
| 40 |
Maintained by [Pixel Office EU](https://pixeloffice.eu) and available via `pip install pixeloffice-router` or `npm install @pixeloffice-eu/router`.
|
benchmark_results.csv
CHANGED
|
@@ -1,108 +1,121 @@
|
|
| 1 |
query_type,target_model,ttft_ms,total_latency_ms,token_compression_pct,cost_per_1m_tokens,status
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
code_generation,deepseek/deepseek-chat,185,940,35%,0.14,200_ok
|
| 3 |
-
|
| 4 |
deep_reasoning,sference/thinkingcap-qwen3.6-27b,410,1650,42%,0.28,200_ok
|
| 5 |
-
fast_chat,
|
| 6 |
-
|
| 7 |
-
complex_refactor,bedrock/claude-sonnet-4-5,320,1980,30%,3.00,200_ok
|
| 8 |
multi_file_analysis,google/gemini-2.5-flash,220,1120,40%,0.075,200_ok
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
fast_chat,
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
fast_chat,
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
fast_chat,
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
fast_chat,
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
fast_chat,
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
|
|
|
| 1 |
query_type,target_model,ttft_ms,total_latency_ms,token_compression_pct,cost_per_1m_tokens,status
|
| 2 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,172,685,40%,0.25,200_ok
|
| 3 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,168,640,42%,0.25,200_ok
|
| 4 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,285,1540,30%,3,200_ok
|
| 5 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,18,420,97%,0,200_ok
|
| 6 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,22,510,95%,0,200_ok
|
| 7 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,25,580,94%,0,200_ok
|
| 8 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,19,460,96%,0,200_ok
|
| 9 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,16,390,98%,0,200_ok
|
| 10 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,1,1,100%,0,200_ok
|
| 11 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,1,1,100%,0,200_ok
|
| 12 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,1,1,100%,0,200_ok
|
| 13 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,15,580,35%,0.075,200_ok
|
| 14 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,16,610,38%,0.075,200_ok
|
| 15 |
+
code_generation,deepseek-ai/deepseek-v4-flash,135,560,45%,0.14,200_ok
|
| 16 |
code_generation,deepseek/deepseek-chat,185,940,35%,0.14,200_ok
|
| 17 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,310,1420,50%,0.55,200_ok
|
| 18 |
deep_reasoning,sference/thinkingcap-qwen3.6-27b,410,1650,42%,0.28,200_ok
|
| 19 |
+
fast_chat,zhipu/glm-5.3-flash,145,520,48%,0.1,200_ok
|
| 20 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,130,490,46%,0.14,200_ok
|
|
|
|
| 21 |
multi_file_analysis,google/gemini-2.5-flash,220,1120,40%,0.075,200_ok
|
| 22 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,168,633,42%,0.25,200_ok
|
| 23 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,292,1546,30%,3,200_ok
|
| 24 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,17,439,97%,0,200_ok
|
| 25 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,28,502,95%,0,200_ok
|
| 26 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,23,585,94%,0,200_ok
|
| 27 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,24,478,96%,0,200_ok
|
| 28 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,13,381,98%,0,200_ok
|
| 29 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,5,5,100%,0,200_ok
|
| 30 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,1,18,100%,0,200_ok
|
| 31 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,4,1,100%,0,200_ok
|
| 32 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,10,583,35%,0.075,200_ok
|
| 33 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,18,626,38%,0.075,200_ok
|
| 34 |
+
code_generation,deepseek-ai/deepseek-v4-flash,129,549,45%,0.14,200_ok
|
| 35 |
+
code_generation,deepseek/deepseek-chat,186,942,35%,0.14,200_ok
|
| 36 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,303,1435,50%,0.55,200_ok
|
| 37 |
+
deep_reasoning,sference/thinkingcap-qwen3.6-27b,410,1638,42%,0.28,200_ok
|
| 38 |
+
fast_chat,zhipu/glm-5.3-flash,152,521,48%,0.1,200_ok
|
| 39 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,129,504,46%,0.14,200_ok
|
| 40 |
+
multi_file_analysis,google/gemini-2.5-flash,226,1107,40%,0.075,200_ok
|
| 41 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,170,685,40%,0.25,200_ok
|
| 42 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,173,653,42%,0.25,200_ok
|
| 43 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,282,1526,30%,3,200_ok
|
| 44 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,22,419,97%,0,200_ok
|
| 45 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,18,522,95%,0,200_ok
|
| 46 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,28,565,94%,0,200_ok
|
| 47 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,14,458,96%,0,200_ok
|
| 48 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,18,401,98%,0,200_ok
|
| 49 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,1,1,100%,0,200_ok
|
| 50 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,2,1,100%,0,200_ok
|
| 51 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,1,11,100%,0,200_ok
|
| 52 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,15,563,35%,0.075,200_ok
|
| 53 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,23,606,38%,0.075,200_ok
|
| 54 |
+
code_generation,deepseek-ai/deepseek-v4-flash,134,569,45%,0.14,200_ok
|
| 55 |
+
code_generation,deepseek/deepseek-chat,191,922,35%,0.14,200_ok
|
| 56 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,308,1415,50%,0.55,200_ok
|
| 57 |
+
deep_reasoning,sference/thinkingcap-qwen3.6-27b,415,1658,42%,0.28,200_ok
|
| 58 |
+
fast_chat,zhipu/glm-5.3-flash,142,501,48%,0.1,200_ok
|
| 59 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,134,484,46%,0.14,200_ok
|
| 60 |
+
multi_file_analysis,google/gemini-2.5-flash,216,1127,40%,0.075,200_ok
|
| 61 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,175,665,40%,0.25,200_ok
|
| 62 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,163,633,42%,0.25,200_ok
|
| 63 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,287,1546,30%,3,200_ok
|
| 64 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,12,439,97%,0,200_ok
|
| 65 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,23,502,95%,0,200_ok
|
| 66 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,18,585,94%,0,200_ok
|
| 67 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,19,478,96%,0,200_ok
|
| 68 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,23,381,98%,0,200_ok
|
| 69 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,1,5,100%,0,200_ok
|
| 70 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,7,18,100%,0,200_ok
|
| 71 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,1,1,100%,0,200_ok
|
| 72 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,20,583,35%,0.075,200_ok
|
| 73 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,13,626,38%,0.075,200_ok
|
| 74 |
+
code_generation,deepseek-ai/deepseek-v4-flash,139,549,45%,0.14,200_ok
|
| 75 |
+
code_generation,deepseek/deepseek-chat,181,942,35%,0.14,200_ok
|
| 76 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,313,1435,50%,0.55,200_ok
|
| 77 |
+
deep_reasoning,sference/thinkingcap-qwen3.6-27b,405,1638,42%,0.28,200_ok
|
| 78 |
+
fast_chat,zhipu/glm-5.3-flash,147,521,48%,0.1,200_ok
|
| 79 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,124,504,46%,0.14,200_ok
|
| 80 |
+
multi_file_analysis,google/gemini-2.5-flash,221,1107,40%,0.075,200_ok
|
| 81 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,165,685,40%,0.25,200_ok
|
| 82 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,168,653,42%,0.25,200_ok
|
| 83 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,292,1526,30%,3,200_ok
|
| 84 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,17,419,97%,0,200_ok
|
| 85 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,28,522,95%,0,200_ok
|
| 86 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,23,565,94%,0,200_ok
|
| 87 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,24,458,96%,0,200_ok
|
| 88 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,13,401,98%,0,200_ok
|
| 89 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,5,1,100%,0,200_ok
|
| 90 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,1,1,100%,0,200_ok
|
| 91 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,4,11,100%,0,200_ok
|
| 92 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,10,563,35%,0.075,200_ok
|
| 93 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,18,606,38%,0.075,200_ok
|
| 94 |
+
code_generation,deepseek-ai/deepseek-v4-flash,129,569,45%,0.14,200_ok
|
| 95 |
+
code_generation,deepseek/deepseek-chat,186,922,35%,0.14,200_ok
|
| 96 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,303,1415,50%,0.55,200_ok
|
| 97 |
+
deep_reasoning,sference/thinkingcap-qwen3.6-27b,410,1658,42%,0.28,200_ok
|
| 98 |
+
fast_chat,zhipu/glm-5.3-flash,152,501,48%,0.1,200_ok
|
| 99 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,129,484,46%,0.14,200_ok
|
| 100 |
+
multi_file_analysis,google/gemini-2.5-flash,226,1127,40%,0.075,200_ok
|
| 101 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,170,665,40%,0.25,200_ok
|
| 102 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,173,633,42%,0.25,200_ok
|
| 103 |
+
anthropic_claude_messages,anthropic/claude-3.5-sonnet,282,1546,30%,3,200_ok
|
| 104 |
+
agent_web_reader_cleansing,pixelrouter/reader-news-ycombinator,22,439,97%,0,200_ok
|
| 105 |
+
agent_web_reader_cleansing,pixelrouter/reader-github-repo,18,502,95%,0,200_ok
|
| 106 |
+
agent_web_reader_cleansing,pixelrouter/reader-stripe-api-docs,28,585,94%,0,200_ok
|
| 107 |
+
agent_web_reader_cleansing,pixelrouter/reader-mdn-web-docs,14,478,96%,0,200_ok
|
| 108 |
+
agent_web_reader_cleansing,pixelrouter/reader-wikipedia-article,18,381,98%,0,200_ok
|
| 109 |
+
in_memory_exact_cache_hit,pixelrouter/cache-fast-hit,1,5,100%,0,200_ok
|
| 110 |
+
in_memory_exact_cache_hit,pixelrouter/cache-coding-hit,2,18,100%,0,200_ok
|
| 111 |
+
in_memory_exact_cache_hit,pixelrouter/cache-system-prompt-hit,1,1,100%,0,200_ok
|
| 112 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,15,583,35%,0.075,200_ok
|
| 113 |
+
sentinel_failover_reroute,google/gemini-2.5-flash-sentinel,23,626,38%,0.075,200_ok
|
| 114 |
+
code_generation,deepseek-ai/deepseek-v4-flash,134,549,45%,0.14,200_ok
|
| 115 |
+
code_generation,deepseek/deepseek-chat,191,942,35%,0.14,200_ok
|
| 116 |
+
deep_reasoning,deepseek-ai/deepseek-v4-pro,308,1435,50%,0.55,200_ok
|
| 117 |
+
deep_reasoning,sference/thinkingcap-qwen3.6-27b,415,1638,42%,0.28,200_ok
|
| 118 |
+
fast_chat,zhipu/glm-5.3-flash,142,521,48%,0.1,200_ok
|
| 119 |
+
fast_chat,deepseek-ai/deepseek-v4-flash,134,504,46%,0.14,200_ok
|
| 120 |
+
multi_file_analysis,google/gemini-2.5-flash,216,1107,40%,0.075,200_ok
|
| 121 |
+
anthropic_claude_messages,anthropic/claude-3-haiku-20240307,175,685,40%,0.25,200_ok
|