metergraph-core 0.2.13__tar.gz → 0.2.15__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.13
3
+ Version: 0.2.15
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "metergraph-core"
3
- version = "0.2.13"
3
+ version = "0.2.15"
4
4
  description = "Reusable MeterGraph catalog and deterministic billing engine"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -6,9 +6,9 @@
6
6
  #
7
7
  # Community updates welcome: add an alias or price entry with its provider
8
8
  # source_url and open a PR. CI validates structure and date overlaps.
9
- version: "2026-09-02"
9
+ version: "2026-09-06"
10
10
  currency: USD
11
- pricing_verified_at: "2026-09-02"
11
+ pricing_verified_at: "2026-09-06"
12
12
  models:
13
13
  - canonical_id: openai/gpt-5.6-sol
14
14
  publisher: openai
@@ -459,6 +459,41 @@ models:
459
459
  cache_write_5m_per_mtok: 6.25
460
460
  source_url: https://vercel.com/ai-gateway/models/claude-opus-4.8/providers
461
461
 
462
+ - canonical_id: anthropic/claude-opus-4.7
463
+ publisher: anthropic
464
+ aliases:
465
+ - {provider: anthropic, alias: claude-opus-4-7, channel: anthropic-api}
466
+ # The preflight reports the provider-qualified id it captured, and traffic
467
+ # arrives under both spellings of the minor version.
468
+ - {provider: anthropic, alias: anthropic/claude-opus-4-7, channel: anthropic-api}
469
+ # Bedrock inference profiles carry a region prefix on the model id.
470
+ - {provider: anthropic, alias: global.anthropic.claude-opus-4-7, channel: anthropic-api}
471
+ - {provider: anthropic, alias: us.anthropic.claude-opus-4-7, channel: anthropic-api}
472
+ - provider: anthropic
473
+ alias: anthropic/claude-opus-4.7
474
+ channel: vercel-ai-gateway
475
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
476
+ prices:
477
+ - channel: anthropic-api
478
+ region: global
479
+ effective_from: "2026-05-28"
480
+ input_per_mtok: 5.00
481
+ output_per_mtok: 25.00
482
+ cache_read_per_mtok: 0.50
483
+ cache_write_5m_per_mtok: 6.25
484
+ cache_write_1h_per_mtok: 10.00
485
+ batch_input_per_mtok: 2.50
486
+ batch_output_per_mtok: 12.50
487
+ source_url: https://platform.claude.com/docs/en/about-claude/pricing
488
+ - channel: vercel-ai-gateway
489
+ region: global
490
+ effective_from: "2026-05-28"
491
+ input_per_mtok: 5.00
492
+ output_per_mtok: 25.00
493
+ cache_read_per_mtok: 0.50
494
+ cache_write_5m_per_mtok: 6.25
495
+ source_url: https://vercel.com/ai-gateway/models/claude-opus-4.7/providers
496
+
462
497
  - canonical_id: anthropic/claude-sonnet-5
463
498
  publisher: anthropic
464
499
  aliases:
@@ -636,7 +671,19 @@ models:
636
671
  publisher: google
637
672
  aliases:
638
673
  - {provider: vertex-ai, alias: gemini-3.5-flash, channel: google-vertex-ai}
674
+ - {provider: google, alias: gemini-3.5-flash, channel: google-api}
675
+ - {provider: google, alias: models/gemini-3.5-flash, channel: google-api}
639
676
  prices:
677
+ # Direct API and Vertex list the same rate for this model.
678
+ - channel: google-api
679
+ region: global
680
+ effective_from: "2026-05-19"
681
+ input_per_mtok: 1.50
682
+ output_per_mtok: 9.00
683
+ cache_read_per_mtok: 0.15
684
+ batch_input_per_mtok: 0.75
685
+ batch_output_per_mtok: 4.50
686
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
640
687
  - channel: google-vertex-ai
641
688
  region: global
642
689
  effective_from: "2026-05-19"
@@ -1250,6 +1297,139 @@ models:
1250
1297
  cache_read_per_mtok: 0.50
1251
1298
  source_url: https://vercel.com/ai-gateway/models/grok-4.6/providers
1252
1299
 
1300
+ - canonical_id: google/gemini-3-flash-preview
1301
+ publisher: google
1302
+ aliases:
1303
+ - {provider: google, alias: gemini-3-flash-preview, channel: google-api}
1304
+ - {provider: google, alias: models/gemini-3-flash-preview, channel: google-api}
1305
+ prices:
1306
+ - channel: google-api
1307
+ region: global
1308
+ effective_from: "2025-12-17"
1309
+ input_per_mtok: 0.50
1310
+ output_per_mtok: 3.00
1311
+ cache_read_per_mtok: 0.05
1312
+ batch_input_per_mtok: 0.25
1313
+ batch_output_per_mtok: 1.50
1314
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1315
+
1316
+ # The retired `-preview` id shares the GA entry rather than carrying its own.
1317
+ # Google shut that id down and published no preview-era rate, so a separate
1318
+ # price for it would be invented rather than sourced.
1319
+ - canonical_id: google/gemini-3.1-flash-lite
1320
+ publisher: google
1321
+ aliases:
1322
+ - {provider: google, alias: gemini-3.1-flash-lite, channel: google-api}
1323
+ - {provider: google, alias: models/gemini-3.1-flash-lite, channel: google-api}
1324
+ - {provider: google, alias: gemini-3.1-flash-lite-preview, channel: google-api}
1325
+ prices:
1326
+ - channel: google-api
1327
+ region: global
1328
+ effective_from: "2026-05-07"
1329
+ input_per_mtok: 0.25
1330
+ output_per_mtok: 1.50
1331
+ cache_read_per_mtok: 0.025
1332
+ batch_input_per_mtok: 0.125
1333
+ batch_output_per_mtok: 0.75
1334
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1335
+
1336
+ # GLM 5.3, GLM 5.3 Flash and Kimi K2.6 are each served on both Vercel and
1337
+ # Fireworks at different rates. One canonical id per model with a price per
1338
+ # channel keeps a cost query for the model whole. `fireworks/glm-5p2` above
1339
+ # predates that convention and splits GLM 5.2 across two canonical ids;
1340
+ # consolidating it is a separate change, since it moves existing rows.
1341
+ - canonical_id: zai/glm-5.3
1342
+ publisher: zai
1343
+ aliases:
1344
+ - provider: zai
1345
+ alias: zai/glm-5.3
1346
+ channel: vercel-ai-gateway
1347
+ rules: {input_includes_cache_read: true}
1348
+ - provider: fireworks
1349
+ alias: accounts/fireworks/models/glm-5p3
1350
+ channel: fireworks-api
1351
+ rules: {input_includes_cache_read: true}
1352
+ - provider: fireworks
1353
+ alias: fireworks:accounts/fireworks/models/glm-5p3
1354
+ channel: fireworks-api
1355
+ rules: {input_includes_cache_read: true}
1356
+ prices:
1357
+ - channel: vercel-ai-gateway
1358
+ region: global
1359
+ effective_from: "2026-08-14"
1360
+ input_per_mtok: 0.70
1361
+ output_per_mtok: 2.20
1362
+ source_url: https://vercel.com/ai-gateway/models/glm-5.3
1363
+ - channel: fireworks-api
1364
+ region: global
1365
+ effective_from: "2026-08-14"
1366
+ input_per_mtok: 1.40
1367
+ output_per_mtok: 4.40
1368
+ cache_read_per_mtok: 0.26
1369
+ source_url: https://fireworks.ai/models/fireworks/glm-5p3
1370
+
1371
+ - canonical_id: zai/glm-5.3-flash
1372
+ publisher: zai
1373
+ aliases:
1374
+ - provider: zai
1375
+ alias: zai/glm-5.3-flash
1376
+ channel: vercel-ai-gateway
1377
+ rules: {input_includes_cache_read: true}
1378
+ - provider: fireworks
1379
+ alias: accounts/fireworks/models/glm-5p3-flash
1380
+ channel: fireworks-api
1381
+ rules: {input_includes_cache_read: true}
1382
+ - provider: fireworks
1383
+ alias: fireworks:accounts/fireworks/models/glm-5p3-flash
1384
+ channel: fireworks-api
1385
+ rules: {input_includes_cache_read: true}
1386
+ prices:
1387
+ # Vercel lists this well under half the Fireworks rate. Recorded as listed;
1388
+ # if it is promotional it will need an `effective_to` when it moves.
1389
+ - channel: vercel-ai-gateway
1390
+ region: global
1391
+ effective_from: "2026-08-26"
1392
+ input_per_mtok: 0.07125
1393
+ output_per_mtok: 0.2375
1394
+ source_url: https://vercel.com/ai-gateway/models/glm-5.3-flash
1395
+ - channel: fireworks-api
1396
+ region: global
1397
+ effective_from: "2026-08-26"
1398
+ input_per_mtok: 0.15
1399
+ output_per_mtok: 0.50
1400
+ cache_read_per_mtok: 0.03
1401
+ source_url: https://fireworks.ai/models/fireworks/glm-5p3-flash
1402
+
1403
+ - canonical_id: moonshotai/kimi-k2.6
1404
+ publisher: moonshotai
1405
+ aliases:
1406
+ - provider: moonshotai
1407
+ alias: moonshotai/kimi-k2.6
1408
+ channel: vercel-ai-gateway
1409
+ rules: {input_includes_cache_read: true}
1410
+ - provider: fireworks
1411
+ alias: accounts/fireworks/models/kimi-k2p6
1412
+ channel: fireworks-api
1413
+ rules: {input_includes_cache_read: true}
1414
+ - provider: fireworks
1415
+ alias: fireworks:accounts/fireworks/models/kimi-k2p6
1416
+ channel: fireworks-api
1417
+ rules: {input_includes_cache_read: true}
1418
+ prices:
1419
+ - channel: vercel-ai-gateway
1420
+ region: global
1421
+ effective_from: "2026-04-20"
1422
+ input_per_mtok: 0.95
1423
+ output_per_mtok: 4.00
1424
+ source_url: https://vercel.com/ai-gateway/models/kimi-k2.6
1425
+ - channel: fireworks-api
1426
+ region: global
1427
+ effective_from: "2026-04-20"
1428
+ input_per_mtok: 0.95
1429
+ output_per_mtok: 4.00
1430
+ cache_read_per_mtok: 0.16
1431
+ source_url: https://fireworks.ai/models/fireworks/kimi-k2p6
1432
+
1253
1433
  # Retrieval prices: USD per 1,000 counted operations (completed searches, tool
1254
1434
  # calls, executed grounding queries), billed on the provider's direct channel.
1255
1435
  # These sit alongside the model-token catalog above but are priced per unit, not
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.13
3
+ Version: 0.2.15
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10