metergraph-core 0.2.18__tar.gz → 0.2.19__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.18
3
+ Version: 0.2.19
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.18"
3
+ version = "0.2.19"
4
4
  description = "Reusable MeterGraph catalog and deterministic billing engine"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -14,6 +14,8 @@ _PROVIDER_ALIASES = {
14
14
  "aws-bedrock": "bedrock",
15
15
  "gemini": "google",
16
16
  "google-genai": "google",
17
+ "perplexity": "perplexity-ai",
18
+ "xai": "x-ai",
17
19
  }
18
20
 
19
21
  # The direct catalog channel each captured source provider was actually billed
@@ -29,6 +31,9 @@ _DIRECT_CHANNEL_BY_PROVIDER = {
29
31
  "vertex-ai": "google-vertex-ai",
30
32
  "fireworks": "fireworks-api",
31
33
  "bedrock": "aws-bedrock",
34
+ "deepseek": "deepseek-api",
35
+ "perplexity-ai": "perplexity-api",
36
+ "x-ai": "xai-api",
32
37
  }
33
38
 
34
39
 
@@ -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-07"
9
+ version: "2026-09-11"
10
10
  currency: USD
11
- pricing_verified_at: "2026-09-07"
11
+ pricing_verified_at: "2026-09-11"
12
12
  models:
13
13
  - canonical_id: openai/gpt-5.6-sol
14
14
  publisher: openai
@@ -756,6 +756,18 @@ models:
756
756
  aliases:
757
757
  - {provider: google, alias: gemini-2.5-flash-lite, channel: google-api}
758
758
  - {provider: google, alias: models/gemini-2.5-flash-lite, channel: google-api}
759
+ - {provider: google, alias: gemini-flash-lite-latest, channel: google-api}
760
+ - {provider: google, alias: models/gemini-flash-lite-latest, channel: google-api}
761
+ - {provider: google, alias: google/gemini-flash-lite-latest, channel: google-api}
762
+ - {provider: google, alias: google/models/gemini-flash-lite-latest, channel: google-api}
763
+ - {provider: unknown, alias: gemini-flash-lite-latest, channel: google-api}
764
+ - {provider: unknown, alias: models/gemini-flash-lite-latest, channel: google-api}
765
+ - {provider: unknown, alias: google/gemini-flash-lite-latest, channel: google-api}
766
+ - {provider: unknown, alias: google/models/gemini-flash-lite-latest, channel: google-api}
767
+ - {provider: litellm, alias: gemini-flash-lite-latest, channel: google-api}
768
+ - {provider: litellm, alias: models/gemini-flash-lite-latest, channel: google-api}
769
+ - {provider: litellm, alias: google/gemini-flash-lite-latest, channel: google-api}
770
+ - {provider: litellm, alias: google/models/gemini-flash-lite-latest, channel: google-api}
759
771
  prices:
760
772
  - channel: google-api
761
773
  region: global
@@ -1104,6 +1116,44 @@ models:
1104
1116
  cache_read_per_mtok: 0.075
1105
1117
  source_url: https://ai-gateway.vercel.sh/v1/models
1106
1118
 
1119
+ - canonical_id: google/gemini-3.8-flash
1120
+ publisher: google
1121
+ aliases:
1122
+ - {provider: google, alias: gemini-3.8-flash, channel: google-api}
1123
+ - {provider: google, alias: models/gemini-3.8-flash, channel: google-api}
1124
+ - {provider: google, alias: gemini-flash-latest, channel: google-api}
1125
+ - {provider: google, alias: models/gemini-flash-latest, channel: google-api}
1126
+ - {provider: google, alias: google/gemini-flash-latest, channel: google-api}
1127
+ - {provider: google, alias: google/models/gemini-flash-latest, channel: google-api}
1128
+ - {provider: unknown, alias: gemini-flash-latest, channel: google-api}
1129
+ - {provider: unknown, alias: models/gemini-flash-latest, channel: google-api}
1130
+ - {provider: unknown, alias: google/gemini-flash-latest, channel: google-api}
1131
+ - {provider: unknown, alias: google/models/gemini-flash-latest, channel: google-api}
1132
+ - {provider: litellm, alias: gemini-flash-latest, channel: google-api}
1133
+ - {provider: litellm, alias: models/gemini-flash-latest, channel: google-api}
1134
+ - {provider: litellm, alias: google/gemini-flash-latest, channel: google-api}
1135
+ - {provider: litellm, alias: google/models/gemini-flash-latest, channel: google-api}
1136
+ prices:
1137
+ - channel: google-api
1138
+ region: global
1139
+ effective_from: "2026-09-01"
1140
+ effective_to: "2027-01-01"
1141
+ input_per_mtok: 0.75
1142
+ output_per_mtok: 3.75
1143
+ cache_read_per_mtok: 0.075
1144
+ batch_input_per_mtok: 0.375
1145
+ batch_output_per_mtok: 1.875
1146
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1147
+ - channel: google-api
1148
+ region: global
1149
+ effective_from: "2027-01-01"
1150
+ input_per_mtok: 1.50
1151
+ output_per_mtok: 7.50
1152
+ cache_read_per_mtok: 0.15
1153
+ batch_input_per_mtok: 0.75
1154
+ batch_output_per_mtok: 3.75
1155
+ source_url: https://ai.google.dev/gemini-api/docs/pricing
1156
+
1107
1157
  - canonical_id: google/gemma-4-31b-it
1108
1158
  publisher: google
1109
1159
  aliases:
@@ -1142,6 +1192,38 @@ models:
1142
1192
  cache_read_per_mtok: 0.04
1143
1193
  source_url: https://ai-gateway.vercel.sh/v1/models
1144
1194
 
1195
+ - canonical_id: deepseek/deepseek-v4.1-flash
1196
+ publisher: deepseek
1197
+ aliases:
1198
+ - provider: deepseek
1199
+ alias: deepseek/deepseek-v4.1-flash
1200
+ channel: vercel-ai-gateway
1201
+ rules: {input_includes_cache_read: true}
1202
+ prices:
1203
+ - channel: vercel-ai-gateway
1204
+ region: global
1205
+ effective_from: "2026-09-08"
1206
+ input_per_mtok: 0.30
1207
+ output_per_mtok: 1.20
1208
+ cache_read_per_mtok: 0.03
1209
+ source_url: https://ai-gateway.vercel.sh/v1/models
1210
+
1211
+ - canonical_id: meta/muse-spark-1.3
1212
+ publisher: meta
1213
+ aliases:
1214
+ - provider: meta
1215
+ alias: meta/muse-spark-1.3
1216
+ channel: vercel-ai-gateway
1217
+ rules: {input_includes_cache_read: true}
1218
+ prices:
1219
+ - channel: vercel-ai-gateway
1220
+ region: global
1221
+ effective_from: "2026-09-11"
1222
+ input_per_mtok: 1.25
1223
+ output_per_mtok: 4.25
1224
+ cache_read_per_mtok: 0.15
1225
+ source_url: https://ai-gateway.vercel.sh/v1/models
1226
+
1145
1227
  - canonical_id: thinkingmachines/inkling
1146
1228
  publisher: thinkingmachines
1147
1229
  aliases:
@@ -1403,9 +1485,17 @@ models:
1403
1485
  - channel: vercel-ai-gateway
1404
1486
  region: global
1405
1487
  effective_from: "2026-08-14"
1488
+ effective_to: "2026-09-11"
1406
1489
  input_per_mtok: 0.70
1407
1490
  output_per_mtok: 2.20
1408
1491
  source_url: https://vercel.com/ai-gateway/models/glm-5.3
1492
+ - channel: vercel-ai-gateway
1493
+ region: global
1494
+ effective_from: "2026-09-11"
1495
+ input_per_mtok: 1.40
1496
+ output_per_mtok: 4.40
1497
+ cache_read_per_mtok: 0.14
1498
+ source_url: https://ai-gateway.vercel.sh/v1/models
1409
1499
  - channel: fireworks-api
1410
1500
  region: global
1411
1501
  effective_from: "2026-08-14"
@@ -1435,9 +1525,18 @@ models:
1435
1525
  - channel: vercel-ai-gateway
1436
1526
  region: global
1437
1527
  effective_from: "2026-08-26"
1528
+ effective_to: "2026-09-11"
1438
1529
  input_per_mtok: 0.07125
1439
1530
  output_per_mtok: 0.2375
1440
1531
  source_url: https://vercel.com/ai-gateway/models/glm-5.3-flash
1532
+ - channel: vercel-ai-gateway
1533
+ region: global
1534
+ effective_from: "2026-09-11"
1535
+ input_per_mtok: 0.15
1536
+ output_per_mtok: 0.50
1537
+ cache_read_per_mtok: 0.03
1538
+ source_url: https://ai-gateway.vercel.sh/v1/models
1539
+
1441
1540
  - channel: fireworks-api
1442
1541
  region: global
1443
1542
  effective_from: "2026-08-26"
@@ -1446,6 +1545,22 @@ models:
1446
1545
  cache_read_per_mtok: 0.03
1447
1546
  source_url: https://fireworks.ai/models/fireworks/glm-5p3-flash
1448
1547
 
1548
+ - canonical_id: zai/glm-5.3-fast
1549
+ publisher: zai
1550
+ aliases:
1551
+ - provider: zai
1552
+ alias: zai/glm-5.3-fast
1553
+ channel: vercel-ai-gateway
1554
+ rules: {input_includes_cache_read: true}
1555
+ prices:
1556
+ - channel: vercel-ai-gateway
1557
+ region: global
1558
+ effective_from: "2026-09-02"
1559
+ input_per_mtok: 2.10
1560
+ output_per_mtok: 6.60
1561
+ cache_read_per_mtok: 0.21
1562
+ source_url: https://ai-gateway.vercel.sh/v1/models
1563
+
1449
1564
  - canonical_id: moonshotai/kimi-k2.6
1450
1565
  publisher: moonshotai
1451
1566
  aliases:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metergraph-core
3
- Version: 0.2.18
3
+ Version: 0.2.19
4
4
  Summary: Reusable MeterGraph catalog and deterministic billing engine
5
5
  License-Expression: Apache-2.0
6
6
  Requires-Python: >=3.10