metergraph-core 0.2.20__tar.gz → 0.2.23__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.20
3
+ Version: 0.2.23
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.20"
3
+ version = "0.2.23"
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-11"
9
+ version: "2026-09-12"
10
10
  currency: USD
11
- pricing_verified_at: "2026-09-11"
11
+ pricing_verified_at: "2026-09-12"
12
12
  models:
13
13
  - canonical_id: openai/gpt-5.6-sol
14
14
  publisher: openai
@@ -370,6 +370,25 @@ models:
370
370
  input_includes_cache_read: true
371
371
  source_url: https://developers.openai.com/api/docs/models/gpt-4.1-nano
372
372
 
373
+ - canonical_id: openai/gpt-5.2
374
+ publisher: openai
375
+ aliases:
376
+ - {provider: openai, alias: gpt-5.2, channel: openai-api}
377
+ - {provider: openai, alias: gpt-5.2-2025-12-11, channel: openai-api}
378
+ - {provider: openai, alias: openai/gpt-5.2, channel: openai-api}
379
+ prices:
380
+ - channel: openai-api
381
+ region: global
382
+ effective_from: "2025-12-11"
383
+ input_per_mtok: 1.75
384
+ output_per_mtok: 14.00
385
+ cache_read_per_mtok: 0.175
386
+ batch_input_per_mtok: 0.875
387
+ batch_output_per_mtok: 7.00
388
+ rules:
389
+ input_includes_cache_read: true
390
+ source_url: https://developers.openai.com/api/docs/models/gpt-5.2
391
+
373
392
  - canonical_id: anthropic/claude-fable-5
374
393
  publisher: anthropic
375
394
  aliases:
@@ -494,6 +513,36 @@ models:
494
513
  cache_write_5m_per_mtok: 6.25
495
514
  source_url: https://vercel.com/ai-gateway/models/claude-opus-4.7/providers
496
515
 
516
+ - canonical_id: anthropic/claude-opus-4.6
517
+ publisher: anthropic
518
+ aliases:
519
+ - {provider: anthropic, alias: claude-opus-4-6, channel: anthropic-api}
520
+ - {provider: anthropic, alias: anthropic/claude-opus-4.6, channel: anthropic-api}
521
+ - {provider: vertex-ai, alias: claude-opus-4-6, channel: google-vertex-ai}
522
+ prices:
523
+ - channel: anthropic-api
524
+ region: global
525
+ effective_from: "2026-02-05"
526
+ input_per_mtok: 5.00
527
+ output_per_mtok: 25.00
528
+ cache_read_per_mtok: 0.50
529
+ cache_write_5m_per_mtok: 6.25
530
+ cache_write_1h_per_mtok: 10.00
531
+ batch_input_per_mtok: 2.50
532
+ batch_output_per_mtok: 12.50
533
+ source_url: https://platform.claude.com/docs/en/about-claude/pricing
534
+ - channel: google-vertex-ai
535
+ region: global
536
+ effective_from: "2026-02-05"
537
+ input_per_mtok: 5.50
538
+ output_per_mtok: 27.50
539
+ cache_read_per_mtok: 0.55
540
+ cache_write_5m_per_mtok: 6.875
541
+ cache_write_1h_per_mtok: 11.00
542
+ batch_input_per_mtok: 2.75
543
+ batch_output_per_mtok: 13.75
544
+ source_url: https://cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
545
+
497
546
  - canonical_id: anthropic/claude-sonnet-5
498
547
  publisher: anthropic
499
548
  aliases:
@@ -705,6 +754,21 @@ models:
705
754
  batch_output_per_mtok: 4.50
706
755
  source_url: https://cloud.google.com/gemini-enterprise-agent-platform/generative-ai/pricing
707
756
 
757
+ # Direct API only: no Vertex rate is published for this model.
758
+ - canonical_id: google/gemini-3.5-flash-lite
759
+ publisher: google
760
+ aliases:
761
+ - {provider: google, alias: gemini-3.5-flash-lite, channel: google-api}
762
+ - {provider: google, alias: models/gemini-3.5-flash-lite, channel: google-api}
763
+ prices:
764
+ - channel: google-api
765
+ region: global
766
+ effective_from: "2026-05-19"
767
+ input_per_mtok: 0.30
768
+ output_per_mtok: 2.50
769
+ cache_read_per_mtok: 0.03
770
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
771
+
708
772
  - canonical_id: google/gemini-2.5-pro
709
773
  publisher: google
710
774
  aliases:
@@ -751,6 +815,19 @@ models:
751
815
  cache_read_per_mtok: 0.03
752
816
  source_url: https://vercel.com/ai-gateway/models/gemini-2.5-flash/providers
753
817
 
818
+ - canonical_id: google/gemini-2.5-flash-image
819
+ publisher: google
820
+ aliases:
821
+ - {provider: google, alias: gemini-2.5-flash-image, channel: google-api}
822
+ - {provider: google, alias: models/gemini-2.5-flash-image, channel: google-api}
823
+ prices:
824
+ - channel: google-api
825
+ region: global
826
+ effective_from: "2025-10-02"
827
+ input_per_mtok: 0.30
828
+ output_per_mtok: 30.00
829
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
830
+
754
831
  - canonical_id: google/gemini-2.5-flash-lite
755
832
  publisher: google
756
833
  aliases:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.20
3
+ Version: 0.2.23
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10