opencode-quota-gui 1.3.1 → 1.3.2
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/README.md +16 -12
- package/dist/contracts/build-identity.js +1 -1
- package/dist/contracts/card-order.d.ts +2 -0
- package/dist/contracts/card-order.js +2 -2
- package/dist/contracts/card-visibility.d.ts +2 -1
- package/dist/contracts/card-visibility.js +2 -1
- package/dist/contracts/dashboard.d.ts +87 -5
- package/dist/contracts/dashboard.js +10 -0
- package/dist/contracts/dto-guards.d.ts +4 -0
- package/dist/contracts/dto-guards.js +29 -7
- package/dist/contracts/guards.js +3 -1
- package/dist/contracts/identity.d.ts +37 -5
- package/dist/contracts/identity.js +43 -0
- package/dist/contracts/provider-auto-resume.d.ts +9 -0
- package/dist/contracts/provider-auto-resume.js +24 -0
- package/dist/contracts/provider-failure.d.ts +22 -0
- package/dist/contracts/provider-failure.js +25 -1
- package/dist/contracts/row-order.d.ts +13 -0
- package/dist/contracts/row-order.js +34 -0
- package/dist/contracts/row-visibility.d.ts +53 -0
- package/dist/contracts/row-visibility.js +130 -0
- package/dist/data/modelsdev-pricing.min.json +1 -1
- package/dist/data/modelsdev-temporal.min.json +3 -634
- package/dist/gui/aggregation.d.ts +29 -1
- package/dist/gui/aggregation.js +157 -4
- package/dist/gui/analytics-bridge.d.ts +8 -9
- package/dist/gui/analytics-bridge.js +197 -54
- package/dist/gui/analytics-engine.d.ts +7 -15
- package/dist/gui/analytics-engine.js +246 -106
- package/dist/gui/analytics-model.d.ts +7 -0
- package/dist/gui/analytics-model.js +75 -9
- package/dist/gui/analytics-pricing-upkeep.d.ts +21 -0
- package/dist/gui/analytics-pricing-upkeep.js +23 -0
- package/dist/gui/analytics-protocol.d.ts +17 -7
- package/dist/gui/analytics-protocol.js +1 -0
- package/dist/gui/analytics-service.d.ts +10 -0
- package/dist/gui/analytics-service.js +30 -9
- package/dist/gui/analytics-state.d.ts +30 -5
- package/dist/gui/analytics-state.js +46 -7
- package/dist/gui/analytics-worker-runtime.d.ts +5 -0
- package/dist/gui/analytics-worker-runtime.js +9 -1
- package/dist/gui/analytics-worker.js +11 -0
- package/dist/gui/config.d.ts +2 -2
- package/dist/gui/config.js +46 -5
- package/dist/gui/identity.d.ts +6 -20
- package/dist/gui/identity.js +6 -54
- package/dist/gui/primary-quota-windows.js +55 -34
- package/dist/gui/provider-cards.d.ts +12 -8
- package/dist/gui/provider-cards.js +12 -53
- package/dist/gui/quota-notification-detector.d.ts +25 -2
- package/dist/gui/quota-notification-detector.js +60 -5
- package/dist/gui/quota-notification-observer.d.ts +1 -1
- package/dist/gui/quota-notification-observer.js +5 -1
- package/dist/gui/quota-observation.d.ts +4 -0
- package/dist/gui/quota-observation.js +18 -0
- package/dist/gui/rpc.js +3 -0
- package/dist/gui/server.js +6 -1
- package/dist/gui/snapshot-service.d.ts +3 -17
- package/dist/gui/snapshot-service.js +159 -9
- package/dist/gui/sources.js +84 -11
- package/dist/gui/temporal-status.d.ts +3 -2
- package/dist/gui/temporal-status.js +10 -6
- package/dist/gui-experimental.cjs +228 -228
- package/dist/lib/accounting-format.d.ts +8 -0
- package/dist/lib/accounting-format.js +12 -2
- package/dist/lib/anthropic-api-auth.d.ts +7 -0
- package/dist/lib/anthropic-api-auth.js +27 -0
- package/dist/lib/anthropic-api-rate-limits.d.ts +47 -0
- package/dist/lib/anthropic-api-rate-limits.js +92 -0
- package/dist/lib/anthropic-oauth-throttle.d.ts +76 -0
- package/dist/lib/anthropic-oauth-throttle.js +379 -0
- package/dist/lib/anthropic.d.ts +22 -4
- package/dist/lib/anthropic.js +498 -180
- package/dist/lib/cache-observer-ingestion.js +27 -0
- package/dist/lib/cache-observer.d.ts +3 -0
- package/dist/lib/cache-observer.js +9 -3
- package/dist/lib/cli-show.d.ts +5 -0
- package/dist/lib/cli-show.js +16 -5
- package/dist/lib/cli-status.js +3 -6
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.js +64 -2
- package/dist/lib/dashboard-visibility.d.ts +5 -0
- package/dist/lib/dashboard-visibility.js +11 -10
- package/dist/lib/display-sanitize.js +1 -0
- package/dist/lib/entries.d.ts +10 -1
- package/dist/lib/entries.js +4 -0
- package/dist/lib/grouped-entry-normalization.js +1 -1
- package/dist/lib/maintainer-announcements.js +2 -2
- package/dist/lib/modelsdev-pricing.d.ts +74 -2
- package/dist/lib/modelsdev-pricing.js +457 -63
- package/dist/lib/modelsdev-temporal.d.ts +6 -0
- package/dist/lib/modelsdev-temporal.js +16 -2
- package/dist/lib/opencode-config-providers.js +2 -2
- package/dist/lib/opencode-storage.d.ts +20 -0
- package/dist/lib/opencode-storage.js +89 -2
- package/dist/lib/opencode-version-core.d.ts +7 -0
- package/dist/lib/opencode-version-core.js +10 -0
- package/dist/lib/opencode-warming-refresh.d.ts +19 -0
- package/dist/lib/opencode-warming-refresh.js +95 -0
- package/dist/lib/provider-metadata.d.ts +11 -3
- package/dist/lib/provider-metadata.js +20 -2
- package/dist/lib/provider-registration.d.ts +342 -3
- package/dist/lib/provider-registration.js +409 -27
- package/dist/lib/quota-auto-resume.d.ts +74 -0
- package/dist/lib/quota-auto-resume.js +539 -0
- package/dist/lib/quota-command-format.js +22 -9
- package/dist/lib/quota-identity.d.ts +64 -0
- package/dist/lib/quota-identity.js +111 -0
- package/dist/lib/quota-providers.js +2 -2
- package/dist/lib/quota-render-data.js +2 -2
- package/dist/lib/quota-reset-notifications.js +11 -155
- package/dist/lib/quota-retry-wait.d.ts +106 -5
- package/dist/lib/quota-retry-wait.js +301 -34
- package/dist/lib/quota-runtime-context.js +1 -0
- package/dist/lib/quota-state-codec.d.ts +2 -0
- package/dist/lib/quota-state-codec.js +14 -1
- package/dist/lib/quota-state.d.ts +1 -1
- package/dist/lib/quota-state.js +60 -28
- package/dist/lib/quota-stats.d.ts +26 -0
- package/dist/lib/quota-stats.js +19 -1
- package/dist/lib/quota-surface-data.js +18 -3
- package/dist/lib/quota-telemetry.js +2 -2
- package/dist/lib/resolved-auth-identity.d.ts +19 -0
- package/dist/lib/resolved-auth-identity.js +44 -0
- package/dist/lib/state-file-lock.d.ts +26 -0
- package/dist/lib/state-file-lock.js +205 -0
- package/dist/lib/toast-format-grouped.js +7 -4
- package/dist/lib/tui-compact-format.js +29 -16
- package/dist/lib/types.d.ts +20 -0
- package/dist/lib/types.js +4 -1
- package/dist/plugin.js +67 -1
- package/dist/providers/alibaba-coding-plan.js +21 -3
- package/dist/providers/alibaba-token-plan.js +9 -5
- package/dist/providers/anthropic.d.ts +6 -2
- package/dist/providers/anthropic.js +123 -14
- package/dist/providers/chutes.js +2 -0
- package/dist/providers/claude-agent.js +24 -5
- package/dist/providers/copilot.js +5 -4
- package/dist/providers/glm-coding-plan-provider.js +30 -23
- package/dist/providers/ollama-cloud.js +10 -0
- package/dist/providers/openai.js +24 -23
- package/dist/providers/opencode-go.js +7 -6
- package/dist/providers/opencode-zen.js +1 -1
- package/dist/providers/result-helpers.d.ts +4 -2
- package/dist/providers/result-helpers.js +5 -1
- package/dist/providers/synthetic.js +4 -0
- package/dist/providers/xai.js +9 -8
- package/dist/rpc.d.ts +8 -0
- package/dist/rpc.js +15 -2
- package/dist/ui/assets/{index-BcueIm3Z.css → index-6_g1FHs-.css} +1 -1
- package/dist/ui/assets/index-sZnGUuML.js +10 -0
- package/dist/ui/assets/{popover-4bFSvRZ7.js → popover-C4ZLYe9E.js} +1 -1
- package/dist/ui/index.html +2 -2
- package/package.json +3 -3
- package/dist/ui/assets/index-C6qRSoh8.js +0 -10
|
@@ -1741,643 +1741,10 @@
|
|
|
1741
1741
|
}
|
|
1742
1742
|
},
|
|
1743
1743
|
"openrouter": {
|
|
1744
|
-
"deepseek/deepseek-v4-pro-0813": {
|
|
1745
|
-
"status": "supported",
|
|
1746
|
-
"source": "providers/openrouter/models/deepseek/deepseek-v4-pro-0813.toml",
|
|
1747
|
-
"overrides": [
|
|
1748
|
-
{
|
|
1749
|
-
"id": "text.input.overrides[0]",
|
|
1750
|
-
"field": "input",
|
|
1751
|
-
"when": {
|
|
1752
|
-
"type": "utc_days",
|
|
1753
|
-
"op": "in",
|
|
1754
|
-
"value": ["sat", "sun"]
|
|
1755
|
-
},
|
|
1756
|
-
"rates": {
|
|
1757
|
-
"input": 0.66,
|
|
1758
|
-
"cache_read": 0.022
|
|
1759
|
-
}
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"id": "text.input.overrides[1]",
|
|
1763
|
-
"field": "input",
|
|
1764
|
-
"when": {
|
|
1765
|
-
"type": "all",
|
|
1766
|
-
"of": [
|
|
1767
|
-
{
|
|
1768
|
-
"type": "utc_days",
|
|
1769
|
-
"op": "in",
|
|
1770
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1771
|
-
},
|
|
1772
|
-
{
|
|
1773
|
-
"type": "utc_hours",
|
|
1774
|
-
"op": "lt",
|
|
1775
|
-
"value": "01:00"
|
|
1776
|
-
}
|
|
1777
|
-
]
|
|
1778
|
-
},
|
|
1779
|
-
"rates": {
|
|
1780
|
-
"input": 0.66,
|
|
1781
|
-
"cache_read": 0.022
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"id": "text.input.overrides[2]",
|
|
1786
|
-
"field": "input",
|
|
1787
|
-
"when": {
|
|
1788
|
-
"type": "all",
|
|
1789
|
-
"of": [
|
|
1790
|
-
{
|
|
1791
|
-
"type": "utc_days",
|
|
1792
|
-
"op": "in",
|
|
1793
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"type": "all",
|
|
1797
|
-
"of": [
|
|
1798
|
-
{
|
|
1799
|
-
"type": "utc_hours",
|
|
1800
|
-
"op": "gte",
|
|
1801
|
-
"value": "01:00"
|
|
1802
|
-
},
|
|
1803
|
-
{
|
|
1804
|
-
"type": "utc_hours",
|
|
1805
|
-
"op": "lt",
|
|
1806
|
-
"value": "04:00"
|
|
1807
|
-
}
|
|
1808
|
-
]
|
|
1809
|
-
}
|
|
1810
|
-
]
|
|
1811
|
-
},
|
|
1812
|
-
"rates": {
|
|
1813
|
-
"input": 1.32,
|
|
1814
|
-
"cache_read": 0.044
|
|
1815
|
-
}
|
|
1816
|
-
},
|
|
1817
|
-
{
|
|
1818
|
-
"id": "text.input.overrides[3]",
|
|
1819
|
-
"field": "input",
|
|
1820
|
-
"when": {
|
|
1821
|
-
"type": "all",
|
|
1822
|
-
"of": [
|
|
1823
|
-
{
|
|
1824
|
-
"type": "utc_days",
|
|
1825
|
-
"op": "in",
|
|
1826
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"type": "all",
|
|
1830
|
-
"of": [
|
|
1831
|
-
{
|
|
1832
|
-
"type": "utc_hours",
|
|
1833
|
-
"op": "gte",
|
|
1834
|
-
"value": "04:00"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"type": "utc_hours",
|
|
1838
|
-
"op": "lt",
|
|
1839
|
-
"value": "06:00"
|
|
1840
|
-
}
|
|
1841
|
-
]
|
|
1842
|
-
}
|
|
1843
|
-
]
|
|
1844
|
-
},
|
|
1845
|
-
"rates": {
|
|
1846
|
-
"input": 0.66,
|
|
1847
|
-
"cache_read": 0.022
|
|
1848
|
-
}
|
|
1849
|
-
},
|
|
1850
|
-
{
|
|
1851
|
-
"id": "text.input.overrides[4]",
|
|
1852
|
-
"field": "input",
|
|
1853
|
-
"when": {
|
|
1854
|
-
"type": "all",
|
|
1855
|
-
"of": [
|
|
1856
|
-
{
|
|
1857
|
-
"type": "utc_days",
|
|
1858
|
-
"op": "in",
|
|
1859
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"type": "all",
|
|
1863
|
-
"of": [
|
|
1864
|
-
{
|
|
1865
|
-
"type": "utc_hours",
|
|
1866
|
-
"op": "gte",
|
|
1867
|
-
"value": "06:00"
|
|
1868
|
-
},
|
|
1869
|
-
{
|
|
1870
|
-
"type": "utc_hours",
|
|
1871
|
-
"op": "lt",
|
|
1872
|
-
"value": "10:00"
|
|
1873
|
-
}
|
|
1874
|
-
]
|
|
1875
|
-
}
|
|
1876
|
-
]
|
|
1877
|
-
},
|
|
1878
|
-
"rates": {
|
|
1879
|
-
"input": 1.32,
|
|
1880
|
-
"cache_read": 0.044
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"id": "text.input.overrides[5]",
|
|
1885
|
-
"field": "input",
|
|
1886
|
-
"when": {
|
|
1887
|
-
"type": "all",
|
|
1888
|
-
"of": [
|
|
1889
|
-
{
|
|
1890
|
-
"type": "utc_days",
|
|
1891
|
-
"op": "in",
|
|
1892
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"type": "utc_hours",
|
|
1896
|
-
"op": "gte",
|
|
1897
|
-
"value": "10:00"
|
|
1898
|
-
}
|
|
1899
|
-
]
|
|
1900
|
-
},
|
|
1901
|
-
"rates": {
|
|
1902
|
-
"input": 0.66,
|
|
1903
|
-
"cache_read": 0.022
|
|
1904
|
-
}
|
|
1905
|
-
},
|
|
1906
|
-
{
|
|
1907
|
-
"id": "text.output.overrides[0]",
|
|
1908
|
-
"field": "output",
|
|
1909
|
-
"when": {
|
|
1910
|
-
"type": "utc_days",
|
|
1911
|
-
"op": "in",
|
|
1912
|
-
"value": ["sat", "sun"]
|
|
1913
|
-
},
|
|
1914
|
-
"rates": {
|
|
1915
|
-
"output": 1.98
|
|
1916
|
-
}
|
|
1917
|
-
},
|
|
1918
|
-
{
|
|
1919
|
-
"id": "text.output.overrides[1]",
|
|
1920
|
-
"field": "output",
|
|
1921
|
-
"when": {
|
|
1922
|
-
"type": "all",
|
|
1923
|
-
"of": [
|
|
1924
|
-
{
|
|
1925
|
-
"type": "utc_days",
|
|
1926
|
-
"op": "in",
|
|
1927
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"type": "utc_hours",
|
|
1931
|
-
"op": "lt",
|
|
1932
|
-
"value": "01:00"
|
|
1933
|
-
}
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
"rates": {
|
|
1937
|
-
"output": 1.98
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"id": "text.output.overrides[2]",
|
|
1942
|
-
"field": "output",
|
|
1943
|
-
"when": {
|
|
1944
|
-
"type": "all",
|
|
1945
|
-
"of": [
|
|
1946
|
-
{
|
|
1947
|
-
"type": "utc_days",
|
|
1948
|
-
"op": "in",
|
|
1949
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
"type": "all",
|
|
1953
|
-
"of": [
|
|
1954
|
-
{
|
|
1955
|
-
"type": "utc_hours",
|
|
1956
|
-
"op": "gte",
|
|
1957
|
-
"value": "01:00"
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
"type": "utc_hours",
|
|
1961
|
-
"op": "lt",
|
|
1962
|
-
"value": "04:00"
|
|
1963
|
-
}
|
|
1964
|
-
]
|
|
1965
|
-
}
|
|
1966
|
-
]
|
|
1967
|
-
},
|
|
1968
|
-
"rates": {
|
|
1969
|
-
"output": 3.96
|
|
1970
|
-
}
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
"id": "text.output.overrides[3]",
|
|
1974
|
-
"field": "output",
|
|
1975
|
-
"when": {
|
|
1976
|
-
"type": "all",
|
|
1977
|
-
"of": [
|
|
1978
|
-
{
|
|
1979
|
-
"type": "utc_days",
|
|
1980
|
-
"op": "in",
|
|
1981
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1982
|
-
},
|
|
1983
|
-
{
|
|
1984
|
-
"type": "all",
|
|
1985
|
-
"of": [
|
|
1986
|
-
{
|
|
1987
|
-
"type": "utc_hours",
|
|
1988
|
-
"op": "gte",
|
|
1989
|
-
"value": "04:00"
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"type": "utc_hours",
|
|
1993
|
-
"op": "lt",
|
|
1994
|
-
"value": "06:00"
|
|
1995
|
-
}
|
|
1996
|
-
]
|
|
1997
|
-
}
|
|
1998
|
-
]
|
|
1999
|
-
},
|
|
2000
|
-
"rates": {
|
|
2001
|
-
"output": 1.98
|
|
2002
|
-
}
|
|
2003
|
-
},
|
|
2004
|
-
{
|
|
2005
|
-
"id": "text.output.overrides[4]",
|
|
2006
|
-
"field": "output",
|
|
2007
|
-
"when": {
|
|
2008
|
-
"type": "all",
|
|
2009
|
-
"of": [
|
|
2010
|
-
{
|
|
2011
|
-
"type": "utc_days",
|
|
2012
|
-
"op": "in",
|
|
2013
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"type": "all",
|
|
2017
|
-
"of": [
|
|
2018
|
-
{
|
|
2019
|
-
"type": "utc_hours",
|
|
2020
|
-
"op": "gte",
|
|
2021
|
-
"value": "06:00"
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"type": "utc_hours",
|
|
2025
|
-
"op": "lt",
|
|
2026
|
-
"value": "10:00"
|
|
2027
|
-
}
|
|
2028
|
-
]
|
|
2029
|
-
}
|
|
2030
|
-
]
|
|
2031
|
-
},
|
|
2032
|
-
"rates": {
|
|
2033
|
-
"output": 3.96
|
|
2034
|
-
}
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
"id": "text.output.overrides[5]",
|
|
2038
|
-
"field": "output",
|
|
2039
|
-
"when": {
|
|
2040
|
-
"type": "all",
|
|
2041
|
-
"of": [
|
|
2042
|
-
{
|
|
2043
|
-
"type": "utc_days",
|
|
2044
|
-
"op": "in",
|
|
2045
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2046
|
-
},
|
|
2047
|
-
{
|
|
2048
|
-
"type": "utc_hours",
|
|
2049
|
-
"op": "gte",
|
|
2050
|
-
"value": "10:00"
|
|
2051
|
-
}
|
|
2052
|
-
]
|
|
2053
|
-
},
|
|
2054
|
-
"rates": {
|
|
2055
|
-
"output": 1.98
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
],
|
|
2059
|
-
"multipliers": []
|
|
2060
|
-
},
|
|
2061
|
-
"deepseek/deepseek-v4.1-flash-1017": {
|
|
2062
|
-
"status": "supported",
|
|
2063
|
-
"source": "providers/openrouter/models/deepseek/deepseek-v4.1-flash-1017.toml",
|
|
2064
|
-
"overrides": [
|
|
2065
|
-
{
|
|
2066
|
-
"id": "text.input.overrides[0]",
|
|
2067
|
-
"field": "input",
|
|
2068
|
-
"when": {
|
|
2069
|
-
"type": "utc_days",
|
|
2070
|
-
"op": "in",
|
|
2071
|
-
"value": ["sat", "sun"]
|
|
2072
|
-
},
|
|
2073
|
-
"rates": {
|
|
2074
|
-
"input": 0.15,
|
|
2075
|
-
"cache_read": 0.003
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
"id": "text.input.overrides[1]",
|
|
2080
|
-
"field": "input",
|
|
2081
|
-
"when": {
|
|
2082
|
-
"type": "all",
|
|
2083
|
-
"of": [
|
|
2084
|
-
{
|
|
2085
|
-
"type": "utc_days",
|
|
2086
|
-
"op": "in",
|
|
2087
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2088
|
-
},
|
|
2089
|
-
{
|
|
2090
|
-
"type": "utc_hours",
|
|
2091
|
-
"op": "lt",
|
|
2092
|
-
"value": "01:00"
|
|
2093
|
-
}
|
|
2094
|
-
]
|
|
2095
|
-
},
|
|
2096
|
-
"rates": {
|
|
2097
|
-
"input": 0.15,
|
|
2098
|
-
"cache_read": 0.003
|
|
2099
|
-
}
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"id": "text.input.overrides[2]",
|
|
2103
|
-
"field": "input",
|
|
2104
|
-
"when": {
|
|
2105
|
-
"type": "all",
|
|
2106
|
-
"of": [
|
|
2107
|
-
{
|
|
2108
|
-
"type": "utc_days",
|
|
2109
|
-
"op": "in",
|
|
2110
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2111
|
-
},
|
|
2112
|
-
{
|
|
2113
|
-
"type": "all",
|
|
2114
|
-
"of": [
|
|
2115
|
-
{
|
|
2116
|
-
"type": "utc_hours",
|
|
2117
|
-
"op": "gte",
|
|
2118
|
-
"value": "01:00"
|
|
2119
|
-
},
|
|
2120
|
-
{
|
|
2121
|
-
"type": "utc_hours",
|
|
2122
|
-
"op": "lt",
|
|
2123
|
-
"value": "04:00"
|
|
2124
|
-
}
|
|
2125
|
-
]
|
|
2126
|
-
}
|
|
2127
|
-
]
|
|
2128
|
-
},
|
|
2129
|
-
"rates": {
|
|
2130
|
-
"input": 0.3,
|
|
2131
|
-
"cache_read": 0.006
|
|
2132
|
-
}
|
|
2133
|
-
},
|
|
2134
|
-
{
|
|
2135
|
-
"id": "text.input.overrides[3]",
|
|
2136
|
-
"field": "input",
|
|
2137
|
-
"when": {
|
|
2138
|
-
"type": "all",
|
|
2139
|
-
"of": [
|
|
2140
|
-
{
|
|
2141
|
-
"type": "utc_days",
|
|
2142
|
-
"op": "in",
|
|
2143
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"type": "all",
|
|
2147
|
-
"of": [
|
|
2148
|
-
{
|
|
2149
|
-
"type": "utc_hours",
|
|
2150
|
-
"op": "gte",
|
|
2151
|
-
"value": "04:00"
|
|
2152
|
-
},
|
|
2153
|
-
{
|
|
2154
|
-
"type": "utc_hours",
|
|
2155
|
-
"op": "lt",
|
|
2156
|
-
"value": "06:00"
|
|
2157
|
-
}
|
|
2158
|
-
]
|
|
2159
|
-
}
|
|
2160
|
-
]
|
|
2161
|
-
},
|
|
2162
|
-
"rates": {
|
|
2163
|
-
"input": 0.15,
|
|
2164
|
-
"cache_read": 0.003
|
|
2165
|
-
}
|
|
2166
|
-
},
|
|
2167
|
-
{
|
|
2168
|
-
"id": "text.input.overrides[4]",
|
|
2169
|
-
"field": "input",
|
|
2170
|
-
"when": {
|
|
2171
|
-
"type": "all",
|
|
2172
|
-
"of": [
|
|
2173
|
-
{
|
|
2174
|
-
"type": "utc_days",
|
|
2175
|
-
"op": "in",
|
|
2176
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"type": "all",
|
|
2180
|
-
"of": [
|
|
2181
|
-
{
|
|
2182
|
-
"type": "utc_hours",
|
|
2183
|
-
"op": "gte",
|
|
2184
|
-
"value": "06:00"
|
|
2185
|
-
},
|
|
2186
|
-
{
|
|
2187
|
-
"type": "utc_hours",
|
|
2188
|
-
"op": "lt",
|
|
2189
|
-
"value": "10:00"
|
|
2190
|
-
}
|
|
2191
|
-
]
|
|
2192
|
-
}
|
|
2193
|
-
]
|
|
2194
|
-
},
|
|
2195
|
-
"rates": {
|
|
2196
|
-
"input": 0.3,
|
|
2197
|
-
"cache_read": 0.006
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
"id": "text.input.overrides[5]",
|
|
2202
|
-
"field": "input",
|
|
2203
|
-
"when": {
|
|
2204
|
-
"type": "all",
|
|
2205
|
-
"of": [
|
|
2206
|
-
{
|
|
2207
|
-
"type": "utc_days",
|
|
2208
|
-
"op": "in",
|
|
2209
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
"type": "utc_hours",
|
|
2213
|
-
"op": "gte",
|
|
2214
|
-
"value": "10:00"
|
|
2215
|
-
}
|
|
2216
|
-
]
|
|
2217
|
-
},
|
|
2218
|
-
"rates": {
|
|
2219
|
-
"input": 0.15,
|
|
2220
|
-
"cache_read": 0.003
|
|
2221
|
-
}
|
|
2222
|
-
},
|
|
2223
|
-
{
|
|
2224
|
-
"id": "text.output.overrides[0]",
|
|
2225
|
-
"field": "output",
|
|
2226
|
-
"when": {
|
|
2227
|
-
"type": "utc_days",
|
|
2228
|
-
"op": "in",
|
|
2229
|
-
"value": ["sat", "sun"]
|
|
2230
|
-
},
|
|
2231
|
-
"rates": {
|
|
2232
|
-
"output": 0.6
|
|
2233
|
-
}
|
|
2234
|
-
},
|
|
2235
|
-
{
|
|
2236
|
-
"id": "text.output.overrides[1]",
|
|
2237
|
-
"field": "output",
|
|
2238
|
-
"when": {
|
|
2239
|
-
"type": "all",
|
|
2240
|
-
"of": [
|
|
2241
|
-
{
|
|
2242
|
-
"type": "utc_days",
|
|
2243
|
-
"op": "in",
|
|
2244
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
"type": "utc_hours",
|
|
2248
|
-
"op": "lt",
|
|
2249
|
-
"value": "01:00"
|
|
2250
|
-
}
|
|
2251
|
-
]
|
|
2252
|
-
},
|
|
2253
|
-
"rates": {
|
|
2254
|
-
"output": 0.6
|
|
2255
|
-
}
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"id": "text.output.overrides[2]",
|
|
2259
|
-
"field": "output",
|
|
2260
|
-
"when": {
|
|
2261
|
-
"type": "all",
|
|
2262
|
-
"of": [
|
|
2263
|
-
{
|
|
2264
|
-
"type": "utc_days",
|
|
2265
|
-
"op": "in",
|
|
2266
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"type": "all",
|
|
2270
|
-
"of": [
|
|
2271
|
-
{
|
|
2272
|
-
"type": "utc_hours",
|
|
2273
|
-
"op": "gte",
|
|
2274
|
-
"value": "01:00"
|
|
2275
|
-
},
|
|
2276
|
-
{
|
|
2277
|
-
"type": "utc_hours",
|
|
2278
|
-
"op": "lt",
|
|
2279
|
-
"value": "04:00"
|
|
2280
|
-
}
|
|
2281
|
-
]
|
|
2282
|
-
}
|
|
2283
|
-
]
|
|
2284
|
-
},
|
|
2285
|
-
"rates": {
|
|
2286
|
-
"output": 1.2
|
|
2287
|
-
}
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
"id": "text.output.overrides[3]",
|
|
2291
|
-
"field": "output",
|
|
2292
|
-
"when": {
|
|
2293
|
-
"type": "all",
|
|
2294
|
-
"of": [
|
|
2295
|
-
{
|
|
2296
|
-
"type": "utc_days",
|
|
2297
|
-
"op": "in",
|
|
2298
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2299
|
-
},
|
|
2300
|
-
{
|
|
2301
|
-
"type": "all",
|
|
2302
|
-
"of": [
|
|
2303
|
-
{
|
|
2304
|
-
"type": "utc_hours",
|
|
2305
|
-
"op": "gte",
|
|
2306
|
-
"value": "04:00"
|
|
2307
|
-
},
|
|
2308
|
-
{
|
|
2309
|
-
"type": "utc_hours",
|
|
2310
|
-
"op": "lt",
|
|
2311
|
-
"value": "06:00"
|
|
2312
|
-
}
|
|
2313
|
-
]
|
|
2314
|
-
}
|
|
2315
|
-
]
|
|
2316
|
-
},
|
|
2317
|
-
"rates": {
|
|
2318
|
-
"output": 0.6
|
|
2319
|
-
}
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"id": "text.output.overrides[4]",
|
|
2323
|
-
"field": "output",
|
|
2324
|
-
"when": {
|
|
2325
|
-
"type": "all",
|
|
2326
|
-
"of": [
|
|
2327
|
-
{
|
|
2328
|
-
"type": "utc_days",
|
|
2329
|
-
"op": "in",
|
|
2330
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2331
|
-
},
|
|
2332
|
-
{
|
|
2333
|
-
"type": "all",
|
|
2334
|
-
"of": [
|
|
2335
|
-
{
|
|
2336
|
-
"type": "utc_hours",
|
|
2337
|
-
"op": "gte",
|
|
2338
|
-
"value": "06:00"
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"type": "utc_hours",
|
|
2342
|
-
"op": "lt",
|
|
2343
|
-
"value": "10:00"
|
|
2344
|
-
}
|
|
2345
|
-
]
|
|
2346
|
-
}
|
|
2347
|
-
]
|
|
2348
|
-
},
|
|
2349
|
-
"rates": {
|
|
2350
|
-
"output": 1.2
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
{
|
|
2354
|
-
"id": "text.output.overrides[5]",
|
|
2355
|
-
"field": "output",
|
|
2356
|
-
"when": {
|
|
2357
|
-
"type": "all",
|
|
2358
|
-
"of": [
|
|
2359
|
-
{
|
|
2360
|
-
"type": "utc_days",
|
|
2361
|
-
"op": "in",
|
|
2362
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"type": "utc_hours",
|
|
2366
|
-
"op": "gte",
|
|
2367
|
-
"value": "10:00"
|
|
2368
|
-
}
|
|
2369
|
-
]
|
|
2370
|
-
},
|
|
2371
|
-
"rates": {
|
|
2372
|
-
"output": 0.6
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
],
|
|
2376
|
-
"multipliers": []
|
|
2377
|
-
},
|
|
2378
1744
|
"minimax/minimax-m3.1-flash": {
|
|
2379
1745
|
"status": "supported",
|
|
2380
1746
|
"source": "providers/openrouter/models/minimax/minimax-m3.1-flash.toml",
|
|
1747
|
+
"base": { "input": 0.075, "output": 0.3, "cache_read": 0.0075 },
|
|
2381
1748
|
"overrides": [
|
|
2382
1749
|
{
|
|
2383
1750
|
"id": "text.input.overrides[0]",
|
|
@@ -2475,6 +1842,7 @@
|
|
|
2475
1842
|
"tencent/hy3": {
|
|
2476
1843
|
"status": "supported",
|
|
2477
1844
|
"source": "providers/openrouter/models/tencent/hy3.toml",
|
|
1845
|
+
"base": { "input": 0.0825, "output": 0.33, "cache_read": 0.020625 },
|
|
2478
1846
|
"overrides": [
|
|
2479
1847
|
{
|
|
2480
1848
|
"id": "text.input.overrides[0]",
|
|
@@ -2532,6 +1900,7 @@
|
|
|
2532
1900
|
"tencent/hy4-preview": {
|
|
2533
1901
|
"status": "supported",
|
|
2534
1902
|
"source": "providers/openrouter/models/tencent/hy4-preview.toml",
|
|
1903
|
+
"base": { "input": 0.7506, "output": 2.2509, "cache_read": 0.0378 },
|
|
2535
1904
|
"overrides": [
|
|
2536
1905
|
{
|
|
2537
1906
|
"id": "text.input.overrides[0]",
|