metergraph-core 0.8.29__tar.gz → 0.8.30__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.8.29/src/metergraph_core.egg-info → metergraph_core-0.8.30}/PKG-INFO +1 -1
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/pyproject.toml +1 -1
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/data/models.yaml +24 -1
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/data/prices.yaml +76 -3
- {metergraph_core-0.8.29 → metergraph_core-0.8.30/src/metergraph_core.egg-info}/PKG-INFO +1 -1
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/MANIFEST.in +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/README.md +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/setup.cfg +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/__init__.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/billing.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/calls.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/catalog.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/catalog_delta.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/catalogs.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/data/sources.yaml +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/extractors.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/families.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/loader.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/models.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/providers/__init__.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/providers/anthropic.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/providers/google.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/refresh.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/reliability.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/responses.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/retrieval.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/sources.py +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core.egg-info/SOURCES.txt +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core.egg-info/dependency_links.txt +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core.egg-info/requires.txt +0 -0
- {metergraph_core-0.8.29 → metergraph_core-0.8.30}/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.8.
|
|
3
|
+
Version: 0.8.30
|
|
4
4
|
Summary: Open, effective-dated LLM pricing catalog and deterministic cost calculator for popular models across major providers and gateways, including OpenAI, Anthropic, Google Gemini, AWS Bedrock, OpenRouter, Vercel AI Gateway, and more.
|
|
5
5
|
Author: Metergraph
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "metergraph-core"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.30"
|
|
4
4
|
description = "Open, effective-dated LLM pricing catalog and deterministic cost calculator for popular models across major providers and gateways, including OpenAI, Anthropic, Google Gemini, AWS Bedrock, OpenRouter, Vercel AI Gateway, and more."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
version: '2026-11-
|
|
1
|
+
version: '2026-11-20'
|
|
2
2
|
# Training use of customer inputs and outputs under each serving provider's
|
|
3
3
|
# default terms. A pair left out resolves to unknown. A gateway or cloud host
|
|
4
4
|
# follows its own terms, never the model publisher's. No policy verifies an
|
|
@@ -666,6 +666,13 @@ models:
|
|
|
666
666
|
publisher: openai
|
|
667
667
|
released: '2026-03-05' # https://en.wikipedia.org/wiki/GPT-5.4
|
|
668
668
|
routes:
|
|
669
|
+
- key: default:openai/gpt-5.4
|
|
670
|
+
id: openai/gpt-5.4
|
|
671
|
+
provider: vercel
|
|
672
|
+
model_id: openai/gpt-5.4
|
|
673
|
+
pricing_channel: vercel-ai-gateway
|
|
674
|
+
execution_profiles:
|
|
675
|
+
- default
|
|
669
676
|
- key: default:openai:gpt-5.4
|
|
670
677
|
id: openai:gpt-5.4
|
|
671
678
|
provider: openai
|
|
@@ -1046,6 +1053,18 @@ models:
|
|
|
1046
1053
|
pricing_channel: vercel-ai-gateway
|
|
1047
1054
|
execution_profiles:
|
|
1048
1055
|
- default
|
|
1056
|
+
- canonical_id: google/gemini-4-neon
|
|
1057
|
+
display_name: Gemini 4 Neon
|
|
1058
|
+
publisher: google
|
|
1059
|
+
released: '2026-11-18' # https://vercel.com/changelog/gemini-4-neon-now-available-on-ai-gateway
|
|
1060
|
+
routes:
|
|
1061
|
+
- key: default:google/gemini-4-neon
|
|
1062
|
+
id: google/gemini-4-neon
|
|
1063
|
+
provider: vercel
|
|
1064
|
+
model_id: google/gemini-4-neon
|
|
1065
|
+
pricing_channel: vercel-ai-gateway
|
|
1066
|
+
execution_profiles:
|
|
1067
|
+
- default
|
|
1049
1068
|
- canonical_id: google/gemini-4-hydrogen
|
|
1050
1069
|
display_name: Gemini 4 Hydrogen
|
|
1051
1070
|
publisher: google
|
|
@@ -1200,6 +1219,8 @@ execution_profiles:
|
|
|
1200
1219
|
- default:openai/gpt-6.2-astra
|
|
1201
1220
|
- default:openai:gpt-6.2-sol
|
|
1202
1221
|
- default:openai:gpt-6.2-astra
|
|
1222
|
+
- default:openai/gpt-5.4
|
|
1223
|
+
- default:google/gemini-4-neon
|
|
1203
1224
|
|
|
1204
1225
|
- id: bedrock
|
|
1205
1226
|
routes:
|
|
@@ -1282,6 +1303,8 @@ offer_groups:
|
|
|
1282
1303
|
- default:alibaba/qwen4-max
|
|
1283
1304
|
- default:openai/gpt-6.2-sol
|
|
1284
1305
|
- default:openai/gpt-6.2-astra
|
|
1306
|
+
- default:openai/gpt-5.4
|
|
1307
|
+
- default:google/gemini-4-neon
|
|
1285
1308
|
- id: fireworks
|
|
1286
1309
|
credential: FIREWORKS_API_KEY
|
|
1287
1310
|
routes:
|
|
@@ -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-11-
|
|
9
|
+
version: "2026-11-20"
|
|
10
10
|
currency: USD
|
|
11
|
-
pricing_verified_at: "2026-11-
|
|
11
|
+
pricing_verified_at: "2026-11-20"
|
|
12
12
|
models:
|
|
13
13
|
- canonical_id: openai/gpt-6-sol
|
|
14
14
|
publisher: openai
|
|
@@ -2218,6 +2218,7 @@ models:
|
|
|
2218
2218
|
- canonical_id: google/gemini-4-argon
|
|
2219
2219
|
publisher: google
|
|
2220
2220
|
aliases:
|
|
2221
|
+
- {provider: vertex-ai, alias: gemini-4-argon, channel: google-vertex-ai}
|
|
2221
2222
|
- {provider: google, alias: gemini-4-argon, channel: google-api}
|
|
2222
2223
|
- {provider: google, alias: models/gemini-4-argon, channel: google-api}
|
|
2223
2224
|
- {provider: litellm, alias: gemini-4-argon, channel: google-api}
|
|
@@ -2229,6 +2230,28 @@ models:
|
|
|
2229
2230
|
channel: vercel-ai-gateway
|
|
2230
2231
|
rules: {input_includes_cache_read: true}
|
|
2231
2232
|
prices:
|
|
2233
|
+
# Introductory net prices include Google's 50% promotional credits.
|
|
2234
|
+
- channel: google-vertex-ai
|
|
2235
|
+
region: global
|
|
2236
|
+
effective_from: "2026-10-13"
|
|
2237
|
+
effective_to: "2026-12-01"
|
|
2238
|
+
input_per_mtok: 2.00
|
|
2239
|
+
output_per_mtok: 10.00
|
|
2240
|
+
cache_read_per_mtok: 0.10
|
|
2241
|
+
batch_input_per_mtok: 1.00
|
|
2242
|
+
batch_output_per_mtok: 5.00
|
|
2243
|
+
batch_cache_read_per_mtok: 0.05
|
|
2244
|
+
source_url: https://cloud.google.com/model-garden/pricing
|
|
2245
|
+
- channel: google-vertex-ai
|
|
2246
|
+
region: global
|
|
2247
|
+
effective_from: "2026-12-01"
|
|
2248
|
+
input_per_mtok: 4.00
|
|
2249
|
+
output_per_mtok: 20.00
|
|
2250
|
+
cache_read_per_mtok: 0.20
|
|
2251
|
+
batch_input_per_mtok: 2.00
|
|
2252
|
+
batch_output_per_mtok: 10.00
|
|
2253
|
+
batch_cache_read_per_mtok: 0.10
|
|
2254
|
+
source_url: https://cloud.google.com/model-garden/pricing
|
|
2232
2255
|
- channel: google-api
|
|
2233
2256
|
region: global
|
|
2234
2257
|
effective_from: "2026-10-13"
|
|
@@ -2409,6 +2432,7 @@ models:
|
|
|
2409
2432
|
- channel: google-api
|
|
2410
2433
|
region: global
|
|
2411
2434
|
effective_from: "2025-06-17"
|
|
2435
|
+
effective_to: "2026-12-01"
|
|
2412
2436
|
input_per_mtok: 1.25
|
|
2413
2437
|
output_per_mtok: 10.00
|
|
2414
2438
|
cache_read_per_mtok: 0.125
|
|
@@ -2417,6 +2441,26 @@ models:
|
|
|
2417
2441
|
rules:
|
|
2418
2442
|
long_context: {threshold: 200000, input_multiplier: 2, output_multiplier: 1.5}
|
|
2419
2443
|
source_url: https://ai.google.dev/gemini-api/docs/pricing
|
|
2444
|
+
# Routed to gemini-3.8-flash; mirrors its google-api rows.
|
|
2445
|
+
- channel: google-api
|
|
2446
|
+
region: global
|
|
2447
|
+
effective_from: "2026-12-01"
|
|
2448
|
+
effective_to: "2027-01-01"
|
|
2449
|
+
input_per_mtok: 0.75
|
|
2450
|
+
output_per_mtok: 3.75
|
|
2451
|
+
cache_read_per_mtok: 0.075
|
|
2452
|
+
batch_input_per_mtok: 0.375
|
|
2453
|
+
batch_output_per_mtok: 1.875
|
|
2454
|
+
source_url: https://aistudio.google.com/docs/changelog
|
|
2455
|
+
- channel: google-api
|
|
2456
|
+
region: global
|
|
2457
|
+
effective_from: "2027-01-01"
|
|
2458
|
+
input_per_mtok: 1.50
|
|
2459
|
+
output_per_mtok: 7.50
|
|
2460
|
+
cache_read_per_mtok: 0.15
|
|
2461
|
+
batch_input_per_mtok: 0.75
|
|
2462
|
+
batch_output_per_mtok: 3.75
|
|
2463
|
+
source_url: https://aistudio.google.com/docs/changelog
|
|
2420
2464
|
|
|
2421
2465
|
- channel: vercel-ai-gateway
|
|
2422
2466
|
region: global
|
|
@@ -8403,6 +8447,7 @@ models:
|
|
|
8403
8447
|
rules:
|
|
8404
8448
|
input_includes_cache_read: true
|
|
8405
8449
|
input_includes_cache_write: true
|
|
8450
|
+
- {provider: meta, alias: muse-spark-1.2-contributor, channel: meta-api, rules: {input_includes_cache_read: true}}
|
|
8406
8451
|
prices:
|
|
8407
8452
|
- channel: vercel-ai-gateway
|
|
8408
8453
|
region: global
|
|
@@ -8411,6 +8456,14 @@ models:
|
|
|
8411
8456
|
output_per_mtok: 0.2
|
|
8412
8457
|
cache_read_per_mtok: 0.002
|
|
8413
8458
|
source_url: https://ai-gateway.vercel.sh/v1/models
|
|
8459
|
+
# First verified Meta API rate, not its launch date.
|
|
8460
|
+
- channel: meta-api
|
|
8461
|
+
region: global
|
|
8462
|
+
effective_from: "2026-11-20"
|
|
8463
|
+
input_per_mtok: 0.10
|
|
8464
|
+
output_per_mtok: 0.20
|
|
8465
|
+
cache_read_per_mtok: 0.002
|
|
8466
|
+
source_url: https://dev.meta.ai/docs/pricing-rate-limits
|
|
8414
8467
|
|
|
8415
8468
|
- canonical_id: meta/muse-spark-1.3-contributor
|
|
8416
8469
|
publisher: meta
|
|
@@ -8421,6 +8474,7 @@ models:
|
|
|
8421
8474
|
rules:
|
|
8422
8475
|
input_includes_cache_read: true
|
|
8423
8476
|
input_includes_cache_write: true
|
|
8477
|
+
- {provider: meta, alias: muse-spark-1.3-contributor, channel: meta-api, rules: {input_includes_cache_read: true}}
|
|
8424
8478
|
prices:
|
|
8425
8479
|
- channel: vercel-ai-gateway
|
|
8426
8480
|
region: global
|
|
@@ -8429,6 +8483,14 @@ models:
|
|
|
8429
8483
|
output_per_mtok: 0.2
|
|
8430
8484
|
cache_read_per_mtok: 0.002
|
|
8431
8485
|
source_url: https://ai-gateway.vercel.sh/v1/models
|
|
8486
|
+
# First verified Meta API rate, not its launch date.
|
|
8487
|
+
- channel: meta-api
|
|
8488
|
+
region: global
|
|
8489
|
+
effective_from: "2026-11-20"
|
|
8490
|
+
input_per_mtok: 0.10
|
|
8491
|
+
output_per_mtok: 0.20
|
|
8492
|
+
cache_read_per_mtok: 0.002
|
|
8493
|
+
source_url: https://dev.meta.ai/docs/pricing-rate-limits
|
|
8432
8494
|
|
|
8433
8495
|
- canonical_id: minimax/minimax-m2
|
|
8434
8496
|
publisher: minimax
|
|
@@ -13890,6 +13952,7 @@ models:
|
|
|
13890
13952
|
- canonical_id: google/gemini-4-hydrogen
|
|
13891
13953
|
publisher: google
|
|
13892
13954
|
aliases:
|
|
13955
|
+
- {provider: vertex-ai, alias: gemini-4-hydrogen, channel: google-vertex-ai}
|
|
13893
13956
|
- {provider: google, alias: gemini-4-hydrogen, channel: google-api}
|
|
13894
13957
|
- {provider: google, alias: models/gemini-4-hydrogen, channel: google-api}
|
|
13895
13958
|
- {provider: litellm, alias: gemini-4-hydrogen, channel: google-api}
|
|
@@ -13905,6 +13968,16 @@ models:
|
|
|
13905
13968
|
channel: vercel-ai-gateway
|
|
13906
13969
|
rules: {input_includes_cache_read: true}
|
|
13907
13970
|
prices:
|
|
13971
|
+
- channel: google-vertex-ai
|
|
13972
|
+
region: global
|
|
13973
|
+
effective_from: "2026-11-12"
|
|
13974
|
+
input_per_mtok: 1.50
|
|
13975
|
+
output_per_mtok: 7.50
|
|
13976
|
+
cache_read_per_mtok: 0.075
|
|
13977
|
+
batch_input_per_mtok: 0.75
|
|
13978
|
+
batch_output_per_mtok: 3.75
|
|
13979
|
+
batch_cache_read_per_mtok: 0.0375
|
|
13980
|
+
source_url: https://cloud.google.com/model-garden/pricing
|
|
13908
13981
|
- channel: google-api
|
|
13909
13982
|
region: global
|
|
13910
13983
|
effective_from: "2026-11-12"
|
|
@@ -14005,7 +14078,7 @@ retrieval:
|
|
|
14005
14078
|
per_1k_usd: 14.00
|
|
14006
14079
|
effective_from: "2026-08-26"
|
|
14007
14080
|
source_url: https://ai.google.dev/gemini-api/docs/pricing
|
|
14008
|
-
# Gemini 3 on Vertex
|
|
14081
|
+
# Gemini 3 and 4 on Vertex are charged per grounding query after 5,000 free a
|
|
14009
14082
|
# month. Gemini 2.5 and 2.0 are charged per grounded prompt and are not
|
|
14010
14083
|
# represented.
|
|
14011
14084
|
- channel: google-vertex-ai
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: metergraph-core
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.30
|
|
4
4
|
Summary: Open, effective-dated LLM pricing catalog and deterministic cost calculator for popular models across major providers and gateways, including OpenAI, Anthropic, Google Gemini, AWS Bedrock, OpenRouter, Vercel AI Gateway, and more.
|
|
5
5
|
Author: Metergraph
|
|
6
6
|
License-Expression: Apache-2.0
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core/providers/anthropic.py
RENAMED
|
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.8.29 → metergraph_core-0.8.30}/src/metergraph_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{metergraph_core-0.8.29 → metergraph_core-0.8.30}/src/metergraph_core.egg-info/top_level.txt
RENAMED
|
File without changes
|