metergraph-core 0.2.31__tar.gz → 0.2.32__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.31
3
+ Version: 0.2.32
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.31"
3
+ version = "0.2.32"
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-23"
9
+ version: "2026-09-24"
10
10
  currency: USD
11
- pricing_verified_at: "2026-09-23"
11
+ pricing_verified_at: "2026-09-24"
12
12
  models:
13
13
  - canonical_id: openai/gpt-6-sol
14
14
  publisher: openai
@@ -492,6 +492,39 @@ models:
492
492
  input_includes_cache_read: true
493
493
  source_url: https://developers.openai.com/api/docs/models/gpt-5.2
494
494
 
495
+ - canonical_id: anthropic/claude-fable-5.1
496
+ publisher: anthropic
497
+ aliases:
498
+ - {provider: anthropic, alias: claude-fable-5-1, channel: anthropic-api}
499
+ - {provider: anthropic, alias: anthropic/claude-fable-5-1, channel: anthropic-api}
500
+ - {provider: litellm, alias: claude-fable-5-1, channel: anthropic-api}
501
+ - {provider: unknown, alias: claude-fable-5-1, channel: anthropic-api}
502
+ - provider: anthropic
503
+ alias: anthropic/claude-fable-5.1
504
+ channel: vercel-ai-gateway
505
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
506
+ prices:
507
+ # Cache hits are 0.025x input on Fable 5.1, not the usual 0.1x.
508
+ - channel: anthropic-api
509
+ region: global
510
+ effective_from: "2026-09-01"
511
+ input_per_mtok: 10.00
512
+ output_per_mtok: 50.00
513
+ cache_read_per_mtok: 0.25
514
+ cache_write_5m_per_mtok: 12.50
515
+ cache_write_1h_per_mtok: 20.00
516
+ batch_input_per_mtok: 5.00
517
+ batch_output_per_mtok: 25.00
518
+ source_url: https://platform.claude.com/docs/en/about-claude/pricing
519
+ - channel: vercel-ai-gateway
520
+ region: global
521
+ effective_from: "2026-08-31"
522
+ input_per_mtok: 10.00
523
+ output_per_mtok: 50.00
524
+ cache_read_per_mtok: 0.25
525
+ cache_write_5m_per_mtok: 12.50
526
+ source_url: https://ai-gateway.vercel.sh/v1/models
527
+
495
528
  - canonical_id: anthropic/claude-fable-5
496
529
  publisher: anthropic
497
530
  aliases:
@@ -917,6 +950,22 @@ models:
917
950
  rules:
918
951
  long_context: {threshold: 200000, input_multiplier: 2, output_multiplier: 1.5}
919
952
  source_url: https://ai.google.dev/gemini-api/docs/pricing
953
+ # This name is retired but still accepted, and billed at the 3.1 Pro rate.
954
+ # Google's changelog, 2026-03-09: "The Gemini 3 Pro Preview model has been
955
+ # shut down. The gemini-3-pro-preview now points to gemini-3.1-pro-preview."
956
+ # (https://ai.google.dev/gemini-api/docs/changelog). The rate below is
957
+ # gemini-3.1-pro-preview's current google-api row.
958
+ - channel: google-api
959
+ region: global
960
+ effective_from: "2026-03-09"
961
+ input_per_mtok: 2.00
962
+ output_per_mtok: 12.00
963
+ cache_read_per_mtok: 0.20
964
+ batch_input_per_mtok: 1.00
965
+ batch_output_per_mtok: 6.00
966
+ rules:
967
+ long_context: {threshold: 200000, input_multiplier: 2, output_multiplier: 1.5}
968
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
920
969
 
921
970
  - canonical_id: google/gemini-3.1-pro-preview
922
971
  publisher: google
@@ -1016,6 +1065,12 @@ models:
1016
1065
  - {provider: litellm, alias: models/gemini-3.5-flash-lite, channel: google-api}
1017
1066
  - {provider: unknown, alias: gemini-3.5-flash-lite, channel: google-api}
1018
1067
  - {provider: unknown, alias: models/gemini-3.5-flash-lite, channel: google-api}
1068
+ # `google/gemini-3.5-flash-lite` under provider google already names the
1069
+ # direct API, so the gateway spelling is carried under provider vercel.
1070
+ - provider: vercel
1071
+ alias: google/gemini-3.5-flash-lite
1072
+ channel: vercel-ai-gateway
1073
+ rules: {input_includes_cache_read: true}
1019
1074
  prices:
1020
1075
  - channel: google-api
1021
1076
  region: global
@@ -1024,6 +1079,13 @@ models:
1024
1079
  output_per_mtok: 2.50
1025
1080
  cache_read_per_mtok: 0.03
1026
1081
  source_url: https://ai.google.dev/gemini-api/docs/pricing
1082
+ - channel: vercel-ai-gateway
1083
+ region: global
1084
+ effective_from: "2026-07-21"
1085
+ input_per_mtok: 0.30
1086
+ output_per_mtok: 2.50
1087
+ cache_read_per_mtok: 0.03
1088
+ source_url: https://ai-gateway.vercel.sh/v1/models
1027
1089
 
1028
1090
  - canonical_id: google/gemini-2.5-pro
1029
1091
  publisher: google
@@ -1247,6 +1309,42 @@ models:
1247
1309
  output_per_mtok: 1.5
1248
1310
  cache_read_per_mtok: 0.05
1249
1311
  source_url: https://ai-gateway.vercel.sh/v1/models
1312
+ - canonical_id: mistral/ministral-14b
1313
+ publisher: mistral
1314
+ aliases:
1315
+ - {provider: mistral, alias: ministral-14b-2512, channel: mistral-api}
1316
+ - {provider: mistral, alias: ministral-14b-latest, channel: mistral-api}
1317
+ - {provider: mistral, alias: mistral/ministral-14b-2512, channel: mistral-api}
1318
+ - {provider: mistral, alias: mistral/ministral-14b-latest, channel: mistral-api}
1319
+ - {provider: litellm, alias: ministral-14b-2512, channel: mistral-api}
1320
+ - {provider: litellm, alias: ministral-14b-latest, channel: mistral-api}
1321
+ - {provider: unknown, alias: ministral-14b-2512, channel: mistral-api}
1322
+ - {provider: unknown, alias: ministral-14b-latest, channel: mistral-api}
1323
+ - {provider: bedrock, alias: mistral.ministral-3-14b-instruct, channel: aws-bedrock}
1324
+ - provider: mistral
1325
+ alias: mistral/ministral-14b
1326
+ channel: vercel-ai-gateway
1327
+ rules: {input_includes_cache_read: true, input_includes_cache_write: true}
1328
+ prices:
1329
+ - channel: mistral-api
1330
+ region: global
1331
+ effective_from: "2025-12-02"
1332
+ input_per_mtok: 0.20
1333
+ output_per_mtok: 0.20
1334
+ source_url: https://mistral.ai/pricing/api
1335
+ - channel: aws-bedrock
1336
+ region: us-west-2
1337
+ effective_from: "2025-12-02"
1338
+ input_per_mtok: 0.20
1339
+ output_per_mtok: 0.20
1340
+ source_url: https://aws.amazon.com/bedrock/pricing/
1341
+ - channel: vercel-ai-gateway
1342
+ region: global
1343
+ effective_from: "2025-12-02"
1344
+ input_per_mtok: 0.20
1345
+ output_per_mtok: 0.20
1346
+ cache_read_per_mtok: 0.02
1347
+ source_url: https://ai-gateway.vercel.sh/v1/models
1250
1348
  - canonical_id: deepseek/v3.2
1251
1349
  publisher: deepseek
1252
1350
  aliases:
@@ -1610,7 +1708,21 @@ models:
1610
1708
  - {provider: litellm, alias: models/gemini-flash-latest, channel: google-api}
1611
1709
  - {provider: litellm, alias: google/gemini-flash-latest, channel: google-api}
1612
1710
  - {provider: litellm, alias: google/models/gemini-flash-latest, channel: google-api}
1711
+ - provider: google
1712
+ alias: google/gemini-3.8-flash
1713
+ channel: vercel-ai-gateway
1714
+ rules: {input_includes_cache_read: true}
1613
1715
  prices:
1716
+ # The gateway publishes no end date for this rate. Google's direct rate
1717
+ # doubles on 2027-01-01; if the gateway follows, this row needs an
1718
+ # `effective_to` and a successor then.
1719
+ - channel: vercel-ai-gateway
1720
+ region: global
1721
+ effective_from: "2026-09-02"
1722
+ input_per_mtok: 0.75
1723
+ output_per_mtok: 3.75
1724
+ cache_read_per_mtok: 0.075
1725
+ source_url: https://ai-gateway.vercel.sh/v1/models
1614
1726
  - channel: google-api
1615
1727
  region: global
1616
1728
  effective_from: "2026-09-01"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.31
3
+ Version: 0.2.32
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10