metergraph-core 0.2.8__tar.gz → 0.2.10__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.8
3
+ Version: 0.2.10
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.8"
3
+ version = "0.2.10"
4
4
  description = "Reusable MeterGraph catalog and deterministic billing engine"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -434,7 +434,10 @@ models:
434
434
  publisher: anthropic
435
435
  aliases:
436
436
  - {provider: anthropic, alias: claude-opus-4-8, channel: anthropic-api}
437
- - {provider: anthropic, alias: anthropic/claude-opus-4.8, channel: anthropic-api}
437
+ - provider: anthropic
438
+ alias: anthropic/claude-opus-4.8
439
+ channel: vercel-ai-gateway
440
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
438
441
  prices:
439
442
  - channel: anthropic-api
440
443
  region: global
@@ -447,6 +450,14 @@ models:
447
450
  batch_input_per_mtok: 2.50
448
451
  batch_output_per_mtok: 12.50
449
452
  source_url: https://platform.claude.com/docs/en/about-claude/pricing
453
+ - channel: vercel-ai-gateway
454
+ region: global
455
+ effective_from: "2026-05-28"
456
+ input_per_mtok: 5.00
457
+ output_per_mtok: 25.00
458
+ cache_read_per_mtok: 0.50
459
+ cache_write_5m_per_mtok: 6.25
460
+ source_url: https://vercel.com/ai-gateway/models/claude-opus-4.8/providers
450
461
 
451
462
  - canonical_id: anthropic/claude-sonnet-5
452
463
  publisher: anthropic
@@ -659,6 +670,10 @@ models:
659
670
  aliases:
660
671
  - {provider: google, alias: gemini-2.5-flash, channel: google-api}
661
672
  - {provider: google, alias: models/gemini-2.5-flash, channel: google-api}
673
+ - provider: google
674
+ alias: google/gemini-2.5-flash
675
+ channel: vercel-ai-gateway
676
+ rules: {input_includes_cache_read: true}
662
677
  prices:
663
678
  - channel: google-api
664
679
  region: global
@@ -669,6 +684,14 @@ models:
669
684
  batch_input_per_mtok: 0.15
670
685
  batch_output_per_mtok: 1.25
671
686
  source_url: https://ai.google.dev/gemini-api/docs/pricing
687
+ # Gateway cache reads are cheaper than Google direct ($0.03 vs $0.075/Mtok).
688
+ - channel: vercel-ai-gateway
689
+ region: global
690
+ effective_from: "2025-06-17"
691
+ input_per_mtok: 0.30
692
+ output_per_mtok: 2.50
693
+ cache_read_per_mtok: 0.03
694
+ source_url: https://vercel.com/ai-gateway/models/gemini-2.5-flash/providers
672
695
 
673
696
  - canonical_id: google/gemini-2.5-flash-lite
674
697
  publisher: google
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.8
3
+ Version: 0.2.10
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10