metergraph-core 0.2.15__tar.gz → 0.2.18__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.15
3
+ Version: 0.2.18
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.15"
3
+ version = "0.2.18"
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-06"
9
+ version: "2026-09-07"
10
10
  currency: USD
11
- pricing_verified_at: "2026-09-06"
11
+ pricing_verified_at: "2026-09-07"
12
12
  models:
13
13
  - canonical_id: openai/gpt-5.6-sol
14
14
  publisher: openai
@@ -571,7 +571,10 @@ models:
571
571
  publisher: anthropic
572
572
  aliases:
573
573
  - {provider: anthropic, alias: claude-sonnet-4-6, channel: anthropic-api}
574
- - {provider: anthropic, alias: anthropic/claude-sonnet-4.6, channel: anthropic-api}
574
+ - provider: anthropic
575
+ alias: anthropic/claude-sonnet-4.6
576
+ channel: vercel-ai-gateway
577
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
575
578
  prices:
576
579
  - channel: anthropic-api
577
580
  region: global
@@ -584,6 +587,14 @@ models:
584
587
  batch_input_per_mtok: 1.50
585
588
  batch_output_per_mtok: 7.50
586
589
  source_url: https://platform.claude.com/docs/en/about-claude/pricing
590
+ - channel: vercel-ai-gateway
591
+ region: global
592
+ effective_from: "2026-02-17"
593
+ input_per_mtok: 3.00
594
+ output_per_mtok: 15.00
595
+ cache_read_per_mtok: 0.30
596
+ cache_write_5m_per_mtok: 3.75
597
+ source_url: https://vercel.com/ai-gateway/models/claude-sonnet-4.6/providers
587
598
 
588
599
  - canonical_id: anthropic/claude-sonnet-4.5
589
600
  publisher: anthropic
@@ -763,7 +774,18 @@ models:
763
774
  alias: google/gemma-4-26b-a4b-it
764
775
  channel: vercel-ai-gateway
765
776
  rules: {input_includes_cache_read: true, input_includes_cache_write: true}
777
+ - {provider: google, alias: gemma-4-26b-a4b-it, channel: google-api}
778
+ - {provider: google, alias: models/gemma-4-26b-a4b-it, channel: google-api}
766
779
  prices:
780
+ # Google serves Gemma free on the direct API and lists no paid tier for
781
+ # it. This is a priced zero, not a missing price: a call resolves to
782
+ # $0.00 rather than resolving to nothing.
783
+ - channel: google-api
784
+ region: global
785
+ effective_from: "2026-04-02"
786
+ input_per_mtok: 0.00
787
+ output_per_mtok: 0.00
788
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
767
789
  - channel: vercel-ai-gateway
768
790
  region: global
769
791
  effective_from: "2026-04-02"
@@ -925,6 +947,7 @@ models:
925
947
  - {provider: x-ai, alias: grok-4.3, channel: xai-api}
926
948
  - {provider: x-ai, alias: grok-4.3-latest, channel: xai-api}
927
949
  - {provider: x-ai, alias: grok-latest, channel: xai-api}
950
+ - {provider: bedrock, alias: xai.grok-4.3, channel: aws-bedrock}
928
951
  prices:
929
952
  - channel: xai-api
930
953
  region: global
@@ -936,6 +959,19 @@ models:
936
959
  input_includes_cache_read: true
937
960
  long_context: {threshold: 200000, input_multiplier: 2, output_multiplier: 2}
938
961
  source_url: https://docs.x.ai/developers/pricing
962
+ # Served via Bedrock's bedrock-mantle endpoint (OpenAI-compatible Chat
963
+ # Completions/Responses), not the classic Converse API; In-Region only,
964
+ # no Geo/Global cross-region inference profile. Standard tier, us-west-2;
965
+ # Priority is 1.75x, Flex is 0.5x these rates.
966
+ - channel: aws-bedrock
967
+ region: us-west-2
968
+ effective_from: "2026-06-15"
969
+ input_per_mtok: 1.25
970
+ output_per_mtok: 2.50
971
+ cache_read_per_mtok: 0.20
972
+ rules:
973
+ input_includes_cache_read: true
974
+ source_url: https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-xai-grok-4-3.html
939
975
 
940
976
  - canonical_id: perplexity/sonar
941
977
  publisher: perplexity
@@ -1072,7 +1108,17 @@ models:
1072
1108
  publisher: google
1073
1109
  aliases:
1074
1110
  - {provider: google, alias: google/gemma-4-31b-it, channel: vercel-ai-gateway}
1111
+ - {provider: google, alias: gemma-4-31b-it, channel: google-api}
1112
+ - {provider: google, alias: models/gemma-4-31b-it, channel: google-api}
1075
1113
  prices:
1114
+ # Free on the direct API, as with every Gemma variant. See the note on
1115
+ # google/gemma-4-26b-a4b-it.
1116
+ - channel: google-api
1117
+ region: global
1118
+ effective_from: "2026-04-02"
1119
+ input_per_mtok: 0.00
1120
+ output_per_mtok: 0.00
1121
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1076
1122
  - channel: vercel-ai-gateway
1077
1123
  region: global
1078
1124
  effective_from: "2026-04-02"
@@ -1430,6 +1476,23 @@ models:
1430
1476
  cache_read_per_mtok: 0.16
1431
1477
  source_url: https://fireworks.ai/models/fireworks/kimi-k2p6
1432
1478
 
1479
+ # Google prices this model's output by modality: $9.00 text, $17.50 video.
1480
+ # The catalog carries one output rate per price row, so this records the text
1481
+ # rate. A video-heavy caller is therefore under-costed here, which is the
1482
+ # known limitation to revisit if that traffic ever becomes material.
1483
+ - canonical_id: google/gemini-omni-flash-preview
1484
+ publisher: google
1485
+ aliases:
1486
+ - {provider: google, alias: gemini-omni-flash-preview, channel: google-api}
1487
+ - {provider: google, alias: models/gemini-omni-flash-preview, channel: google-api}
1488
+ prices:
1489
+ - channel: google-api
1490
+ region: global
1491
+ effective_from: "2026-05-19"
1492
+ input_per_mtok: 1.50
1493
+ output_per_mtok: 9.00
1494
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1495
+
1433
1496
  # Retrieval prices: USD per 1,000 counted operations (completed searches, tool
1434
1497
  # calls, executed grounding queries), billed on the provider's direct channel.
1435
1498
  # 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.15
3
+ Version: 0.2.18
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10