@grida/ai-models 2.20261118.1 → 2.20261119.0

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
@@ -5,7 +5,7 @@ provider bindings, and published prices, with the labs that make them and their
5
5
  logos. Every fact cites a first-party source.
6
6
 
7
7
  This package is the data, published unchanged from release
8
- [`v2.20261118.1`](https://github.com/gridaco/models/releases/tag/v2.20261118.1) of [gridaco/models](https://github.com/gridaco/models). It contains no code.
8
+ [`v2.20261119.0`](https://github.com/gridaco/models/releases/tag/v2.20261119.0) of [gridaco/models](https://github.com/gridaco/models). It contains no code.
9
9
 
10
10
  | file | contents |
11
11
  | --- | --- |
@@ -26,7 +26,7 @@ From a CDN, without installing:
26
26
 
27
27
  ```
28
28
  https://cdn.jsdelivr.net/npm/@grida/ai-models@2/models.json
29
- https://cdn.jsdelivr.net/npm/@grida/ai-models@2.20261118.1/models.json
29
+ https://cdn.jsdelivr.net/npm/@grida/ai-models@2.20261119.0/models.json
30
30
  ```
31
31
 
32
32
  ## Versions
@@ -11,6 +11,27 @@ An entry linked to an open PR does not mean the change has been released. See
11
11
 
12
12
  ## Schema v2
13
13
 
14
+ ### 2026-11-19 — Text bindings may describe Fast offerings and modes
15
+
16
+ References [issue #53](https://github.com/gridaco/models/issues/53) and
17
+ [PR #54](https://github.com/gridaco/models/pull/54).
18
+
19
+ **Change** adds optional `offerings` and `modes` on text provider bindings. A
20
+ dedicated Fast call ID has its own offering record linked to its canonical model.
21
+ Same-ID Fast uses `modes.fast` with a provider request selector. The records carry
22
+ their own sourced serving terms. Existing input endpoints retain their meaning.
23
+ Generation rejects non-finite numbers, including in nested request selectors,
24
+ before writing catalogue JSON.
25
+
26
+ **Compatibility** is additive. Existing cards continue to validate, and the
27
+ previous v2 schema accepts the new optional binding fields. The v2 envelope,
28
+ model IDs and existing binding and price fields retain their meanings.
29
+
30
+ **Migration** is optional for consumers using existing fields. Consumers that
31
+ offer exact provider-ID lookup can index dedicated `offerings` by provider and
32
+ call ID. Consumers that display same-ID Fast should read `modes.fast` on the base
33
+ binding. Review compatibility before defining additional modes.
34
+
14
35
  ### 2026-11-15 — Decision offerings may omit an underlying model
15
36
 
16
37
  Reference: [#44](https://github.com/gridaco/models/pull/44).
package/manifest.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "grida-models",
3
- "version": "v2.20261118.1",
3
+ "version": "v2.20261119.0",
4
4
  "schema_version": 2,
5
- "commit": "9a85fe9619b863d86359533dfc4dfd68e9ecf100",
6
- "created": "2026-11-18T15:35:40Z",
7
- "source": "https://github.com/gridaco/models/tree/9a85fe9619b863d86359533dfc4dfd68e9ecf100/catalogue",
8
- "digest": "sha256:32da36feb651a1bb6f18f6eb7852040b79a2110fde99429a9b20f1f8b989f67e",
5
+ "commit": "18a0a538376d0537d0d7bdc66c95e76cb97de331",
6
+ "created": "2026-11-19T08:58:37Z",
7
+ "source": "https://github.com/gridaco/models/tree/18a0a538376d0537d0d7bdc66c95e76cb97de331/catalogue",
8
+ "digest": "sha256:e06c1d6b716fec41742cf040600bd39b61363eac46fc8f52cf41b1a8edd66cfd",
9
9
  "counts": {
10
10
  "cards": 111,
11
11
  "labs": 18
@@ -16,12 +16,12 @@
16
16
  "bytes": 114466
17
17
  },
18
18
  "README.md": {
19
- "sha256": "02a012d4a62236c014e5f655e31d4e934981520788bde96788d1db3ba3eb9322",
20
- "bytes": 31381
19
+ "sha256": "525268faf6ccdbaeed229d494133827c0452e5b90a37205c742eca2ab4731c22",
20
+ "bytes": 34020
21
21
  },
22
22
  "SCHEMA_CHANGELOG.md": {
23
- "sha256": "4ce477fc504b676055aa4d713a75879327c1a001efa55c4cfacd886682aec17c",
24
- "bytes": 4043
23
+ "sha256": "771aa456884747316a91b46a63b689a049c270f9ced8e1e7a619463528eba669",
24
+ "bytes": 5203
25
25
  },
26
26
  "labs.json": {
27
27
  "sha256": "b3267fae072fb4b6083f464117a9d5109b5b1237211b8541ecb083b86fd26c53",
@@ -96,16 +96,16 @@
96
96
  "bytes": 330
97
97
  },
98
98
  "models.json": {
99
- "sha256": "ce214c881aa009f21f6126cb97812df1dfb456cca05b47fccd98377719013aa8",
100
- "bytes": 1197807
99
+ "sha256": "ff5238528cdcdab1b020121338b82b23c2bc9daa76d1aeeb1b908afb17fa7900",
100
+ "bytes": 1202762
101
101
  },
102
102
  "schemas/labs.schema.json": {
103
103
  "sha256": "a720f50f9ee5c3ddd2fccf50e38ddecec686896b768a52cc987df52668171f07",
104
104
  "bytes": 2469
105
105
  },
106
106
  "schemas/models.schema.json": {
107
- "sha256": "d095009e7d362f70d37116a90a48f9b44fd252d4c578983c79076fc6eba212c9",
108
- "bytes": 40443
107
+ "sha256": "40cffd6b255feb9401b2f7b386e536404c06f7ddfc9b01ac265ec271f4d84162",
108
+ "bytes": 42993
109
109
  }
110
110
  }
111
111
  }
package/models.json CHANGED
@@ -14298,7 +14298,28 @@
14298
14298
  "usd_per_unit": "0.001"
14299
14299
  }
14300
14300
  ]
14301
- }
14301
+ },
14302
+ "illustrative_costs": [
14303
+ {
14304
+ "amount": "0.04",
14305
+ "currency": "USD",
14306
+ "scenario": "One 1024 × 1024 PNG output from a short text prompt.",
14307
+ "coverage": "Includes one output image and a short text prompt. Actual usage varies with input tokens.",
14308
+ "unit": "image",
14309
+ "per_quantity": "1",
14310
+ "label": "1K",
14311
+ "provenance": {
14312
+ "maintenance": "manual",
14313
+ "description": "Manual Gateway estimate of USD 0.04, based on the published 1K image-output example of USD 0.034816 before text input. The example is rounded up to allow for a short prompt and billing rounding.",
14314
+ "reviewed_on": "2026-11-19",
14315
+ "source_urls": [
14316
+ "https://gateway.grida.ai/v1/models",
14317
+ "https://gateway.grida.ai/schemas/operations.json#/$defs/image.microsoft.mai-image-2.7.text.input",
14318
+ "https://fal.ai/models/microsoft/mai-image-2.7/text-to-image"
14319
+ ]
14320
+ }
14321
+ }
14322
+ ]
14302
14323
  },
14303
14324
  {
14304
14325
  "id": "image.microsoft.mai-image-2.7.references",
@@ -14324,7 +14345,28 @@
14324
14345
  "usd_per_unit": "0.001"
14325
14346
  }
14326
14347
  ]
14327
- }
14348
+ },
14349
+ "illustrative_costs": [
14350
+ {
14351
+ "amount": "0.045",
14352
+ "currency": "USD",
14353
+ "scenario": "One 1024 × 1024 PNG output with a short edit prompt and one 1024 × 1024 reference image.",
14354
+ "coverage": "Includes one output image, one reference image and a short edit prompt. Actual usage varies with input tokens.",
14355
+ "unit": "image",
14356
+ "per_quantity": "1",
14357
+ "label": "1K · 1 reference",
14358
+ "provenance": {
14359
+ "maintenance": "manual",
14360
+ "description": "Manual Gateway estimate of USD 0.045, based on the published 1K reference and output image-token example of USD 0.043008 before text input. The example is rounded up to allow for a short prompt and billing rounding.",
14361
+ "reviewed_on": "2026-11-19",
14362
+ "source_urls": [
14363
+ "https://gateway.grida.ai/v1/models",
14364
+ "https://gateway.grida.ai/schemas/operations.json#/$defs/image.microsoft.mai-image-2.7.references.input",
14365
+ "https://fal.ai/models/microsoft/mai-image-2.7/edit"
14366
+ ]
14367
+ }
14368
+ }
14369
+ ]
14328
14370
  }
14329
14371
  ]
14330
14372
  }
@@ -14550,7 +14592,28 @@
14550
14592
  "usd_per_unit": "0.001"
14551
14593
  }
14552
14594
  ]
14553
- }
14595
+ },
14596
+ "illustrative_costs": [
14597
+ {
14598
+ "amount": "0.011",
14599
+ "currency": "USD",
14600
+ "scenario": "One 1024 × 1024 PNG output from a short text prompt.",
14601
+ "coverage": "Includes one output image and a short text prompt. Actual usage varies with input tokens.",
14602
+ "unit": "image",
14603
+ "per_quantity": "1",
14604
+ "label": "1K",
14605
+ "provenance": {
14606
+ "maintenance": "manual",
14607
+ "description": "Manual Gateway estimate of USD 0.011, based on the published 1K image-output example of USD 0.01024 before text input. The example is rounded up to allow for a short prompt and billing rounding.",
14608
+ "reviewed_on": "2026-11-19",
14609
+ "source_urls": [
14610
+ "https://gateway.grida.ai/v1/models",
14611
+ "https://gateway.grida.ai/schemas/operations.json#/$defs/image.microsoft.mai-image-2.7-flash.text.input",
14612
+ "https://fal.ai/models/microsoft/mai-image-2.7/flash/text-to-image"
14613
+ ]
14614
+ }
14615
+ }
14616
+ ]
14554
14617
  },
14555
14618
  {
14556
14619
  "id": "image.microsoft.mai-image-2.7-flash.references",
@@ -14576,7 +14639,28 @@
14576
14639
  "usd_per_unit": "0.001"
14577
14640
  }
14578
14641
  ]
14579
- }
14642
+ },
14643
+ "illustrative_costs": [
14644
+ {
14645
+ "amount": "0.014",
14646
+ "currency": "USD",
14647
+ "scenario": "One 1024 × 1024 PNG output with a short edit prompt and one 1024 × 1024 reference image.",
14648
+ "coverage": "Includes one output image, one reference image and a short edit prompt. Actual usage varies with input tokens.",
14649
+ "unit": "image",
14650
+ "per_quantity": "1",
14651
+ "label": "1K · 1 reference",
14652
+ "provenance": {
14653
+ "maintenance": "manual",
14654
+ "description": "Manual Gateway estimate of USD 0.014, based on the published 1K reference and output image-token example of USD 0.0128 before text input. The example is rounded up to allow for a short prompt and billing rounding.",
14655
+ "reviewed_on": "2026-11-19",
14656
+ "source_urls": [
14657
+ "https://gateway.grida.ai/v1/models",
14658
+ "https://gateway.grida.ai/schemas/operations.json#/$defs/image.microsoft.mai-image-2.7-flash.references.input",
14659
+ "https://fal.ai/models/microsoft/mai-image-2.7/flash/edit"
14660
+ ]
14661
+ }
14662
+ }
14663
+ ]
14580
14664
  }
14581
14665
  ]
14582
14666
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grida/ai-models",
3
- "version": "2.20261118.1",
3
+ "version": "2.20261119.0",
4
4
  "description": "A hand-curated, source-backed catalogue of AI models, their labs, and published prices.",
5
5
  "keywords": [
6
6
  "ai",
@@ -409,6 +409,32 @@
409
409
  "type": "integer",
410
410
  "minimum": 1
411
411
  },
412
+ "providers": {
413
+ "type": "object",
414
+ "additionalProperties": {
415
+ "type": "object",
416
+ "properties": {
417
+ "offerings": {
418
+ "type": "object",
419
+ "minProperties": 1,
420
+ "propertyNames": { "minLength": 1 },
421
+ "additionalProperties": {
422
+ "$ref": "#/$defs/fast_offering"
423
+ }
424
+ },
425
+ "modes": {
426
+ "type": "object",
427
+ "additionalProperties": false,
428
+ "required": ["fast"],
429
+ "properties": {
430
+ "fast": {
431
+ "$ref": "#/$defs/fast_mode"
432
+ }
433
+ }
434
+ }
435
+ }
436
+ }
437
+ },
412
438
  "cost": {
413
439
  "type": "object",
414
440
  "additionalProperties": false,
@@ -452,6 +478,68 @@
452
478
  }
453
479
  }
454
480
  },
481
+ "fast_offering": {
482
+ "description": "A separately callable Fast offering of the containing text model.",
483
+ "$ref": "#/$defs/fast_facts",
484
+ "unevaluatedProperties": false,
485
+ "required": ["id", "canonical_model_id", "mode", "label"],
486
+ "properties": {
487
+ "id": {
488
+ "type": "string",
489
+ "minLength": 1
490
+ },
491
+ "canonical_model_id": {
492
+ "type": "string",
493
+ "minLength": 1
494
+ },
495
+ "mode": { "const": "fast" },
496
+ "label": {
497
+ "type": "string",
498
+ "minLength": 1
499
+ }
500
+ }
501
+ },
502
+ "fast_mode": {
503
+ "description": "Fast mode selected by request fields on the base binding ID.",
504
+ "$ref": "#/$defs/fast_facts",
505
+ "unevaluatedProperties": false,
506
+ "required": ["request"]
507
+ },
508
+ "fast_facts": {
509
+ "description": "Provider facts scoped to documented Fast serving.",
510
+ "type": "object",
511
+ "required": ["source_url"],
512
+ "properties": {
513
+ "source_url": {
514
+ "type": "string",
515
+ "format": "uri",
516
+ "pattern": "^https://[^/]+(?:/|$)"
517
+ },
518
+ "request": {
519
+ "description": "Native request fields and values selecting Fast for this call ID.",
520
+ "type": "object",
521
+ "minProperties": 1,
522
+ "propertyNames": {
523
+ "not": { "const": "model" }
524
+ }
525
+ },
526
+ "capabilities": {
527
+ "$ref": "#/$defs/capabilities"
528
+ },
529
+ "limits": {
530
+ "$ref": "#/$defs/limits"
531
+ },
532
+ "token_pricing": {
533
+ "$ref": "#/$defs/token_pricing"
534
+ },
535
+ "published_pricing": {
536
+ "$ref": "#/$defs/published_pricing"
537
+ },
538
+ "qualifications": {
539
+ "$ref": "#/$defs/qualifications"
540
+ }
541
+ }
542
+ },
455
543
  "provider_endpoint": {
456
544
  "type": "object",
457
545
  "additionalProperties": false,
@@ -1229,24 +1317,7 @@
1229
1317
  "$ref": "#/$defs/published_pricing"
1230
1318
  },
1231
1319
  "qualifications": {
1232
- "type": "array",
1233
- "minItems": 1,
1234
- "items": {
1235
- "type": "object",
1236
- "additionalProperties": false,
1237
- "required": ["source_url", "notes"],
1238
- "properties": {
1239
- "source_url": {
1240
- "type": "string",
1241
- "format": "uri",
1242
- "pattern": "^https://[^/]+(?:/|$)"
1243
- },
1244
- "notes": {
1245
- "type": "string",
1246
- "minLength": 1
1247
- }
1248
- }
1249
- }
1320
+ "$ref": "#/$defs/qualifications"
1250
1321
  },
1251
1322
  "decision_contract": {
1252
1323
  "$ref": "#/$defs/decision_contract"
@@ -1256,6 +1327,26 @@
1256
1327
  }
1257
1328
  }
1258
1329
  },
1330
+ "qualifications": {
1331
+ "type": "array",
1332
+ "minItems": 1,
1333
+ "items": {
1334
+ "type": "object",
1335
+ "additionalProperties": false,
1336
+ "required": ["source_url", "notes"],
1337
+ "properties": {
1338
+ "source_url": {
1339
+ "type": "string",
1340
+ "format": "uri",
1341
+ "pattern": "^https://[^/]+(?:/|$)"
1342
+ },
1343
+ "notes": {
1344
+ "type": "string",
1345
+ "minLength": 1
1346
+ }
1347
+ }
1348
+ }
1349
+ },
1259
1350
  "decision_contract": {
1260
1351
  "type": "object",
1261
1352
  "additionalProperties": false,