metergraph-core 0.2.37__tar.gz → 0.2.38__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.
Files changed (18) hide show
  1. {metergraph_core-0.2.37/src/metergraph_core.egg-info → metergraph_core-0.2.38}/PKG-INFO +1 -1
  2. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/pyproject.toml +1 -1
  3. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/data/prices.yaml +101 -0
  4. {metergraph_core-0.2.37 → metergraph_core-0.2.38/src/metergraph_core.egg-info}/PKG-INFO +1 -1
  5. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/MANIFEST.in +0 -0
  6. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/README.md +0 -0
  7. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/setup.cfg +0 -0
  8. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/__init__.py +0 -0
  9. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/billing.py +0 -0
  10. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/catalog.py +0 -0
  11. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/data/models.yaml +0 -0
  12. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/loader.py +0 -0
  13. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/models.py +0 -0
  14. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core/retrieval.py +0 -0
  15. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core.egg-info/SOURCES.txt +0 -0
  16. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core.egg-info/dependency_links.txt +0 -0
  17. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core.egg-info/requires.txt +0 -0
  18. {metergraph_core-0.2.37 → metergraph_core-0.2.38}/src/metergraph_core.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.37
3
+ Version: 0.2.38
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.37"
3
+ version = "0.2.38"
4
4
  description = "Reusable MeterGraph catalog and deterministic billing engine"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -551,6 +551,9 @@ models:
551
551
  alias: anthropic/claude-fable-5.1
552
552
  channel: vercel-ai-gateway
553
553
  rules: {input_includes_cache_read: true, input_includes_cache_write: true}
554
+ # AWS prices Fable 5.1 only on geo/in-region inference, not on the
555
+ # global profile, so no aws-bedrock alias.
556
+ - {provider: bedrock, alias: us.anthropic.claude-fable-5-1, channel: aws-bedrock-geo}
554
557
  prices:
555
558
  # Cache hits are 0.025x input on Fable 5.1, not the usual 0.1x.
556
559
  - channel: anthropic-api
@@ -572,6 +575,16 @@ models:
572
575
  cache_read_per_mtok: 0.25
573
576
  cache_write_5m_per_mtok: 12.50
574
577
  source_url: https://ai-gateway.vercel.sh/v1/models
578
+ # AWS lists no Bedrock batch price for Fable 5.1.
579
+ - channel: aws-bedrock-geo
580
+ region: global
581
+ effective_from: "2026-09-01"
582
+ input_per_mtok: 11.00
583
+ output_per_mtok: 55.00
584
+ cache_read_per_mtok: 0.275
585
+ cache_write_5m_per_mtok: 13.75
586
+ cache_write_1h_per_mtok: 22.00
587
+ source_url: https://aws.amazon.com/bedrock/pricing/
575
588
 
576
589
  - canonical_id: anthropic/claude-fable-5
577
590
  publisher: anthropic
@@ -615,6 +628,63 @@ models:
615
628
  cache_read_per_mtok: 1.0
616
629
  cache_write_5m_per_mtok: 12.5
617
630
  source_url: https://ai-gateway.vercel.sh/v1/models
631
+ - canonical_id: anthropic/claude-opus-5.5
632
+ publisher: anthropic
633
+ aliases:
634
+ - {provider: anthropic, alias: claude-opus-5-5, channel: anthropic-api}
635
+ - {provider: anthropic, alias: anthropic/claude-opus-5-5, channel: anthropic-api}
636
+ - {provider: litellm, alias: claude-opus-5-5, channel: anthropic-api}
637
+ - {provider: unknown, alias: claude-opus-5-5, channel: anthropic-api}
638
+ - provider: anthropic
639
+ alias: anthropic/claude-opus-5.5
640
+ channel: vercel-ai-gateway
641
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
642
+ - {provider: bedrock, alias: anthropic.claude-opus-5-5, channel: aws-bedrock}
643
+ - {provider: bedrock, alias: global.anthropic.claude-opus-5-5, channel: aws-bedrock}
644
+ - {provider: bedrock, alias: us.anthropic.claude-opus-5-5, channel: aws-bedrock-geo}
645
+ - {provider: bedrock, alias: eu.anthropic.claude-opus-5-5, channel: aws-bedrock-geo}
646
+ - {provider: bedrock, alias: jp.anthropic.claude-opus-5-5, channel: aws-bedrock-geo}
647
+ - {provider: bedrock, alias: au.anthropic.claude-opus-5-5, channel: aws-bedrock-geo}
648
+ prices:
649
+ # Cache hits are 0.05x input on Opus 5.5, not the usual 0.1x.
650
+ - channel: anthropic-api
651
+ region: global
652
+ effective_from: "2026-09-22"
653
+ input_per_mtok: 4.00
654
+ output_per_mtok: 20.00
655
+ cache_read_per_mtok: 0.20
656
+ cache_write_5m_per_mtok: 5.00
657
+ cache_write_1h_per_mtok: 8.00
658
+ batch_input_per_mtok: 2.00
659
+ batch_output_per_mtok: 10.00
660
+ source_url: https://platform.claude.com/docs/en/about-claude/pricing
661
+ - channel: vercel-ai-gateway
662
+ region: global
663
+ effective_from: "2026-09-22"
664
+ input_per_mtok: 4.00
665
+ output_per_mtok: 20.00
666
+ cache_read_per_mtok: 0.20
667
+ cache_write_5m_per_mtok: 5.00
668
+ source_url: https://ai-gateway.vercel.sh/v1/models
669
+ # AWS lists no Bedrock batch price for Opus 5.5.
670
+ - channel: aws-bedrock
671
+ region: global
672
+ effective_from: "2026-09-22"
673
+ input_per_mtok: 4.00
674
+ output_per_mtok: 20.00
675
+ cache_read_per_mtok: 0.20
676
+ cache_write_5m_per_mtok: 5.00
677
+ cache_write_1h_per_mtok: 8.00
678
+ source_url: https://aws.amazon.com/bedrock/pricing/
679
+ - channel: aws-bedrock-geo
680
+ region: global
681
+ effective_from: "2026-09-22"
682
+ input_per_mtok: 4.40
683
+ output_per_mtok: 22.00
684
+ cache_read_per_mtok: 0.22
685
+ cache_write_5m_per_mtok: 5.50
686
+ cache_write_1h_per_mtok: 8.80
687
+ source_url: https://aws.amazon.com/bedrock/pricing/
618
688
  - canonical_id: anthropic/claude-opus-5
619
689
  publisher: anthropic
620
690
  aliases:
@@ -859,6 +929,15 @@ models:
859
929
  alias: anthropic/claude-haiku-4.5
860
930
  channel: vercel-ai-gateway
861
931
  rules: {input_includes_cache_read: true, input_includes_cache_write: true}
932
+ # Messages-API ids are undated; InvokeModel ids carry the snapshot date.
933
+ - {provider: bedrock, alias: anthropic.claude-haiku-4-5, channel: aws-bedrock}
934
+ - {provider: bedrock, alias: anthropic.claude-haiku-4-5-20251001, channel: aws-bedrock}
935
+ - {provider: bedrock, alias: global.anthropic.claude-haiku-4-5, channel: aws-bedrock}
936
+ - {provider: bedrock, alias: global.anthropic.claude-haiku-4-5-20251001, channel: aws-bedrock}
937
+ - {provider: bedrock, alias: us.anthropic.claude-haiku-4-5, channel: aws-bedrock-geo}
938
+ - {provider: bedrock, alias: us.anthropic.claude-haiku-4-5-20251001, channel: aws-bedrock-geo}
939
+ - {provider: bedrock, alias: eu.anthropic.claude-haiku-4-5, channel: aws-bedrock-geo}
940
+ - {provider: bedrock, alias: eu.anthropic.claude-haiku-4-5-20251001, channel: aws-bedrock-geo}
862
941
  prices:
863
942
  - channel: anthropic-api
864
943
  region: global
@@ -879,6 +958,28 @@ models:
879
958
  cache_read_per_mtok: 0.10
880
959
  cache_write_5m_per_mtok: 1.25
881
960
  source_url: https://ai-gateway.vercel.sh/v1/models
961
+ - channel: aws-bedrock
962
+ region: global
963
+ effective_from: "2025-10-15"
964
+ input_per_mtok: 1.00
965
+ output_per_mtok: 5.00
966
+ cache_read_per_mtok: 0.10
967
+ cache_write_5m_per_mtok: 1.25
968
+ cache_write_1h_per_mtok: 2.00
969
+ batch_input_per_mtok: 0.50
970
+ batch_output_per_mtok: 2.50
971
+ source_url: https://aws.amazon.com/bedrock/pricing/
972
+ - channel: aws-bedrock-geo
973
+ region: global
974
+ effective_from: "2025-10-15"
975
+ input_per_mtok: 1.10
976
+ output_per_mtok: 5.50
977
+ cache_read_per_mtok: 0.11
978
+ cache_write_5m_per_mtok: 1.375
979
+ cache_write_1h_per_mtok: 2.20
980
+ batch_input_per_mtok: 0.55
981
+ batch_output_per_mtok: 2.75
982
+ source_url: https://aws.amazon.com/bedrock/pricing/
882
983
 
883
984
  - canonical_id: anthropic/claude-sonnet-4.6
884
985
  publisher: anthropic
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.37
3
+ Version: 0.2.38
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10