adaptive-memory-multi-model-router 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LAUNCH.md +160 -412
- package/README.md +146 -153
- package/articles/HN_FINAL.md +87 -139
- package/articles/devto-llm-routing.md +93 -80
- package/articles/hackernews-show-hn.md +35 -63
- package/articles/reddit-ml.md +59 -76
- package/articles/twitter-thread-cost-savings.md +54 -72
- package/benchmark-results.json +24 -24
- package/dist/routing/advancedRouter.js +137 -74
- package/docs/GEO.md +124 -0
- package/docs/HN_SUBMISSION_FINAL.md +83 -49
- package/docs/SEO_AUDIT.md +112 -167
- package/docs/index.html +8 -8
- package/docs-site/index.html +8 -8
- package/llms.txt +31 -11
- package/package.json +26 -163
- package/public/robots.txt +12 -2
- package/public/sitemap.xml +37 -1
- package/scripts/routing-benchmark-v2.js +3 -3
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adaptive-memory-multi-model-router",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"shortName": "A3M Router",
|
|
5
5
|
"displayName": "A3M Router - Adaptive Memory Multi-Model Router",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "99.5% ±1 tier routing accuracy, zero ML. Exceeds RouteLLM BERT. Drop-in OpenAI proxy, 40 providers, domain-aware. 245% growth in 3 days.",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"bin": {
|
|
9
9
|
"a3m-router": "dist/cli.js",
|
|
@@ -49,172 +49,35 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
|
-
"llm",
|
|
53
|
-
"router",
|
|
54
|
-
"ai",
|
|
55
|
-
"language-model",
|
|
56
|
-
"openai",
|
|
57
|
-
"anthropic",
|
|
58
|
-
"gpt",
|
|
59
|
-
"gpt-4",
|
|
60
|
-
"claude",
|
|
61
|
-
"gemini",
|
|
62
|
-
"ai-routing",
|
|
63
|
-
"llm-routing",
|
|
64
|
-
"multi-model",
|
|
65
|
-
"model-router",
|
|
66
52
|
"llm-router",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
53
|
+
"llm-routing",
|
|
54
|
+
"llm-gateway",
|
|
55
|
+
"openai-proxy",
|
|
56
|
+
"cost-optimization",
|
|
57
|
+
"ai-gateway",
|
|
58
|
+
"routellm-alternative",
|
|
59
|
+
"litellm-alternative",
|
|
60
|
+
"portkey-alternative",
|
|
61
|
+
"semantic-cache",
|
|
62
|
+
"guardrails",
|
|
63
|
+
"multi-provider",
|
|
64
|
+
"openai-compatible",
|
|
65
|
+
"llm-proxy",
|
|
66
|
+
"llm-orchestration",
|
|
71
67
|
"groq",
|
|
72
68
|
"cerebras",
|
|
73
|
-
"deepseek",
|
|
74
|
-
"fireworks",
|
|
75
|
-
"perplexity",
|
|
76
|
-
"cohere",
|
|
77
69
|
"mistral",
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"ollama",
|
|
81
|
-
"openrouter",
|
|
82
|
-
"cost-optimization",
|
|
83
|
-
"latency-optimization",
|
|
84
|
-
"token-compression",
|
|
85
|
-
"prefix-caching",
|
|
86
|
-
"speculative-decoding",
|
|
87
|
-
"circuit-breaker",
|
|
88
|
-
"memory-tree",
|
|
89
|
-
"route-quality",
|
|
90
|
-
"batch-processing",
|
|
91
|
-
"parallel-execution",
|
|
92
|
-
"fallback",
|
|
93
|
-
"retry",
|
|
94
|
-
"load-balancing",
|
|
95
|
-
"github",
|
|
96
|
-
"slack",
|
|
97
|
-
"telegram",
|
|
98
|
-
"notion",
|
|
99
|
-
"linear",
|
|
100
|
-
"jira",
|
|
101
|
-
"gmail",
|
|
102
|
-
"discord",
|
|
103
|
-
"airtable",
|
|
104
|
-
"google-calendar",
|
|
105
|
-
"asana",
|
|
106
|
-
"trello",
|
|
107
|
-
"stripe",
|
|
108
|
-
"shopify",
|
|
109
|
-
"hubspot",
|
|
110
|
-
"salesforce",
|
|
111
|
-
"zendesk",
|
|
112
|
-
"intercom",
|
|
113
|
-
"sendgrid",
|
|
114
|
-
"mailchimp",
|
|
115
|
-
"segment",
|
|
116
|
-
"mixpanel",
|
|
117
|
-
"amplitude",
|
|
118
|
-
"posthog",
|
|
119
|
-
"datadog",
|
|
120
|
-
"sentry",
|
|
121
|
-
"pinecone",
|
|
122
|
-
"s3",
|
|
123
|
-
"dropbox",
|
|
124
|
-
"vercel",
|
|
125
|
-
"netlify",
|
|
126
|
-
"gitlab",
|
|
127
|
-
"bitbucket",
|
|
128
|
-
"chatbot",
|
|
129
|
-
"agent",
|
|
130
|
-
"ai-agent",
|
|
131
|
-
"automation",
|
|
132
|
-
"orchestration",
|
|
133
|
-
"mcp",
|
|
134
|
-
"tools",
|
|
135
|
-
"api-gateway",
|
|
136
|
-
"proxy",
|
|
137
|
-
"middleware",
|
|
138
|
-
"sdk",
|
|
139
|
-
"cli",
|
|
140
|
-
"typescript",
|
|
141
|
-
"javascript",
|
|
142
|
-
"nodejs",
|
|
143
|
-
"npm",
|
|
144
|
-
"python",
|
|
145
|
-
"developer-tools",
|
|
146
|
-
"developer-experience",
|
|
147
|
-
"dx",
|
|
148
|
-
"open-source",
|
|
149
|
-
"routellm",
|
|
150
|
-
"radix-attention",
|
|
151
|
-
"medusa",
|
|
152
|
-
"llmlingua",
|
|
153
|
-
"ai-agent-tools",
|
|
154
|
-
"llm-tools",
|
|
155
|
-
"agent-framework",
|
|
156
|
-
"autonomous-agents",
|
|
157
|
-
"machine-learning",
|
|
158
|
-
"nlp",
|
|
159
|
-
"natural-language-processing",
|
|
160
|
-
"transformer",
|
|
161
|
-
"huggingface",
|
|
162
|
-
"langchain",
|
|
163
|
-
"llamaindex",
|
|
164
|
-
"prompt-engineering",
|
|
165
|
-
"rag",
|
|
166
|
-
"retrieval-augmented-generation",
|
|
167
|
-
"vector-database",
|
|
168
|
-
"embedding",
|
|
169
|
-
"fine-tuning",
|
|
170
|
-
"inference",
|
|
171
|
-
"streaming",
|
|
172
|
-
"websocket",
|
|
173
|
-
"rest-api",
|
|
174
|
-
"graphql",
|
|
175
|
-
"serverless",
|
|
176
|
-
"edge-computing",
|
|
177
|
-
"cloud",
|
|
178
|
-
"devops",
|
|
179
|
-
"monitoring",
|
|
180
|
-
"observability",
|
|
181
|
-
"tracing",
|
|
182
|
-
"logging",
|
|
183
|
-
"testing",
|
|
70
|
+
"deepseek",
|
|
71
|
+
"anthropic",
|
|
184
72
|
"benchmark",
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"prompt-injection",
|
|
194
|
-
"pii-detection",
|
|
195
|
-
"content-filtering",
|
|
196
|
-
"rate-limiting",
|
|
197
|
-
"sanitization",
|
|
198
|
-
"geo",
|
|
199
|
-
"generative-engine-optimization",
|
|
200
|
-
"ai-discoverability",
|
|
201
|
-
"llm-intent",
|
|
202
|
-
"code-generation",
|
|
203
|
-
"copilot",
|
|
204
|
-
"chatgpt",
|
|
205
|
-
"claude-code",
|
|
206
|
-
"ai-assistant",
|
|
207
|
-
"intent-mapping",
|
|
208
|
-
"openai-compatible",
|
|
209
|
-
"proxy-server",
|
|
210
|
-
"guardrails",
|
|
211
|
-
"semantic-cache",
|
|
212
|
-
"cost-analytics",
|
|
213
|
-
"llm-proxy",
|
|
214
|
-
"ai-gateway",
|
|
215
|
-
"provider-registry",
|
|
216
|
-
"together-ai",
|
|
217
|
-
"deepinfra"
|
|
73
|
+
"routing-accuracy",
|
|
74
|
+
"lightweight",
|
|
75
|
+
"no-gpu",
|
|
76
|
+
"keyword-routing",
|
|
77
|
+
"ai",
|
|
78
|
+
"llm",
|
|
79
|
+
"nlp",
|
|
80
|
+
"language-model"
|
|
218
81
|
],
|
|
219
82
|
"author": "Das-rebel <subho@example.com>",
|
|
220
83
|
"license": "MIT",
|
package/public/robots.txt
CHANGED
|
@@ -4,10 +4,20 @@
|
|
|
4
4
|
User-agent: *
|
|
5
5
|
Allow: /
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# Sitemaps
|
|
8
8
|
Sitemap: https://das-rebel.github.io/adaptive-memory-multi-model-router/sitemap.xml
|
|
9
9
|
|
|
10
|
-
#
|
|
10
|
+
# Allow all documentation and assets
|
|
11
|
+
Allow: /docs/
|
|
12
|
+
Allow: /docs-site/
|
|
13
|
+
Allow: /assets/
|
|
14
|
+
Allow: /public/
|
|
15
|
+
Allow: /llms.txt
|
|
16
|
+
Allow: /README.md
|
|
17
|
+
|
|
18
|
+
# Disallow internal/build paths
|
|
11
19
|
Disallow: /node_modules/
|
|
12
20
|
Disallow: /dist/
|
|
13
21
|
Disallow: /test/
|
|
22
|
+
Disallow: /src/
|
|
23
|
+
Disallow: /.git/
|
package/public/sitemap.xml
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<loc>https://www.npmjs.com/package/adaptive-memory-multi-model-router</loc>
|
|
17
17
|
<lastmod>2026-05-18</lastmod>
|
|
18
18
|
<changefreq>weekly</changefreq>
|
|
19
|
-
<priority>0.
|
|
19
|
+
<priority>0.9</priority>
|
|
20
20
|
</url>
|
|
21
21
|
<url>
|
|
22
22
|
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/docs/API.md</loc>
|
|
@@ -30,4 +30,40 @@
|
|
|
30
30
|
<changefreq>monthly</changefreq>
|
|
31
31
|
<priority>0.7</priority>
|
|
32
32
|
</url>
|
|
33
|
+
<url>
|
|
34
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/docs/GEO.md</loc>
|
|
35
|
+
<lastmod>2026-05-18</lastmod>
|
|
36
|
+
<changefreq>monthly</changefreq>
|
|
37
|
+
<priority>0.8</priority>
|
|
38
|
+
</url>
|
|
39
|
+
<url>
|
|
40
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/docs/SEO_AUDIT.md</loc>
|
|
41
|
+
<lastmod>2026-05-18</lastmod>
|
|
42
|
+
<changefreq>monthly</changefreq>
|
|
43
|
+
<priority>0.6</priority>
|
|
44
|
+
</url>
|
|
45
|
+
<url>
|
|
46
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/docs/CONFIGURATION.md</loc>
|
|
47
|
+
<lastmod>2026-05-18</lastmod>
|
|
48
|
+
<changefreq>monthly</changefreq>
|
|
49
|
+
<priority>0.6</priority>
|
|
50
|
+
</url>
|
|
51
|
+
<url>
|
|
52
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/docs/INTEGRATIONS.md</loc>
|
|
53
|
+
<lastmod>2026-05-18</lastmod>
|
|
54
|
+
<changefreq>monthly</changefreq>
|
|
55
|
+
<priority>0.6</priority>
|
|
56
|
+
</url>
|
|
57
|
+
<url>
|
|
58
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/benchmark-results.json</loc>
|
|
59
|
+
<lastmod>2026-05-18</lastmod>
|
|
60
|
+
<changefreq>monthly</changefreq>
|
|
61
|
+
<priority>0.5</priority>
|
|
62
|
+
</url>
|
|
63
|
+
<url>
|
|
64
|
+
<loc>https://github.com/Das-rebel/adaptive-memory-multi-model-router/blob/main/llms.txt</loc>
|
|
65
|
+
<lastmod>2026-05-18</lastmod>
|
|
66
|
+
<changefreq>monthly</changefreq>
|
|
67
|
+
<priority>0.5</priority>
|
|
68
|
+
</url>
|
|
33
69
|
</urlset>
|
|
@@ -13,9 +13,9 @@ const { extractQueryFeatures } = require('../dist/routing/advancedRouter.js');
|
|
|
13
13
|
|
|
14
14
|
// Tier boundaries (from providerConfig.ts routing logic)
|
|
15
15
|
function classifyComplexity(complexity) {
|
|
16
|
-
if (complexity < 0.
|
|
17
|
-
if (complexity < 0.
|
|
18
|
-
if (complexity < 0.
|
|
16
|
+
if (complexity < 0.20) return 'free';
|
|
17
|
+
if (complexity < 0.45) return 'cheap';
|
|
18
|
+
if (complexity < 0.65) return 'mid';
|
|
19
19
|
return 'premium';
|
|
20
20
|
}
|
|
21
21
|
|