metergraph-core 0.2.8__tar.gz → 0.2.9__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.9
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.9"
4
4
  description = "Reusable MeterGraph catalog and deterministic billing engine"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -659,6 +659,10 @@ models:
659
659
  aliases:
660
660
  - {provider: google, alias: gemini-2.5-flash, channel: google-api}
661
661
  - {provider: google, alias: models/gemini-2.5-flash, channel: google-api}
662
+ - provider: google
663
+ alias: google/gemini-2.5-flash
664
+ channel: vercel-ai-gateway
665
+ rules: {input_includes_cache_read: true}
662
666
  prices:
663
667
  - channel: google-api
664
668
  region: global
@@ -669,6 +673,14 @@ models:
669
673
  batch_input_per_mtok: 0.15
670
674
  batch_output_per_mtok: 1.25
671
675
  source_url: https://ai.google.dev/gemini-api/docs/pricing
676
+ # Gateway cache reads are cheaper than Google direct ($0.03 vs $0.075/Mtok).
677
+ - channel: vercel-ai-gateway
678
+ region: global
679
+ effective_from: "2025-06-17"
680
+ input_per_mtok: 0.30
681
+ output_per_mtok: 2.50
682
+ cache_read_per_mtok: 0.03
683
+ source_url: https://vercel.com/ai-gateway/models/gemini-2.5-flash/providers
672
684
 
673
685
  - canonical_id: google/gemini-2.5-flash-lite
674
686
  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.9
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10