@auto.router/models 2026.11.17 → 2026.11.19

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/README.md CHANGED
@@ -4,6 +4,45 @@ Prices, context windows and roles for the AI models [AutoRouter](https://autorou
4
4
 
5
5
  AutoRouter is a Mac app that puts these models in Codex and Claude Code and picks the right one for each task: [autorouter.com](https://autorouter.com).
6
6
 
7
+ ## Models
8
+
9
+ USD per million tokens, input / output. "On a plan" is AutoRouter's assumed price when a Claude or ChatGPT plan covers the model. "Plan value" is how many dollars of API-priced use the plan gives per dollar of its fee, so the plan price is the list price divided by it. `*` marks a model with no measurement of its own, which gets its vendor's lowest measured value. The nightly build rewrites this table from `models.json`.
10
+
11
+ <!-- models:start -->
12
+ | Model | Maker | Context | List price | On a plan | Plan value |
13
+ | --- | --- | --- | --- | --- | --- |
14
+ | Claude Fable 5.2 | Anthropic | 1M | $8 / $40 | $0.721 / $3.6 | 11.1x |
15
+ | GPT-6.2 Astra | OpenAI | 1.05M | $8 / $40 | $0.769 / $3.85 | 10.4x* |
16
+ | Claude Opus 5.5 | Anthropic | 1M | $4 / $20 | $0.0699 / $0.35 | 57.2x |
17
+ | GPT-5.6 Sol | OpenAI | 1.05M | $4 / $20 | $0.385 / $1.92 | 10.4x* |
18
+ | Claude Sonnet 5.5 | Anthropic | 1M | $2 / $10 | $0.0338 / $0.169 | 59.2x |
19
+ | Gemini 4 Carbon | Google | 1.05M | $2 / $10 | — | — |
20
+ | GPT-6 Sol | OpenAI | 1.05M | $2 / $10 | $0.154 / $0.769 | 13x |
21
+ | GPT-6.2 Sol | OpenAI | 1.05M | $2 / $10 | $0.192 / $0.962 | 10.4x* |
22
+ | Kimi K3.1 Pro | Moonshot AI | 1M | $2 / $10 | — | — |
23
+ | Grok 4.7 | xAI | 500K | $2 / $6 | — | — |
24
+ | GPT-6.1 Terra | OpenAI | 1.05M | $1 / $5 | $0.0961 / $0.481 | 10.4x* |
25
+ | Hy4 | Tencent | 1.05M | $0.417 / $1.25 | — | — |
26
+ | GPT-5.6 Luna | OpenAI | 1.05M | $0.2 / $1.2 | $0.0192 / $0.115 | 10.4x* |
27
+ | MiniMax M3.1 Flash | MiniMax | 1.05M | $0.15 / $0.6 | — | — |
28
+ | Claude Haiku 5.5 | Anthropic | 1M | $0.1 / $0.5 | $0.00901 / $0.045 | 11.1x* |
29
+ | GPT-6 Luna | OpenAI | 1.05M | $0.1 / $0.5 | $0.00962 / $0.0481 | 10.4x* |
30
+ | Muse Ember | Meta | 1.05M | $0.1 / $0.5 | — | — |
31
+ | Crouton Alpha | Unnamed | — | — | — | — |
32
+ | DeepSeek V4.1 Flash 1017 | DeepSeek | 1M | — | — | — |
33
+ | Gemini 4 Argon | Google | 1.05M | — | — | — |
34
+ | Gemini 4 Hydrogen | Google | 1M | — | — | — |
35
+ | Gemini 4 Neon | Google | 1M | — | — | — |
36
+ | GLM 5.3 | Z.ai | 1.05M | — | — | — |
37
+ | GLM 5.3 Flash | Z.ai | 1M | — | — | — |
38
+ | MiMo-V2.6-Flash | Xiaomi | 1.05M | — | — | — |
39
+ | MiMo-V2.6-Pro | Xiaomi | 1.05M | — | — | — |
40
+ | Muse Spark 1.3 | Meta | 1.05M | — | — | — |
41
+ | Muse Spark Open | Meta | 1.05M | — | — | — |
42
+ | Muse Wonder | Meta | 1.05M | — | — | — |
43
+ | Qwen4 Max | Alibaba | 1M | — | — | — |
44
+ <!-- models:end -->
45
+
7
46
  ## Use it
8
47
 
9
48
  Raw file:
@@ -47,16 +86,22 @@ Each entry in `models`:
47
86
  | `maxOutput` | Largest response in tokens |
48
87
  | `modalities` | `input` and `output` types, such as `text` and `image` |
49
88
  | `price` | List price in USD per million tokens, or `null` when no public price is known |
89
+ | `subscription` | AutoRouter's assumed price on a Claude or ChatGPT plan, USD per million tokens, or `null` |
50
90
 
51
91
  `price` has `input`, `cachedInput` (cache reads) and `output`, plus `source` (where the price was read) and `checked` (the day it was last checked, when known). `longContext`, when present, replaces the rate for prompts over `above` tokens.
52
92
 
93
+ `subscription` is `price` divided by `multiple`: a plan's API-priced value per month over its fee, from [SemiAnalysis](https://newsletter.semianalysis.com/p/anthropic-subscriptions-offer-5x) (lowest current tier, agentic workload). `measured: false` means the model has no measurement of its own and gets its vendor's least generous multiple, the way AutoRouter's router prices it. `allowanceCap` is the share of the plan this model may use, when capped.
94
+
95
+ Units: every price is USD per 1,000,000 tokens; `contextWindow` and `maxOutput` are tokens. The file's `units` field says the same.
96
+
53
97
  Any field without public evidence is `null`. `schema.json` is the JSON Schema for the file.
54
98
 
55
99
  ## Sources
56
100
 
57
101
  - Model list, names, roles and context windows: AutoRouter's public model list (`list_models` on `https://api.autorouter.com/v1/mcp/public`, no account needed).
58
102
  - Prices: AutoRouter's published list prices, the ones on [autorouter.com/models](https://autorouter.com/models). A price ships only when it comes from a public list (the vendor's own pricing page or OpenRouter's public API). Other gateway rates are left out, so some models have `price: null`.
59
- - Max output and modalities: [OpenRouter's public models API](https://openrouter.ai/api/v1/models).
103
+ - Max output and modalities: [models.dev](https://models.dev) (MIT), from the vendor's own entry or, failing that, its OpenRouter entry.
104
+ - Plan value multiples: [SemiAnalysis](https://newsletter.semianalysis.com/p/anthropic-subscriptions-offer-5x), in `data/subscription-value.json`.
60
105
 
61
106
  To rebuild locally:
62
107
 
package/index.d.ts CHANGED
@@ -22,10 +22,26 @@ export type Model = {
22
22
  checked: string | null;
23
23
  })
24
24
  | null;
25
+ /**
26
+ * AutoRouter's assumed price on a Claude or ChatGPT plan: `price` divided by
27
+ * the plan's value multiple. Null when no plan for the vendor is measured.
28
+ */
29
+ subscription:
30
+ | (Rate & {
31
+ multiple: number;
32
+ /** False when the vendor's least generous measured multiple stands in. */
33
+ measured: boolean;
34
+ plans: string[] | null;
35
+ /** Share of the plan's allowance this model may use, when capped. */
36
+ allowanceCap: number | null;
37
+ })
38
+ | null;
25
39
  };
26
40
 
27
41
  export type Dataset = {
28
42
  description: string;
43
+ units: Record<string, string>;
44
+ subscriptionValue: { measured: string; workload: string; note: string };
29
45
  sources: Record<string, string>;
30
46
  models: Model[];
31
47
  };
package/models.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "$schema": "./schema.json",
3
- "description": "AI models AutoRouter adds to Codex and Claude Code: list prices in USD per million tokens, context windows and roles. https://autorouter.com/models",
3
+ "description": "AI models AutoRouter adds to Codex and Claude Code: list prices, assumed prices on a Claude or ChatGPT plan, context windows and roles. https://autorouter.com/models",
4
+ "units": {
5
+ "price": "USD per 1,000,000 tokens",
6
+ "subscription": "USD per 1,000,000 tokens, list price divided by the plan's value multiple",
7
+ "contextWindow": "tokens",
8
+ "maxOutput": "tokens"
9
+ },
4
10
  "sources": {
5
11
  "models": "https://api.autorouter.com/v1/mcp/public",
6
12
  "prices": "https://autorouter.com/models",
7
- "limits": "https://openrouter.ai/api/v1/models"
13
+ "limits": "https://models.dev/api.json",
14
+ "subscription": "https://newsletter.semianalysis.com/p/anthropic-subscriptions-offer-5x"
15
+ },
16
+ "subscriptionValue": {
17
+ "measured": "2026-11-10",
18
+ "workload": "agentic: 0.4% uncached input, 96.6% cache read, 2.6% cache write, 0.3% output",
19
+ "note": "multiple = a plan's API-priced value per month divided by its monthly fee, for the lowest current tier of each model. Claude Fable 5.2 postdates the article; AutoRouter measured it from a Max 20x account's rate-limit headers (plausible range 10.3x-13.5x), and its allowance cap is carried over from Fable 5.1."
8
20
  },
9
21
  "models": [
10
22
  {
@@ -17,8 +29,8 @@
17
29
  "maxOutput": 128000,
18
30
  "modalities": {
19
31
  "input": [
20
- "file",
21
32
  "image",
33
+ "pdf",
22
34
  "text"
23
35
  ],
24
36
  "output": [
@@ -31,6 +43,18 @@
31
43
  "output": 40,
32
44
  "source": "https://platform.claude.com/docs/en/about-claude/pricing",
33
45
  "checked": "2026-11-09"
46
+ },
47
+ "subscription": {
48
+ "multiple": 11.1,
49
+ "measured": true,
50
+ "plans": [
51
+ "max_5x",
52
+ "max_20x"
53
+ ],
54
+ "allowanceCap": 0.5,
55
+ "input": 0.7207,
56
+ "cachedInput": 0.01802,
57
+ "output": 3.604
34
58
  }
35
59
  },
36
60
  {
@@ -43,8 +67,8 @@
43
67
  "maxOutput": 128000,
44
68
  "modalities": {
45
69
  "input": [
46
- "file",
47
70
  "image",
71
+ "pdf",
48
72
  "text"
49
73
  ],
50
74
  "output": [
@@ -63,6 +87,15 @@
63
87
  },
64
88
  "source": "https://platform.claude.com/docs/en/about-claude/pricing",
65
89
  "checked": "2026-11-09"
90
+ },
91
+ "subscription": {
92
+ "multiple": 11.1,
93
+ "measured": false,
94
+ "plans": null,
95
+ "allowanceCap": null,
96
+ "input": 0.009009,
97
+ "cachedInput": 0.0009009,
98
+ "output": 0.04505
66
99
  }
67
100
  },
68
101
  {
@@ -75,8 +108,8 @@
75
108
  "maxOutput": 128000,
76
109
  "modalities": {
77
110
  "input": [
78
- "file",
79
111
  "image",
112
+ "pdf",
80
113
  "text"
81
114
  ],
82
115
  "output": [
@@ -89,6 +122,19 @@
89
122
  "output": 20,
90
123
  "source": "https://platform.claude.com/docs/en/about-claude/pricing",
91
124
  "checked": "2026-11-09"
125
+ },
126
+ "subscription": {
127
+ "multiple": 57.2,
128
+ "measured": true,
129
+ "plans": [
130
+ "pro",
131
+ "max_5x",
132
+ "max_20x"
133
+ ],
134
+ "allowanceCap": null,
135
+ "input": 0.06993,
136
+ "cachedInput": 0.003497,
137
+ "output": 0.3497
92
138
  }
93
139
  },
94
140
  {
@@ -101,8 +147,8 @@
101
147
  "maxOutput": 128000,
102
148
  "modalities": {
103
149
  "input": [
104
- "file",
105
150
  "image",
151
+ "pdf",
106
152
  "text"
107
153
  ],
108
154
  "output": [
@@ -115,6 +161,19 @@
115
161
  "output": 10,
116
162
  "source": "https://platform.claude.com/docs/en/about-claude/pricing",
117
163
  "checked": "2026-11-09"
164
+ },
165
+ "subscription": {
166
+ "multiple": 59.2,
167
+ "measured": true,
168
+ "plans": [
169
+ "pro",
170
+ "max_5x",
171
+ "max_20x"
172
+ ],
173
+ "allowanceCap": null,
174
+ "input": 0.03378,
175
+ "cachedInput": 0.001689,
176
+ "output": 0.1689
118
177
  }
119
178
  },
120
179
  {
@@ -124,7 +183,7 @@
124
183
  "maker": "DeepSeek",
125
184
  "role": "Bounded, well-specified code changes that are easy to verify.",
126
185
  "contextWindow": 1000000,
127
- "maxOutput": 943718,
186
+ "maxOutput": 393216,
128
187
  "modalities": {
129
188
  "input": [
130
189
  "image",
@@ -134,7 +193,8 @@
134
193
  "text"
135
194
  ]
136
195
  },
137
- "price": null
196
+ "price": null,
197
+ "subscription": null
138
198
  },
139
199
  {
140
200
  "id": "google/gemini-4-argon",
@@ -143,12 +203,12 @@
143
203
  "maker": "Google",
144
204
  "role": "Earlier Gemini 4 model, kept alongside Carbon and Hydrogen.",
145
205
  "contextWindow": 1048576,
146
- "maxOutput": 943718,
206
+ "maxOutput": 32768,
147
207
  "modalities": {
148
208
  "input": [
149
209
  "audio",
150
- "file",
151
210
  "image",
211
+ "pdf",
152
212
  "text",
153
213
  "video"
154
214
  ],
@@ -156,7 +216,8 @@
156
216
  "text"
157
217
  ]
158
218
  },
159
- "price": null
219
+ "price": null,
220
+ "subscription": null
160
221
  },
161
222
  {
162
223
  "id": "google/gemini-4-carbon",
@@ -165,12 +226,12 @@
165
226
  "maker": "Google",
166
227
  "role": "Sustained agentic engineering and complex coding.",
167
228
  "contextWindow": 1048576,
168
- "maxOutput": 943718,
229
+ "maxOutput": 32768,
169
230
  "modalities": {
170
231
  "input": [
171
232
  "audio",
172
- "file",
173
233
  "image",
234
+ "pdf",
174
235
  "text",
175
236
  "video"
176
237
  ],
@@ -184,7 +245,8 @@
184
245
  "output": 10,
185
246
  "source": "https://openrouter.ai/api/v1/models",
186
247
  "checked": "2026-11-11"
187
- }
248
+ },
249
+ "subscription": null
188
250
  },
189
251
  {
190
252
  "id": "google/gemini-4-hydrogen",
@@ -193,12 +255,12 @@
193
255
  "maker": "Google",
194
256
  "role": "Fast, lower-cost everyday coding and agentic work.",
195
257
  "contextWindow": 1000000,
196
- "maxOutput": 943718,
258
+ "maxOutput": 65536,
197
259
  "modalities": {
198
260
  "input": [
199
261
  "audio",
200
- "file",
201
262
  "image",
263
+ "pdf",
202
264
  "text",
203
265
  "video"
204
266
  ],
@@ -206,7 +268,31 @@
206
268
  "text"
207
269
  ]
208
270
  },
209
- "price": null
271
+ "price": null,
272
+ "subscription": null
273
+ },
274
+ {
275
+ "id": "google/gemini-4-neon",
276
+ "name": "Gemini 4 Neon",
277
+ "vendor": "google",
278
+ "maker": "Google",
279
+ "role": "Coding and agentic work near Carbon's level, using fewer tokens.",
280
+ "contextWindow": 1000000,
281
+ "maxOutput": 65536,
282
+ "modalities": {
283
+ "input": [
284
+ "audio",
285
+ "image",
286
+ "pdf",
287
+ "text",
288
+ "video"
289
+ ],
290
+ "output": [
291
+ "text"
292
+ ]
293
+ },
294
+ "price": null,
295
+ "subscription": null
210
296
  },
211
297
  {
212
298
  "id": "meta/muse-ember",
@@ -219,8 +305,8 @@
219
305
  "modalities": {
220
306
  "input": [
221
307
  "audio",
222
- "file",
223
308
  "image",
309
+ "pdf",
224
310
  "text",
225
311
  "video"
226
312
  ],
@@ -234,7 +320,8 @@
234
320
  "output": 0.5,
235
321
  "source": "https://openrouter.ai/api/v1/models",
236
322
  "checked": "2026-11-11"
237
- }
323
+ },
324
+ "subscription": null
238
325
  },
239
326
  {
240
327
  "id": "meta/muse-spark-1.3",
@@ -243,11 +330,12 @@
243
330
  "maker": "Meta",
244
331
  "role": "Metered choice for medium tasks when no subscription has allowance.",
245
332
  "contextWindow": 1048576,
246
- "maxOutput": 943718,
333
+ "maxOutput": 131072,
247
334
  "modalities": {
248
335
  "input": [
249
- "file",
336
+ "audio",
250
337
  "image",
338
+ "pdf",
251
339
  "text",
252
340
  "video"
253
341
  ],
@@ -255,7 +343,8 @@
255
343
  "text"
256
344
  ]
257
345
  },
258
- "price": null
346
+ "price": null,
347
+ "subscription": null
259
348
  },
260
349
  {
261
350
  "id": "meta/muse-spark-open",
@@ -268,8 +357,8 @@
268
357
  "modalities": {
269
358
  "input": [
270
359
  "audio",
271
- "file",
272
360
  "image",
361
+ "pdf",
273
362
  "text",
274
363
  "video"
275
364
  ],
@@ -277,7 +366,8 @@
277
366
  "text"
278
367
  ]
279
368
  },
280
- "price": null
369
+ "price": null,
370
+ "subscription": null
281
371
  },
282
372
  {
283
373
  "id": "meta/muse-wonder",
@@ -290,8 +380,8 @@
290
380
  "modalities": {
291
381
  "input": [
292
382
  "audio",
293
- "file",
294
383
  "image",
384
+ "pdf",
295
385
  "text",
296
386
  "video"
297
387
  ],
@@ -299,7 +389,8 @@
299
389
  "text"
300
390
  ]
301
391
  },
302
- "price": null
392
+ "price": null,
393
+ "subscription": null
303
394
  },
304
395
  {
305
396
  "id": "minimax/minimax-m3.1-flash",
@@ -325,7 +416,8 @@
325
416
  "output": 0.6,
326
417
  "source": "https://openrouter.ai/api/v1/models",
327
418
  "checked": "2026-11-11"
328
- }
419
+ },
420
+ "subscription": null
329
421
  },
330
422
  {
331
423
  "id": "moonshot/kimi-k3.1-pro",
@@ -334,7 +426,7 @@
334
426
  "maker": "Moonshot AI",
335
427
  "role": "Open-weight reasoning and coding across long supplied documents.",
336
428
  "contextWindow": 1000000,
337
- "maxOutput": 943718,
429
+ "maxOutput": 1048576,
338
430
  "modalities": {
339
431
  "input": [
340
432
  "image",
@@ -351,7 +443,8 @@
351
443
  "output": 10,
352
444
  "source": "https://openrouter.ai/api/v1/models",
353
445
  "checked": "2026-11-11"
354
- }
446
+ },
447
+ "subscription": null
355
448
  },
356
449
  {
357
450
  "id": "openai/gpt-5.6-luna",
@@ -363,8 +456,8 @@
363
456
  "maxOutput": 128000,
364
457
  "modalities": {
365
458
  "input": [
366
- "file",
367
459
  "image",
460
+ "pdf",
368
461
  "text"
369
462
  ],
370
463
  "output": [
@@ -377,6 +470,15 @@
377
470
  "output": 1.2,
378
471
  "source": "https://openai.com/api/pricing",
379
472
  "checked": null
473
+ },
474
+ "subscription": {
475
+ "multiple": 10.4,
476
+ "measured": false,
477
+ "plans": null,
478
+ "allowanceCap": null,
479
+ "input": 0.01923,
480
+ "cachedInput": 0.001923,
481
+ "output": 0.1154
380
482
  }
381
483
  },
382
484
  {
@@ -389,8 +491,8 @@
389
491
  "maxOutput": 128000,
390
492
  "modalities": {
391
493
  "input": [
392
- "file",
393
494
  "image",
495
+ "pdf",
394
496
  "text"
395
497
  ],
396
498
  "output": [
@@ -403,6 +505,15 @@
403
505
  "output": 20,
404
506
  "source": "https://openai.com/api/pricing",
405
507
  "checked": null
508
+ },
509
+ "subscription": {
510
+ "multiple": 10.4,
511
+ "measured": false,
512
+ "plans": null,
513
+ "allowanceCap": null,
514
+ "input": 0.3846,
515
+ "cachedInput": 0.03846,
516
+ "output": 1.923
406
517
  }
407
518
  },
408
519
  {
@@ -415,8 +526,8 @@
415
526
  "maxOutput": 128000,
416
527
  "modalities": {
417
528
  "input": [
418
- "file",
419
529
  "image",
530
+ "pdf",
420
531
  "text"
421
532
  ],
422
533
  "output": [
@@ -429,6 +540,15 @@
429
540
  "output": 0.5,
430
541
  "source": "https://openai.com/api/pricing",
431
542
  "checked": null
543
+ },
544
+ "subscription": {
545
+ "multiple": 10.4,
546
+ "measured": false,
547
+ "plans": null,
548
+ "allowanceCap": null,
549
+ "input": 0.009615,
550
+ "cachedInput": 0.0009615,
551
+ "output": 0.04808
432
552
  }
433
553
  },
434
554
  {
@@ -441,8 +561,8 @@
441
561
  "maxOutput": 128000,
442
562
  "modalities": {
443
563
  "input": [
444
- "file",
445
564
  "image",
565
+ "pdf",
446
566
  "text"
447
567
  ],
448
568
  "output": [
@@ -455,6 +575,20 @@
455
575
  "output": 10,
456
576
  "source": "https://openai.com/api/pricing",
457
577
  "checked": null
578
+ },
579
+ "subscription": {
580
+ "multiple": 13,
581
+ "measured": true,
582
+ "plans": [
583
+ "plus",
584
+ "pro_100",
585
+ "pro_200",
586
+ "pro_500"
587
+ ],
588
+ "allowanceCap": null,
589
+ "input": 0.1538,
590
+ "cachedInput": 0.01538,
591
+ "output": 0.7692
458
592
  }
459
593
  },
460
594
  {
@@ -467,8 +601,8 @@
467
601
  "maxOutput": 128000,
468
602
  "modalities": {
469
603
  "input": [
470
- "file",
471
604
  "image",
605
+ "pdf",
472
606
  "text"
473
607
  ],
474
608
  "output": [
@@ -481,6 +615,15 @@
481
615
  "output": 5,
482
616
  "source": "https://openrouter.ai/api/v1/models",
483
617
  "checked": "2026-11-11"
618
+ },
619
+ "subscription": {
620
+ "multiple": 10.4,
621
+ "measured": false,
622
+ "plans": null,
623
+ "allowanceCap": null,
624
+ "input": 0.09615,
625
+ "cachedInput": 0.004808,
626
+ "output": 0.4808
484
627
  }
485
628
  },
486
629
  {
@@ -493,8 +636,8 @@
493
636
  "maxOutput": 128000,
494
637
  "modalities": {
495
638
  "input": [
496
- "file",
497
639
  "image",
640
+ "pdf",
498
641
  "text"
499
642
  ],
500
643
  "output": [
@@ -507,6 +650,15 @@
507
650
  "output": 40,
508
651
  "source": "https://openai.com/api/pricing",
509
652
  "checked": "2026-11-17"
653
+ },
654
+ "subscription": {
655
+ "multiple": 10.4,
656
+ "measured": false,
657
+ "plans": null,
658
+ "allowanceCap": null,
659
+ "input": 0.7692,
660
+ "cachedInput": 0.03846,
661
+ "output": 3.846
510
662
  }
511
663
  },
512
664
  {
@@ -519,8 +671,8 @@
519
671
  "maxOutput": 128000,
520
672
  "modalities": {
521
673
  "input": [
522
- "file",
523
674
  "image",
675
+ "pdf",
524
676
  "text"
525
677
  ],
526
678
  "output": [
@@ -533,6 +685,15 @@
533
685
  "output": 10,
534
686
  "source": "https://openai.com/api/pricing",
535
687
  "checked": "2026-11-17"
688
+ },
689
+ "subscription": {
690
+ "multiple": 10.4,
691
+ "measured": false,
692
+ "plans": null,
693
+ "allowanceCap": null,
694
+ "input": 0.1923,
695
+ "cachedInput": 0.009615,
696
+ "output": 0.9615
536
697
  }
537
698
  },
538
699
  {
@@ -553,7 +714,8 @@
553
714
  "text"
554
715
  ]
555
716
  },
556
- "price": null
717
+ "price": null,
718
+ "subscription": null
557
719
  },
558
720
  {
559
721
  "id": "stealth/crouton-alpha",
@@ -564,7 +726,8 @@
564
726
  "contextWindow": null,
565
727
  "maxOutput": null,
566
728
  "modalities": null,
567
- "price": null
729
+ "price": null,
730
+ "subscription": null
568
731
  },
569
732
  {
570
733
  "id": "tencent/hy4",
@@ -589,7 +752,8 @@
589
752
  "output": 1.2505,
590
753
  "source": "https://openrouter.ai/api/v1/models",
591
754
  "checked": "2026-11-11"
592
- }
755
+ },
756
+ "subscription": null
593
757
  },
594
758
  {
595
759
  "id": "xai/grok-4.7",
@@ -598,11 +762,11 @@
598
762
  "maker": "xAI",
599
763
  "role": "A second opinion when you ask for one.",
600
764
  "contextWindow": 500000,
601
- "maxOutput": 450000,
765
+ "maxOutput": 500000,
602
766
  "modalities": {
603
767
  "input": [
604
- "file",
605
768
  "image",
769
+ "pdf",
606
770
  "text"
607
771
  ],
608
772
  "output": [
@@ -615,7 +779,8 @@
615
779
  "output": 6,
616
780
  "source": "https://openrouter.ai/api/v1/models",
617
781
  "checked": "2026-11-11"
618
- }
782
+ },
783
+ "subscription": null
619
784
  },
620
785
  {
621
786
  "id": "xiaomi/mimo-v2.6-flash",
@@ -636,7 +801,8 @@
636
801
  "text"
637
802
  ]
638
803
  },
639
- "price": null
804
+ "price": null,
805
+ "subscription": null
640
806
  },
641
807
  {
642
808
  "id": "xiaomi/mimo-v2.6-pro",
@@ -657,7 +823,8 @@
657
823
  "text"
658
824
  ]
659
825
  },
660
- "price": null
826
+ "price": null,
827
+ "subscription": null
661
828
  },
662
829
  {
663
830
  "id": "zai/glm-5.3-flash",
@@ -670,6 +837,7 @@
670
837
  "modalities": {
671
838
  "input": [
672
839
  "image",
840
+ "pdf",
673
841
  "text",
674
842
  "video"
675
843
  ],
@@ -677,7 +845,8 @@
677
845
  "text"
678
846
  ]
679
847
  },
680
- "price": null
848
+ "price": null,
849
+ "subscription": null
681
850
  },
682
851
  {
683
852
  "id": "zai/glm-5p3",
@@ -686,7 +855,7 @@
686
855
  "maker": "Z.ai",
687
856
  "role": "Higher-capability open-weight coding.",
688
857
  "contextWindow": 1048576,
689
- "maxOutput": 943718,
858
+ "maxOutput": 131072,
690
859
  "modalities": {
691
860
  "input": [
692
861
  "text"
@@ -695,7 +864,8 @@
695
864
  "text"
696
865
  ]
697
866
  },
698
- "price": null
867
+ "price": null,
868
+ "subscription": null
699
869
  }
700
870
  ]
701
871
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auto.router/models",
3
- "version": "2026.11.17",
3
+ "version": "2026.11.19",
4
4
  "description": "AI model prices, context windows and roles, as JSON. From AutoRouter.",
5
5
  "private": false,
6
6
  "type": "module",
package/schema.json CHANGED
@@ -3,11 +3,22 @@
3
3
  "$id": "https://github.com/fractal-works/autorouter-models/schema.json",
4
4
  "title": "AutoRouter models",
5
5
  "type": "object",
6
- "required": ["description", "sources", "models"],
6
+ "required": ["description", "units", "sources", "subscriptionValue", "models"],
7
7
  "additionalProperties": false,
8
8
  "properties": {
9
9
  "$schema": { "type": "string" },
10
10
  "description": { "type": "string" },
11
+ "units": { "type": "object", "additionalProperties": { "type": "string" } },
12
+ "subscriptionValue": {
13
+ "type": "object",
14
+ "required": ["measured", "workload", "note"],
15
+ "additionalProperties": false,
16
+ "properties": {
17
+ "measured": { "type": "string", "format": "date" },
18
+ "workload": { "type": "string" },
19
+ "note": { "type": "string" }
20
+ }
21
+ },
11
22
  "sources": {
12
23
  "type": "object",
13
24
  "additionalProperties": { "type": "string", "format": "uri" }
@@ -21,7 +32,7 @@
21
32
  "$defs": {
22
33
  "model": {
23
34
  "type": "object",
24
- "required": ["id", "name", "vendor", "maker", "role", "contextWindow", "maxOutput", "modalities", "price"],
35
+ "required": ["id", "name", "vendor", "maker", "role", "contextWindow", "maxOutput", "modalities", "price", "subscription"],
25
36
  "additionalProperties": false,
26
37
  "properties": {
27
38
  "id": { "type": "string", "pattern": "^[a-z0-9-]+/[a-z0-9][a-z0-9.-]*$" },
@@ -72,6 +83,25 @@
72
83
  }
73
84
  }
74
85
  ]
86
+ },
87
+ "subscription": {
88
+ "oneOf": [
89
+ { "type": "null" },
90
+ {
91
+ "type": "object",
92
+ "required": ["multiple", "measured", "plans", "allowanceCap", "input", "cachedInput", "output"],
93
+ "additionalProperties": false,
94
+ "properties": {
95
+ "multiple": { "type": "number", "exclusiveMinimum": 1 },
96
+ "measured": { "type": "boolean" },
97
+ "plans": { "type": ["array", "null"], "items": { "type": "string" } },
98
+ "allowanceCap": { "type": ["number", "null"], "exclusiveMinimum": 0, "exclusiveMaximum": 1 },
99
+ "input": { "$ref": "#/$defs/usd" },
100
+ "cachedInput": { "$ref": "#/$defs/usd" },
101
+ "output": { "$ref": "#/$defs/usd" }
102
+ }
103
+ }
104
+ ]
75
105
  }
76
106
  }
77
107
  },