@caupulican/pi-ai 0.81.1 → 0.81.3

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.
@@ -1807,108 +1807,6 @@ export const MODELS = {
1807
1807
  },
1808
1808
  },
1809
1809
  "anthropic": {
1810
- "claude-3-5-sonnet-20240620": {
1811
- id: "claude-3-5-sonnet-20240620",
1812
- name: "Claude Sonnet 3.5",
1813
- api: "anthropic-messages",
1814
- provider: "anthropic",
1815
- baseUrl: "https://api.anthropic.com",
1816
- reasoning: false,
1817
- input: ["text", "image"],
1818
- cost: {
1819
- input: 3,
1820
- output: 15,
1821
- cacheRead: 0.3,
1822
- cacheWrite: 3.75,
1823
- },
1824
- contextWindow: 200000,
1825
- maxTokens: 8192,
1826
- },
1827
- "claude-3-5-sonnet-20241022": {
1828
- id: "claude-3-5-sonnet-20241022",
1829
- name: "Claude Sonnet 3.5 v2",
1830
- api: "anthropic-messages",
1831
- provider: "anthropic",
1832
- baseUrl: "https://api.anthropic.com",
1833
- reasoning: false,
1834
- input: ["text", "image"],
1835
- cost: {
1836
- input: 3,
1837
- output: 15,
1838
- cacheRead: 0.3,
1839
- cacheWrite: 3.75,
1840
- },
1841
- contextWindow: 200000,
1842
- maxTokens: 8192,
1843
- },
1844
- "claude-3-7-sonnet-20250219": {
1845
- id: "claude-3-7-sonnet-20250219",
1846
- name: "Claude Sonnet 3.7",
1847
- api: "anthropic-messages",
1848
- provider: "anthropic",
1849
- baseUrl: "https://api.anthropic.com",
1850
- reasoning: true,
1851
- input: ["text", "image"],
1852
- cost: {
1853
- input: 3,
1854
- output: 15,
1855
- cacheRead: 0.3,
1856
- cacheWrite: 3.75,
1857
- },
1858
- contextWindow: 200000,
1859
- maxTokens: 64000,
1860
- },
1861
- "claude-3-haiku-20240307": {
1862
- id: "claude-3-haiku-20240307",
1863
- name: "Claude Haiku 3",
1864
- api: "anthropic-messages",
1865
- provider: "anthropic",
1866
- baseUrl: "https://api.anthropic.com",
1867
- reasoning: false,
1868
- input: ["text", "image"],
1869
- cost: {
1870
- input: 0.25,
1871
- output: 1.25,
1872
- cacheRead: 0.03,
1873
- cacheWrite: 0.3,
1874
- },
1875
- contextWindow: 200000,
1876
- maxTokens: 4096,
1877
- },
1878
- "claude-3-opus-20240229": {
1879
- id: "claude-3-opus-20240229",
1880
- name: "Claude Opus 3",
1881
- api: "anthropic-messages",
1882
- provider: "anthropic",
1883
- baseUrl: "https://api.anthropic.com",
1884
- reasoning: false,
1885
- input: ["text", "image"],
1886
- cost: {
1887
- input: 15,
1888
- output: 75,
1889
- cacheRead: 1.5,
1890
- cacheWrite: 18.75,
1891
- },
1892
- contextWindow: 200000,
1893
- maxTokens: 4096,
1894
- },
1895
- "claude-3-sonnet-20240229": {
1896
- id: "claude-3-sonnet-20240229",
1897
- name: "Claude Sonnet 3",
1898
- api: "anthropic-messages",
1899
- provider: "anthropic",
1900
- baseUrl: "https://api.anthropic.com",
1901
- reasoning: false,
1902
- input: ["text", "image"],
1903
- cost: {
1904
- input: 3,
1905
- output: 15,
1906
- cacheRead: 0.3,
1907
- cacheWrite: 0.3,
1908
- },
1909
- contextWindow: 200000,
1910
- maxTokens: 4096,
1911
- },
1912
1810
  "claude-fable-5": {
1913
1811
  id: "claude-fable-5",
1914
1812
  name: "Claude Fable 5",
@@ -1960,23 +1858,6 @@ export const MODELS = {
1960
1858
  contextWindow: 200000,
1961
1859
  maxTokens: 64000,
1962
1860
  },
1963
- "claude-opus-4-0": {
1964
- id: "claude-opus-4-0",
1965
- name: "Claude Opus 4 (latest)",
1966
- api: "anthropic-messages",
1967
- provider: "anthropic",
1968
- baseUrl: "https://api.anthropic.com",
1969
- reasoning: true,
1970
- input: ["text", "image"],
1971
- cost: {
1972
- input: 15,
1973
- output: 75,
1974
- cacheRead: 1.5,
1975
- cacheWrite: 18.75,
1976
- },
1977
- contextWindow: 200000,
1978
- maxTokens: 32000,
1979
- },
1980
1861
  "claude-opus-4-1": {
1981
1862
  id: "claude-opus-4-1",
1982
1863
  name: "Claude Opus 4.1 (latest)",
@@ -2011,23 +1892,6 @@ export const MODELS = {
2011
1892
  contextWindow: 200000,
2012
1893
  maxTokens: 32000,
2013
1894
  },
2014
- "claude-opus-4-20250514": {
2015
- id: "claude-opus-4-20250514",
2016
- name: "Claude Opus 4",
2017
- api: "anthropic-messages",
2018
- provider: "anthropic",
2019
- baseUrl: "https://api.anthropic.com",
2020
- reasoning: true,
2021
- input: ["text", "image"],
2022
- cost: {
2023
- input: 15,
2024
- output: 75,
2025
- cacheRead: 1.5,
2026
- cacheWrite: 18.75,
2027
- },
2028
- contextWindow: 200000,
2029
- maxTokens: 32000,
2030
- },
2031
1895
  "claude-opus-4-5": {
2032
1896
  id: "claude-opus-4-5",
2033
1897
  name: "Claude Opus 4.5 (latest)",
@@ -2119,40 +1983,6 @@ export const MODELS = {
2119
1983
  contextWindow: 1000000,
2120
1984
  maxTokens: 128000,
2121
1985
  },
2122
- "claude-sonnet-4-0": {
2123
- id: "claude-sonnet-4-0",
2124
- name: "Claude Sonnet 4 (latest)",
2125
- api: "anthropic-messages",
2126
- provider: "anthropic",
2127
- baseUrl: "https://api.anthropic.com",
2128
- reasoning: true,
2129
- input: ["text", "image"],
2130
- cost: {
2131
- input: 3,
2132
- output: 15,
2133
- cacheRead: 0.3,
2134
- cacheWrite: 3.75,
2135
- },
2136
- contextWindow: 200000,
2137
- maxTokens: 64000,
2138
- },
2139
- "claude-sonnet-4-20250514": {
2140
- id: "claude-sonnet-4-20250514",
2141
- name: "Claude Sonnet 4",
2142
- api: "anthropic-messages",
2143
- provider: "anthropic",
2144
- baseUrl: "https://api.anthropic.com",
2145
- reasoning: true,
2146
- input: ["text", "image"],
2147
- cost: {
2148
- input: 3,
2149
- output: 15,
2150
- cacheRead: 0.3,
2151
- cacheWrite: 3.75,
2152
- },
2153
- contextWindow: 200000,
2154
- maxTokens: 64000,
2155
- },
2156
1986
  "claude-sonnet-4-5": {
2157
1987
  id: "claude-sonnet-4-5",
2158
1988
  name: "Claude Sonnet 4.5 (latest)",
@@ -2167,7 +1997,7 @@ export const MODELS = {
2167
1997
  cacheRead: 0.3,
2168
1998
  cacheWrite: 3.75,
2169
1999
  },
2170
- contextWindow: 200000,
2000
+ contextWindow: 1000000,
2171
2001
  maxTokens: 64000,
2172
2002
  },
2173
2003
  "claude-sonnet-4-5-20250929": {
@@ -2184,7 +2014,7 @@ export const MODELS = {
2184
2014
  cacheRead: 0.3,
2185
2015
  cacheWrite: 3.75,
2186
2016
  },
2187
- contextWindow: 200000,
2017
+ contextWindow: 1000000,
2188
2018
  maxTokens: 64000,
2189
2019
  },
2190
2020
  "claude-sonnet-4-6": {
@@ -2203,7 +2033,7 @@ export const MODELS = {
2203
2033
  cacheWrite: 3.75,
2204
2034
  },
2205
2035
  contextWindow: 1000000,
2206
- maxTokens: 64000,
2036
+ maxTokens: 128000,
2207
2037
  },
2208
2038
  "claude-sonnet-5": {
2209
2039
  id: "claude-sonnet-5",
@@ -13437,9 +13267,9 @@ export const MODELS = {
13437
13267
  reasoning: true,
13438
13268
  input: ["text"],
13439
13269
  cost: {
13440
- input: 0.7546,
13441
- output: 2.3716,
13442
- cacheRead: 0.14014000000000001,
13270
+ input: 0.5740000000000001,
13271
+ output: 1.804,
13272
+ cacheRead: 0.1066,
13443
13273
  cacheWrite: 0,
13444
13274
  },
13445
13275
  contextWindow: 1048576,