metergraph-core 0.2.13__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.
- {metergraph_core-0.2.13/src/metergraph_core.egg-info → metergraph_core-0.2.18}/PKG-INFO +1 -1
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/pyproject.toml +1 -1
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/data/prices.yaml +246 -3
- {metergraph_core-0.2.13 → metergraph_core-0.2.18/src/metergraph_core.egg-info}/PKG-INFO +1 -1
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/MANIFEST.in +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/README.md +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/setup.cfg +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/__init__.py +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/billing.py +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/catalog.py +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/loader.py +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core/retrieval.py +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/SOURCES.txt +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/dependency_links.txt +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/requires.txt +0 -0
- {metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/top_level.txt +0 -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-
|
|
9
|
+
version: "2026-09-07"
|
|
10
10
|
currency: USD
|
|
11
|
-
pricing_verified_at: "2026-09-
|
|
11
|
+
pricing_verified_at: "2026-09-07"
|
|
12
12
|
models:
|
|
13
13
|
- canonical_id: openai/gpt-5.6-sol
|
|
14
14
|
publisher: openai
|
|
@@ -459,6 +459,41 @@ models:
|
|
|
459
459
|
cache_write_5m_per_mtok: 6.25
|
|
460
460
|
source_url: https://vercel.com/ai-gateway/models/claude-opus-4.8/providers
|
|
461
461
|
|
|
462
|
+
- canonical_id: anthropic/claude-opus-4.7
|
|
463
|
+
publisher: anthropic
|
|
464
|
+
aliases:
|
|
465
|
+
- {provider: anthropic, alias: claude-opus-4-7, channel: anthropic-api}
|
|
466
|
+
# The preflight reports the provider-qualified id it captured, and traffic
|
|
467
|
+
# arrives under both spellings of the minor version.
|
|
468
|
+
- {provider: anthropic, alias: anthropic/claude-opus-4-7, channel: anthropic-api}
|
|
469
|
+
# Bedrock inference profiles carry a region prefix on the model id.
|
|
470
|
+
- {provider: anthropic, alias: global.anthropic.claude-opus-4-7, channel: anthropic-api}
|
|
471
|
+
- {provider: anthropic, alias: us.anthropic.claude-opus-4-7, channel: anthropic-api}
|
|
472
|
+
- provider: anthropic
|
|
473
|
+
alias: anthropic/claude-opus-4.7
|
|
474
|
+
channel: vercel-ai-gateway
|
|
475
|
+
rules: {input_includes_cache_read: true, input_includes_cache_write: true}
|
|
476
|
+
prices:
|
|
477
|
+
- channel: anthropic-api
|
|
478
|
+
region: global
|
|
479
|
+
effective_from: "2026-05-28"
|
|
480
|
+
input_per_mtok: 5.00
|
|
481
|
+
output_per_mtok: 25.00
|
|
482
|
+
cache_read_per_mtok: 0.50
|
|
483
|
+
cache_write_5m_per_mtok: 6.25
|
|
484
|
+
cache_write_1h_per_mtok: 10.00
|
|
485
|
+
batch_input_per_mtok: 2.50
|
|
486
|
+
batch_output_per_mtok: 12.50
|
|
487
|
+
source_url: https://platform.claude.com/docs/en/about-claude/pricing
|
|
488
|
+
- channel: vercel-ai-gateway
|
|
489
|
+
region: global
|
|
490
|
+
effective_from: "2026-05-28"
|
|
491
|
+
input_per_mtok: 5.00
|
|
492
|
+
output_per_mtok: 25.00
|
|
493
|
+
cache_read_per_mtok: 0.50
|
|
494
|
+
cache_write_5m_per_mtok: 6.25
|
|
495
|
+
source_url: https://vercel.com/ai-gateway/models/claude-opus-4.7/providers
|
|
496
|
+
|
|
462
497
|
- canonical_id: anthropic/claude-sonnet-5
|
|
463
498
|
publisher: anthropic
|
|
464
499
|
aliases:
|
|
@@ -536,7 +571,10 @@ models:
|
|
|
536
571
|
publisher: anthropic
|
|
537
572
|
aliases:
|
|
538
573
|
- {provider: anthropic, alias: claude-sonnet-4-6, channel: anthropic-api}
|
|
539
|
-
-
|
|
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}
|
|
540
578
|
prices:
|
|
541
579
|
- channel: anthropic-api
|
|
542
580
|
region: global
|
|
@@ -549,6 +587,14 @@ models:
|
|
|
549
587
|
batch_input_per_mtok: 1.50
|
|
550
588
|
batch_output_per_mtok: 7.50
|
|
551
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
|
|
552
598
|
|
|
553
599
|
- canonical_id: anthropic/claude-sonnet-4.5
|
|
554
600
|
publisher: anthropic
|
|
@@ -636,7 +682,19 @@ models:
|
|
|
636
682
|
publisher: google
|
|
637
683
|
aliases:
|
|
638
684
|
- {provider: vertex-ai, alias: gemini-3.5-flash, channel: google-vertex-ai}
|
|
685
|
+
- {provider: google, alias: gemini-3.5-flash, channel: google-api}
|
|
686
|
+
- {provider: google, alias: models/gemini-3.5-flash, channel: google-api}
|
|
639
687
|
prices:
|
|
688
|
+
# Direct API and Vertex list the same rate for this model.
|
|
689
|
+
- channel: google-api
|
|
690
|
+
region: global
|
|
691
|
+
effective_from: "2026-05-19"
|
|
692
|
+
input_per_mtok: 1.50
|
|
693
|
+
output_per_mtok: 9.00
|
|
694
|
+
cache_read_per_mtok: 0.15
|
|
695
|
+
batch_input_per_mtok: 0.75
|
|
696
|
+
batch_output_per_mtok: 4.50
|
|
697
|
+
source_url: https://ai.google.dev/gemini-api/docs/pricing
|
|
640
698
|
- channel: google-vertex-ai
|
|
641
699
|
region: global
|
|
642
700
|
effective_from: "2026-05-19"
|
|
@@ -716,7 +774,18 @@ models:
|
|
|
716
774
|
alias: google/gemma-4-26b-a4b-it
|
|
717
775
|
channel: vercel-ai-gateway
|
|
718
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}
|
|
719
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
|
|
720
789
|
- channel: vercel-ai-gateway
|
|
721
790
|
region: global
|
|
722
791
|
effective_from: "2026-04-02"
|
|
@@ -878,6 +947,7 @@ models:
|
|
|
878
947
|
- {provider: x-ai, alias: grok-4.3, channel: xai-api}
|
|
879
948
|
- {provider: x-ai, alias: grok-4.3-latest, channel: xai-api}
|
|
880
949
|
- {provider: x-ai, alias: grok-latest, channel: xai-api}
|
|
950
|
+
- {provider: bedrock, alias: xai.grok-4.3, channel: aws-bedrock}
|
|
881
951
|
prices:
|
|
882
952
|
- channel: xai-api
|
|
883
953
|
region: global
|
|
@@ -889,6 +959,19 @@ models:
|
|
|
889
959
|
input_includes_cache_read: true
|
|
890
960
|
long_context: {threshold: 200000, input_multiplier: 2, output_multiplier: 2}
|
|
891
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
|
|
892
975
|
|
|
893
976
|
- canonical_id: perplexity/sonar
|
|
894
977
|
publisher: perplexity
|
|
@@ -1025,7 +1108,17 @@ models:
|
|
|
1025
1108
|
publisher: google
|
|
1026
1109
|
aliases:
|
|
1027
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}
|
|
1028
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
|
|
1029
1122
|
- channel: vercel-ai-gateway
|
|
1030
1123
|
region: global
|
|
1031
1124
|
effective_from: "2026-04-02"
|
|
@@ -1250,6 +1343,156 @@ models:
|
|
|
1250
1343
|
cache_read_per_mtok: 0.50
|
|
1251
1344
|
source_url: https://vercel.com/ai-gateway/models/grok-4.6/providers
|
|
1252
1345
|
|
|
1346
|
+
- canonical_id: google/gemini-3-flash-preview
|
|
1347
|
+
publisher: google
|
|
1348
|
+
aliases:
|
|
1349
|
+
- {provider: google, alias: gemini-3-flash-preview, channel: google-api}
|
|
1350
|
+
- {provider: google, alias: models/gemini-3-flash-preview, channel: google-api}
|
|
1351
|
+
prices:
|
|
1352
|
+
- channel: google-api
|
|
1353
|
+
region: global
|
|
1354
|
+
effective_from: "2025-12-17"
|
|
1355
|
+
input_per_mtok: 0.50
|
|
1356
|
+
output_per_mtok: 3.00
|
|
1357
|
+
cache_read_per_mtok: 0.05
|
|
1358
|
+
batch_input_per_mtok: 0.25
|
|
1359
|
+
batch_output_per_mtok: 1.50
|
|
1360
|
+
source_url: https://ai.google.dev/gemini-api/docs/pricing
|
|
1361
|
+
|
|
1362
|
+
# The retired `-preview` id shares the GA entry rather than carrying its own.
|
|
1363
|
+
# Google shut that id down and published no preview-era rate, so a separate
|
|
1364
|
+
# price for it would be invented rather than sourced.
|
|
1365
|
+
- canonical_id: google/gemini-3.1-flash-lite
|
|
1366
|
+
publisher: google
|
|
1367
|
+
aliases:
|
|
1368
|
+
- {provider: google, alias: gemini-3.1-flash-lite, channel: google-api}
|
|
1369
|
+
- {provider: google, alias: models/gemini-3.1-flash-lite, channel: google-api}
|
|
1370
|
+
- {provider: google, alias: gemini-3.1-flash-lite-preview, channel: google-api}
|
|
1371
|
+
prices:
|
|
1372
|
+
- channel: google-api
|
|
1373
|
+
region: global
|
|
1374
|
+
effective_from: "2026-05-07"
|
|
1375
|
+
input_per_mtok: 0.25
|
|
1376
|
+
output_per_mtok: 1.50
|
|
1377
|
+
cache_read_per_mtok: 0.025
|
|
1378
|
+
batch_input_per_mtok: 0.125
|
|
1379
|
+
batch_output_per_mtok: 0.75
|
|
1380
|
+
source_url: https://ai.google.dev/gemini-api/docs/pricing
|
|
1381
|
+
|
|
1382
|
+
# GLM 5.3, GLM 5.3 Flash and Kimi K2.6 are each served on both Vercel and
|
|
1383
|
+
# Fireworks at different rates. One canonical id per model with a price per
|
|
1384
|
+
# channel keeps a cost query for the model whole. `fireworks/glm-5p2` above
|
|
1385
|
+
# predates that convention and splits GLM 5.2 across two canonical ids;
|
|
1386
|
+
# consolidating it is a separate change, since it moves existing rows.
|
|
1387
|
+
- canonical_id: zai/glm-5.3
|
|
1388
|
+
publisher: zai
|
|
1389
|
+
aliases:
|
|
1390
|
+
- provider: zai
|
|
1391
|
+
alias: zai/glm-5.3
|
|
1392
|
+
channel: vercel-ai-gateway
|
|
1393
|
+
rules: {input_includes_cache_read: true}
|
|
1394
|
+
- provider: fireworks
|
|
1395
|
+
alias: accounts/fireworks/models/glm-5p3
|
|
1396
|
+
channel: fireworks-api
|
|
1397
|
+
rules: {input_includes_cache_read: true}
|
|
1398
|
+
- provider: fireworks
|
|
1399
|
+
alias: fireworks:accounts/fireworks/models/glm-5p3
|
|
1400
|
+
channel: fireworks-api
|
|
1401
|
+
rules: {input_includes_cache_read: true}
|
|
1402
|
+
prices:
|
|
1403
|
+
- channel: vercel-ai-gateway
|
|
1404
|
+
region: global
|
|
1405
|
+
effective_from: "2026-08-14"
|
|
1406
|
+
input_per_mtok: 0.70
|
|
1407
|
+
output_per_mtok: 2.20
|
|
1408
|
+
source_url: https://vercel.com/ai-gateway/models/glm-5.3
|
|
1409
|
+
- channel: fireworks-api
|
|
1410
|
+
region: global
|
|
1411
|
+
effective_from: "2026-08-14"
|
|
1412
|
+
input_per_mtok: 1.40
|
|
1413
|
+
output_per_mtok: 4.40
|
|
1414
|
+
cache_read_per_mtok: 0.26
|
|
1415
|
+
source_url: https://fireworks.ai/models/fireworks/glm-5p3
|
|
1416
|
+
|
|
1417
|
+
- canonical_id: zai/glm-5.3-flash
|
|
1418
|
+
publisher: zai
|
|
1419
|
+
aliases:
|
|
1420
|
+
- provider: zai
|
|
1421
|
+
alias: zai/glm-5.3-flash
|
|
1422
|
+
channel: vercel-ai-gateway
|
|
1423
|
+
rules: {input_includes_cache_read: true}
|
|
1424
|
+
- provider: fireworks
|
|
1425
|
+
alias: accounts/fireworks/models/glm-5p3-flash
|
|
1426
|
+
channel: fireworks-api
|
|
1427
|
+
rules: {input_includes_cache_read: true}
|
|
1428
|
+
- provider: fireworks
|
|
1429
|
+
alias: fireworks:accounts/fireworks/models/glm-5p3-flash
|
|
1430
|
+
channel: fireworks-api
|
|
1431
|
+
rules: {input_includes_cache_read: true}
|
|
1432
|
+
prices:
|
|
1433
|
+
# Vercel lists this well under half the Fireworks rate. Recorded as listed;
|
|
1434
|
+
# if it is promotional it will need an `effective_to` when it moves.
|
|
1435
|
+
- channel: vercel-ai-gateway
|
|
1436
|
+
region: global
|
|
1437
|
+
effective_from: "2026-08-26"
|
|
1438
|
+
input_per_mtok: 0.07125
|
|
1439
|
+
output_per_mtok: 0.2375
|
|
1440
|
+
source_url: https://vercel.com/ai-gateway/models/glm-5.3-flash
|
|
1441
|
+
- channel: fireworks-api
|
|
1442
|
+
region: global
|
|
1443
|
+
effective_from: "2026-08-26"
|
|
1444
|
+
input_per_mtok: 0.15
|
|
1445
|
+
output_per_mtok: 0.50
|
|
1446
|
+
cache_read_per_mtok: 0.03
|
|
1447
|
+
source_url: https://fireworks.ai/models/fireworks/glm-5p3-flash
|
|
1448
|
+
|
|
1449
|
+
- canonical_id: moonshotai/kimi-k2.6
|
|
1450
|
+
publisher: moonshotai
|
|
1451
|
+
aliases:
|
|
1452
|
+
- provider: moonshotai
|
|
1453
|
+
alias: moonshotai/kimi-k2.6
|
|
1454
|
+
channel: vercel-ai-gateway
|
|
1455
|
+
rules: {input_includes_cache_read: true}
|
|
1456
|
+
- provider: fireworks
|
|
1457
|
+
alias: accounts/fireworks/models/kimi-k2p6
|
|
1458
|
+
channel: fireworks-api
|
|
1459
|
+
rules: {input_includes_cache_read: true}
|
|
1460
|
+
- provider: fireworks
|
|
1461
|
+
alias: fireworks:accounts/fireworks/models/kimi-k2p6
|
|
1462
|
+
channel: fireworks-api
|
|
1463
|
+
rules: {input_includes_cache_read: true}
|
|
1464
|
+
prices:
|
|
1465
|
+
- channel: vercel-ai-gateway
|
|
1466
|
+
region: global
|
|
1467
|
+
effective_from: "2026-04-20"
|
|
1468
|
+
input_per_mtok: 0.95
|
|
1469
|
+
output_per_mtok: 4.00
|
|
1470
|
+
source_url: https://vercel.com/ai-gateway/models/kimi-k2.6
|
|
1471
|
+
- channel: fireworks-api
|
|
1472
|
+
region: global
|
|
1473
|
+
effective_from: "2026-04-20"
|
|
1474
|
+
input_per_mtok: 0.95
|
|
1475
|
+
output_per_mtok: 4.00
|
|
1476
|
+
cache_read_per_mtok: 0.16
|
|
1477
|
+
source_url: https://fireworks.ai/models/fireworks/kimi-k2p6
|
|
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
|
+
|
|
1253
1496
|
# Retrieval prices: USD per 1,000 counted operations (completed searches, tool
|
|
1254
1497
|
# calls, executed grounding queries), billed on the provider's direct channel.
|
|
1255
1498
|
# These sit alongside the model-token catalog above but are priced per unit, not
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metergraph_core-0.2.13 → metergraph_core-0.2.18}/src/metergraph_core.egg-info/top_level.txt
RENAMED
|
File without changes
|