@pydantic/genai-prices 0.0.61 → 0.0.63

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.
package/dist/cli.js CHANGED
@@ -1105,6 +1105,35 @@ const ne = [
1105
1105
  output_mtok: 25
1106
1106
  }
1107
1107
  },
1108
+ {
1109
+ id: "claude-opus-4-8",
1110
+ name: "Claude Opus 4.8",
1111
+ description: "Our most capable model for complex reasoning and agentic coding",
1112
+ match: {
1113
+ or: [
1114
+ {
1115
+ starts_with: "claude-opus-4-8"
1116
+ },
1117
+ {
1118
+ starts_with: "claude-opus-4.8"
1119
+ },
1120
+ {
1121
+ starts_with: "claude-4-8-opus"
1122
+ },
1123
+ {
1124
+ starts_with: "claude-4.8-opus"
1125
+ }
1126
+ ]
1127
+ },
1128
+ context_window: 1e6,
1129
+ price_comments: "Flat pricing across full 1M context window (no tiered pricing). Ref: https://platform.claude.com/docs/en/about-claude/pricing#long-context-pricing",
1130
+ prices: {
1131
+ input_mtok: 5,
1132
+ cache_write_mtok: 6.25,
1133
+ cache_read_mtok: 0.5,
1134
+ output_mtok: 25
1135
+ }
1136
+ },
1108
1137
  {
1109
1138
  id: "claude-sonnet-4-0",
1110
1139
  name: "Claude Sonnet 4",
@@ -1327,7 +1356,14 @@ const ne = [
1327
1356
  pricing_urls: ["https://aws.amazon.com/bedrock/pricing/"],
1328
1357
  api_pattern: "https://bedrock-runtime\\.[a-z0-9-]+\\.amazonaws\\.com/",
1329
1358
  provider_match: {
1330
- contains: "bedrock"
1359
+ or: [
1360
+ {
1361
+ contains: "bedrock"
1362
+ },
1363
+ {
1364
+ contains: "amazon"
1365
+ }
1366
+ ]
1331
1367
  },
1332
1368
  extractors: [
1333
1369
  {
@@ -1573,6 +1609,18 @@ const ne = [
1573
1609
  output_mtok: 25
1574
1610
  }
1575
1611
  },
1612
+ {
1613
+ id: "global.anthropic.claude-opus-4-8-v1:0",
1614
+ match: {
1615
+ contains: "global.anthropic.claude-opus-4-8"
1616
+ },
1617
+ prices: {
1618
+ input_mtok: 5,
1619
+ cache_write_mtok: 6.25,
1620
+ cache_read_mtok: 0.5,
1621
+ output_mtok: 25
1622
+ }
1623
+ },
1576
1624
  {
1577
1625
  id: "global.anthropic.claude-sonnet-4-20250514-v1:0",
1578
1626
  match: {
@@ -1641,6 +1689,39 @@ const ne = [
1641
1689
  }
1642
1690
  }
1643
1691
  },
1692
+ {
1693
+ id: "google.gemma-3-12b-it",
1694
+ name: "Gemma 3 12B IT",
1695
+ match: {
1696
+ contains: "google.gemma-3-12b-it"
1697
+ },
1698
+ prices: {
1699
+ input_mtok: 0.09,
1700
+ output_mtok: 0.29
1701
+ }
1702
+ },
1703
+ {
1704
+ id: "google.gemma-3-27b-it",
1705
+ name: "Gemma 3 27B IT",
1706
+ match: {
1707
+ contains: "google.gemma-3-27b-it"
1708
+ },
1709
+ prices: {
1710
+ input_mtok: 0.23,
1711
+ output_mtok: 0.38
1712
+ }
1713
+ },
1714
+ {
1715
+ id: "google.gemma-3-4b-it",
1716
+ name: "Gemma 3 4B IT",
1717
+ match: {
1718
+ contains: "google.gemma-3-4b-it"
1719
+ },
1720
+ prices: {
1721
+ input_mtok: 0.04,
1722
+ output_mtok: 0.08
1723
+ }
1724
+ },
1644
1725
  {
1645
1726
  id: "meta.llama3-1-70b-instruct-v1:0",
1646
1727
  name: "Llama 3.1 70B Instruct",
@@ -1762,6 +1843,61 @@ const ne = [
1762
1843
  output_mtok: 0.66
1763
1844
  }
1764
1845
  },
1846
+ {
1847
+ id: "mistral.devstral-2-123b",
1848
+ name: "Devstral 2 123B",
1849
+ match: {
1850
+ contains: "mistral.devstral-2-123b"
1851
+ },
1852
+ prices: {
1853
+ input_mtok: 0.4,
1854
+ output_mtok: 2
1855
+ }
1856
+ },
1857
+ {
1858
+ id: "mistral.magistral-small-2509",
1859
+ name: "Magistral Small 2509",
1860
+ match: {
1861
+ contains: "mistral.magistral-small-2509"
1862
+ },
1863
+ prices: {
1864
+ input_mtok: 0.5,
1865
+ output_mtok: 1.5
1866
+ }
1867
+ },
1868
+ {
1869
+ id: "mistral.ministral-3-14b-instruct",
1870
+ name: "Ministral 14B 3.0",
1871
+ match: {
1872
+ contains: "mistral.ministral-3-14b-instruct"
1873
+ },
1874
+ prices: {
1875
+ input_mtok: 0.2,
1876
+ output_mtok: 0.2
1877
+ }
1878
+ },
1879
+ {
1880
+ id: "mistral.ministral-3-3b-instruct",
1881
+ name: "Ministral 3B 3.0",
1882
+ match: {
1883
+ contains: "mistral.ministral-3-3b-instruct"
1884
+ },
1885
+ prices: {
1886
+ input_mtok: 0.1,
1887
+ output_mtok: 0.1
1888
+ }
1889
+ },
1890
+ {
1891
+ id: "mistral.ministral-3-8b-instruct",
1892
+ name: "Ministral 8B 3.0",
1893
+ match: {
1894
+ contains: "mistral.ministral-3-8b-instruct"
1895
+ },
1896
+ prices: {
1897
+ input_mtok: 0.15,
1898
+ output_mtok: 0.15
1899
+ }
1900
+ },
1765
1901
  {
1766
1902
  id: "mistral.mistral-7b-instruct-v0:2",
1767
1903
  name: "Mistral 7B Instruct",
@@ -1784,6 +1920,17 @@ const ne = [
1784
1920
  output_mtok: 12
1785
1921
  }
1786
1922
  },
1923
+ {
1924
+ id: "mistral.mistral-large-3-675b-instruct",
1925
+ name: "Mistral Large 3",
1926
+ match: {
1927
+ contains: "mistral.mistral-large-3-675b-instruct"
1928
+ },
1929
+ prices: {
1930
+ input_mtok: 0.5,
1931
+ output_mtok: 1.5
1932
+ }
1933
+ },
1787
1934
  {
1788
1935
  id: "mistral.mistral-small-2402-v1:0",
1789
1936
  name: "Mistral Small (24.02)",
@@ -1817,6 +1964,28 @@ const ne = [
1817
1964
  output_mtok: 6
1818
1965
  }
1819
1966
  },
1967
+ {
1968
+ id: "mistral.voxtral-mini-3b-2507",
1969
+ name: "Voxtral Mini 3B 2507",
1970
+ match: {
1971
+ contains: "mistral.voxtral-mini-3b-2507"
1972
+ },
1973
+ prices: {
1974
+ input_mtok: 0.04,
1975
+ output_mtok: 0.04
1976
+ }
1977
+ },
1978
+ {
1979
+ id: "mistral.voxtral-small-24b-2507",
1980
+ name: "Voxtral Small 24B 2507",
1981
+ match: {
1982
+ contains: "mistral.voxtral-small-24b-2507"
1983
+ },
1984
+ prices: {
1985
+ input_mtok: 0.1,
1986
+ output_mtok: 0.3
1987
+ }
1988
+ },
1820
1989
  {
1821
1990
  id: "nvidia.nemotron-nano-3-30b:0",
1822
1991
  name: "Nemotron 3 Nano 30B",
@@ -2250,6 +2419,37 @@ const ne = [
2250
2419
  output_mtok: 27.5
2251
2420
  }
2252
2421
  },
2422
+ {
2423
+ id: "regional.anthropic.claude-opus-4-8-v1:0",
2424
+ match: {
2425
+ or: [
2426
+ {
2427
+ starts_with: "anthropic.claude-opus-4-8"
2428
+ },
2429
+ {
2430
+ starts_with: "claude-opus-4-8"
2431
+ },
2432
+ {
2433
+ contains: "us.anthropic.claude-opus-4-8"
2434
+ },
2435
+ {
2436
+ contains: "au.anthropic.claude-opus-4-8"
2437
+ },
2438
+ {
2439
+ contains: "eu.anthropic.claude-opus-4-8"
2440
+ },
2441
+ {
2442
+ contains: "jp.anthropic.claude-opus-4-8"
2443
+ }
2444
+ ]
2445
+ },
2446
+ prices: {
2447
+ input_mtok: 5.5,
2448
+ cache_write_mtok: 6.875,
2449
+ cache_read_mtok: 0.55,
2450
+ output_mtok: 27.5
2451
+ }
2452
+ },
2253
2453
  {
2254
2454
  id: "regional.anthropic.claude-sonnet-4-20250514-v1:0",
2255
2455
  match: {
@@ -3237,11 +3437,10 @@ Compared to other leading proprietary and open-weights models Command A delivers
3237
3437
  ]
3238
3438
  },
3239
3439
  context_window: 1e6,
3240
- price_comments: "Standard (non-promotional) pricing. DeepSeek is offering a temporary 75% promotional discount that is not reflected here.",
3241
3440
  prices: {
3242
- input_mtok: 1.74,
3243
- cache_read_mtok: 0.0145,
3244
- output_mtok: 3.48
3441
+ input_mtok: 0.435,
3442
+ cache_read_mtok: 3625e-6,
3443
+ output_mtok: 0.87
3245
3444
  }
3246
3445
  }
3247
3446
  ]
@@ -3831,6 +4030,33 @@ Compared to other leading proprietary and open-weights models Command A delivers
3831
4030
  output_mtok: 25
3832
4031
  }
3833
4032
  },
4033
+ {
4034
+ id: "claude-opus-4-8",
4035
+ match: {
4036
+ or: [
4037
+ {
4038
+ contains: "claude-4-8-opus"
4039
+ },
4040
+ {
4041
+ contains: "claude-opus-4-8"
4042
+ },
4043
+ {
4044
+ contains: "claude-4.8-opus"
4045
+ },
4046
+ {
4047
+ contains: "claude-opus-4.8"
4048
+ }
4049
+ ]
4050
+ },
4051
+ context_window: 1e6,
4052
+ price_comments: "Flat pricing across full 1M context window. Ref: https://cloud.google.com/vertex-ai/generative-ai/pricing#claude-models",
4053
+ prices: {
4054
+ input_mtok: 5,
4055
+ cache_write_mtok: 6.25,
4056
+ cache_read_mtok: 0.5,
4057
+ output_mtok: 25
4058
+ }
4059
+ },
3834
4060
  {
3835
4061
  id: "gemini-1.0-pro-vision-001",
3836
4062
  name: "gemini 1.0 pro vision",
@@ -4251,6 +4477,21 @@ Compared to other leading proprietary and open-weights models Command A delivers
4251
4477
  }
4252
4478
  }
4253
4479
  },
4480
+ {
4481
+ id: "gemini-3.5-flash",
4482
+ name: "Gemini 3.5 Flash",
4483
+ description: "Google's most intelligent model built for speed, combining frontier intelligence with improved reasoning, coding, and multimodal understanding.",
4484
+ match: {
4485
+ starts_with: "gemini-3.5-flash"
4486
+ },
4487
+ context_window: 1e6,
4488
+ price_comments: "See https://ai.google.dev/gemini-api/docs/pricing. Standard tier pricing shown; Batch and Flex tiers offer 50% discount on input/output.",
4489
+ prices: {
4490
+ input_mtok: 1.5,
4491
+ cache_read_mtok: 0.15,
4492
+ output_mtok: 9
4493
+ }
4494
+ },
4254
4495
  {
4255
4496
  id: "gemini-embedding-001",
4256
4497
  match: {
@@ -11746,6 +11987,27 @@ Compared to other leading proprietary and open-weights models Command A delivers
11746
11987
  output_mtok: 25
11747
11988
  }
11748
11989
  },
11990
+ {
11991
+ id: "anthropic/claude-opus-4.8",
11992
+ match: {
11993
+ or: [
11994
+ {
11995
+ equals: "anthropic/claude-opus-4.8"
11996
+ },
11997
+ {
11998
+ equals: "anthropic/claude-opus-4.8:beta"
11999
+ }
12000
+ ]
12001
+ },
12002
+ context_window: 1e6,
12003
+ price_comments: "Flat pricing across full 1M context window (no tiered pricing). Ref: https://platform.claude.com/docs/en/about-claude/pricing#long-context-pricing",
12004
+ prices: {
12005
+ input_mtok: 5,
12006
+ cache_write_mtok: 6.25,
12007
+ cache_read_mtok: 0.5,
12008
+ output_mtok: 25
12009
+ }
12010
+ },
11749
12011
  {
11750
12012
  id: "anthropic/claude-sonnet-4.5",
11751
12013
  match: {