opencode-quota-gui 1.3.0 → 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 +34 -20
- package/dist/bin/opencode-quota-gui.js +0 -0
- 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 +95 -6
- package/dist/contracts/dashboard.js +10 -0
- package/dist/contracts/dto-guards.d.ts +4 -0
- package/dist/contracts/dto-guards.js +31 -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/openai-quota.d.ts +3 -0
- package/dist/contracts/openai-quota.js +3 -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 +60 -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 +3 -3
- package/dist/gui/config.js +77 -7
- package/dist/gui/identity.d.ts +6 -20
- package/dist/gui/identity.js +6 -54
- package/dist/gui/lifecycle.d.ts +5 -3
- package/dist/gui/lifecycle.js +3 -3
- package/dist/gui/primary-quota-windows.js +67 -44
- package/dist/gui/provider-cards.d.ts +20 -8
- package/dist/gui/provider-cards.js +42 -55
- package/dist/gui/quota-notification-detector.d.ts +29 -6
- package/dist/gui/quota-notification-detector.js +136 -47
- package/dist/gui/quota-notification-observer.d.ts +3 -4
- package/dist/gui/quota-notification-observer.js +73 -20
- package/dist/gui/quota-observation.d.ts +4 -0
- package/dist/gui/quota-observation.js +18 -0
- package/dist/gui/rpc.d.ts +2 -0
- package/dist/gui/rpc.js +14 -3
- package/dist/gui/server.js +17 -3
- package/dist/gui/snapshot-service.d.ts +3 -15
- package/dist/gui/snapshot-service.js +281 -23
- package/dist/gui/sources.js +179 -64
- package/dist/gui/temporal-status.d.ts +3 -2
- package/dist/gui/temporal-status.js +10 -6
- package/dist/gui-experimental.cjs +230 -225
- package/dist/lib/accounting-format.d.ts +8 -0
- package/dist/lib/accounting-format.js +20 -2
- package/dist/lib/alibaba-coding-plan-cli.d.ts +79 -0
- package/dist/lib/alibaba-coding-plan-cli.js +539 -0
- 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-auth.d.ts +2 -3
- package/dist/lib/anthropic-auth.js +2 -3
- 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 +68 -14
- package/dist/lib/anthropic.js +1016 -363
- package/dist/lib/api-key-retry-after.d.ts +7 -0
- package/dist/lib/api-key-retry-after.js +62 -0
- package/dist/lib/atomic-json.d.ts +2 -0
- package/dist/lib/atomic-json.js +1 -0
- package/dist/lib/cache-observer-ingestion.d.ts +90 -0
- package/dist/lib/cache-observer-ingestion.js +1008 -0
- package/dist/lib/cache-observer.d.ts +141 -0
- package/dist/lib/cache-observer.js +323 -0
- package/dist/lib/canonical-config-lock.d.ts +9 -0
- package/dist/lib/canonical-config-lock.js +36 -0
- package/dist/lib/chutes.js +62 -51
- package/dist/lib/claude-agent-transcript-ttl.d.ts +48 -0
- package/dist/lib/claude-agent-transcript-ttl.js +154 -0
- package/dist/lib/claude-agent-ttl-tracker.d.ts +21 -0
- package/dist/lib/claude-agent-ttl-tracker.js +152 -0
- package/dist/lib/cli-show.d.ts +5 -0
- package/dist/lib/cli-show.js +21 -8
- package/dist/lib/cli-status.js +3 -6
- package/dist/lib/config-write-target.d.ts +1 -1
- package/dist/lib/config-write-target.js +5 -2
- package/dist/lib/config.d.ts +2 -1
- package/dist/lib/config.js +257 -4
- package/dist/lib/copilot.js +171 -86
- package/dist/lib/dashboard-visibility.d.ts +5 -0
- package/dist/lib/dashboard-visibility.js +11 -10
- package/dist/lib/dashboard-web-policy.d.ts +4 -4
- package/dist/lib/dashboard-web-policy.js +2 -2
- package/dist/lib/deepseek.js +25 -13
- package/dist/lib/display-sanitize.js +2 -0
- package/dist/lib/entries.d.ts +33 -1
- package/dist/lib/entries.js +6 -0
- package/dist/lib/glm-coding-plan.js +98 -74
- package/dist/lib/google-agy.js +90 -12
- package/dist/lib/google-gemini-cli.js +84 -11
- package/dist/lib/grouped-entry-normalization.js +1 -1
- package/dist/lib/http.d.ts +4 -0
- package/dist/lib/http.js +16 -2
- package/dist/lib/init-installer.js +5 -3
- package/dist/lib/kilo.js +37 -18
- package/dist/lib/kimi.js +35 -18
- package/dist/lib/maintainer-announcements.js +2 -2
- package/dist/lib/mimo.d.ts +2 -0
- package/dist/lib/mimo.js +36 -0
- 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/nanogpt.d.ts +1 -0
- package/dist/lib/nanogpt.js +26 -3
- package/dist/lib/ollama-cloud.d.ts +1 -1
- package/dist/lib/ollama-cloud.js +48 -35
- package/dist/lib/openai.js +84 -38
- package/dist/lib/opencode-auth-sqlite.d.ts +2 -2
- package/dist/lib/opencode-auth-sqlite.js +2 -2
- package/dist/lib/opencode-config-editor.d.ts +1 -0
- package/dist/lib/opencode-config-editor.js +6 -1
- package/dist/lib/opencode-config-providers.js +2 -2
- package/dist/lib/opencode-go.js +29 -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 +30 -0
- package/dist/lib/opencode-version-core.js +59 -0
- package/dist/lib/opencode-version.d.ts +2 -22
- package/dist/lib/opencode-version.js +4 -48
- package/dist/lib/opencode-warming-refresh.d.ts +19 -0
- package/dist/lib/opencode-warming-refresh.js +95 -0
- package/dist/lib/opencode-zen.d.ts +3 -0
- package/dist/lib/opencode-zen.js +71 -5
- package/dist/lib/provider-add.js +5 -2
- package/dist/lib/provider-metadata.d.ts +11 -3
- package/dist/lib/provider-metadata.js +20 -2
- package/dist/lib/provider-registration.d.ts +358 -9
- package/dist/lib/provider-registration.js +423 -30
- 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 +23 -10
- package/dist/lib/quota-exhaustion-projection.d.ts +11 -0
- package/dist/lib/quota-exhaustion-projection.js +25 -0
- package/dist/lib/quota-identity.d.ts +64 -0
- package/dist/lib/quota-identity.js +111 -0
- package/dist/lib/quota-providers-remote.d.ts +2 -1
- package/dist/lib/quota-providers-remote.js +59 -3
- package/dist/lib/quota-providers.d.ts +1 -1
- package/dist/lib/quota-providers.js +14 -37
- package/dist/lib/quota-render-data.d.ts +6 -0
- package/dist/lib/quota-render-data.js +45 -19
- 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 +31 -2
- package/dist/lib/quota-state.d.ts +8 -2
- package/dist/lib/quota-state.js +253 -47
- package/dist/lib/quota-stats.d.ts +26 -0
- package/dist/lib/quota-stats.js +40 -1
- package/dist/lib/quota-status.js +3 -51
- 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/scoped-update.d.ts +1 -1
- package/dist/lib/state-file-lock.d.ts +26 -0
- package/dist/lib/state-file-lock.js +205 -0
- package/dist/lib/synthetic.js +65 -54
- package/dist/lib/toast-format-grouped.js +7 -4
- package/dist/lib/tui-compact-format.js +29 -16
- package/dist/lib/types.d.ts +51 -1
- package/dist/lib/types.js +17 -1
- package/dist/lib/xai.js +48 -22
- package/dist/plugin.js +328 -14
- package/dist/provider-logos/NOTICE.md +1 -1
- package/dist/provider-logos/OPENCODE-NOTICE.md +4 -3
- package/dist/providers/alibaba-coding-plan.js +125 -104
- package/dist/providers/alibaba-token-plan.js +9 -5
- package/dist/providers/anthropic.d.ts +16 -3
- package/dist/providers/anthropic.js +172 -220
- package/dist/providers/cache-policies.d.ts +11 -4
- package/dist/providers/cache-policies.js +19 -13
- package/dist/providers/chutes.js +2 -0
- package/dist/providers/claude-agent.d.ts +19 -0
- package/dist/providers/claude-agent.js +215 -0
- package/dist/providers/copilot.js +7 -4
- package/dist/providers/glm-coding-plan-provider.d.ts +1 -0
- package/dist/providers/glm-coding-plan-provider.js +30 -23
- package/dist/providers/google-account-format.js +1 -0
- package/dist/providers/google-agy.d.ts +6 -5
- package/dist/providers/google-agy.js +43 -15
- package/dist/providers/google-gemini-cli.js +1 -0
- package/dist/providers/kilo.js +1 -0
- package/dist/providers/kimi-code.js +2 -0
- package/dist/providers/mimo.js +1 -0
- package/dist/providers/nanogpt.js +1 -0
- package/dist/providers/ollama-cloud.js +10 -0
- package/dist/providers/openai.js +24 -23
- package/dist/providers/opencode-go.js +10 -6
- package/dist/providers/opencode-zen.js +3 -1
- package/dist/providers/openrouter.js +1 -0
- package/dist/providers/quota-providers.js +16 -5
- package/dist/providers/registry.js +2 -0
- package/dist/providers/result-helpers.d.ts +6 -2
- package/dist/providers/result-helpers.js +7 -1
- package/dist/providers/synthetic.js +4 -0
- package/dist/providers/xai.js +9 -8
- package/dist/rpc.d.ts +129 -8
- package/dist/rpc.js +219 -14
- package/dist/ui/assets/{index-cDd9jUVY.css → index-6_g1FHs-.css} +1 -1
- package/dist/ui/assets/index-sZnGUuML.js +10 -0
- package/dist/ui/assets/{popover-BGkgv9s0.js → popover-C4ZLYe9E.js} +1 -1
- package/dist/ui/assets/providers/claude-agent.svg +3 -0
- package/dist/ui/index.html +2 -2
- package/package.json +45 -46
- package/dist/lib/alibaba-coding-plan-local-quota.d.ts +0 -47
- package/dist/lib/alibaba-coding-plan-local-quota.js +0 -146
- package/dist/ui/assets/index-DLHeXYff.js +0 -9
|
@@ -68,6 +68,63 @@
|
|
|
68
68
|
"2026-09-20",
|
|
69
69
|
"2026-10-10"
|
|
70
70
|
]
|
|
71
|
+
},
|
|
72
|
+
"2027": {
|
|
73
|
+
"timeZone": "Asia/Shanghai",
|
|
74
|
+
"source": "https://english.www.gov.cn/policies/latestreleases/202611/06/content_WS6aed74dcc6d00ca5f9a0e22e.html",
|
|
75
|
+
"published": "2026-11-06",
|
|
76
|
+
"intervals": [
|
|
77
|
+
{
|
|
78
|
+
"id": "new-year",
|
|
79
|
+
"localStart": "2027-01-01",
|
|
80
|
+
"localEnd": "2027-01-04",
|
|
81
|
+
"startMs": 1798732800000,
|
|
82
|
+
"endMs": 1798992000000
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "spring-festival",
|
|
86
|
+
"localStart": "2027-02-05",
|
|
87
|
+
"localEnd": "2027-02-14",
|
|
88
|
+
"startMs": 1801756800000,
|
|
89
|
+
"endMs": 1802534400000
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "qingming",
|
|
93
|
+
"localStart": "2027-04-03",
|
|
94
|
+
"localEnd": "2027-04-06",
|
|
95
|
+
"startMs": 1806681600000,
|
|
96
|
+
"endMs": 1806940800000
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "labour-day",
|
|
100
|
+
"localStart": "2027-05-01",
|
|
101
|
+
"localEnd": "2027-05-06",
|
|
102
|
+
"startMs": 1809100800000,
|
|
103
|
+
"endMs": 1809532800000
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "dragon-boat-festival",
|
|
107
|
+
"localStart": "2027-06-09",
|
|
108
|
+
"localEnd": "2027-06-10",
|
|
109
|
+
"startMs": 1812470400000,
|
|
110
|
+
"endMs": 1812556800000
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "mid-autumn-festival",
|
|
114
|
+
"localStart": "2027-09-15",
|
|
115
|
+
"localEnd": "2027-09-16",
|
|
116
|
+
"startMs": 1820937600000,
|
|
117
|
+
"endMs": 1821024000000
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "national-day",
|
|
121
|
+
"localStart": "2027-10-01",
|
|
122
|
+
"localEnd": "2027-10-08",
|
|
123
|
+
"startMs": 1822320000000,
|
|
124
|
+
"endMs": 1822924800000
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
"makeupWorkdays": []
|
|
71
128
|
}
|
|
72
129
|
}
|
|
73
130
|
},
|
|
@@ -1684,643 +1741,10 @@
|
|
|
1684
1741
|
}
|
|
1685
1742
|
},
|
|
1686
1743
|
"openrouter": {
|
|
1687
|
-
"deepseek/deepseek-v4-pro-0813": {
|
|
1688
|
-
"status": "supported",
|
|
1689
|
-
"source": "providers/openrouter/models/deepseek/deepseek-v4-pro-0813.toml",
|
|
1690
|
-
"overrides": [
|
|
1691
|
-
{
|
|
1692
|
-
"id": "text.input.overrides[0]",
|
|
1693
|
-
"field": "input",
|
|
1694
|
-
"when": {
|
|
1695
|
-
"type": "utc_days",
|
|
1696
|
-
"op": "in",
|
|
1697
|
-
"value": ["sat", "sun"]
|
|
1698
|
-
},
|
|
1699
|
-
"rates": {
|
|
1700
|
-
"input": 0.66,
|
|
1701
|
-
"cache_read": 0.022
|
|
1702
|
-
}
|
|
1703
|
-
},
|
|
1704
|
-
{
|
|
1705
|
-
"id": "text.input.overrides[1]",
|
|
1706
|
-
"field": "input",
|
|
1707
|
-
"when": {
|
|
1708
|
-
"type": "all",
|
|
1709
|
-
"of": [
|
|
1710
|
-
{
|
|
1711
|
-
"type": "utc_days",
|
|
1712
|
-
"op": "in",
|
|
1713
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"type": "utc_hours",
|
|
1717
|
-
"op": "lt",
|
|
1718
|
-
"value": "01:00"
|
|
1719
|
-
}
|
|
1720
|
-
]
|
|
1721
|
-
},
|
|
1722
|
-
"rates": {
|
|
1723
|
-
"input": 0.66,
|
|
1724
|
-
"cache_read": 0.022
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"id": "text.input.overrides[2]",
|
|
1729
|
-
"field": "input",
|
|
1730
|
-
"when": {
|
|
1731
|
-
"type": "all",
|
|
1732
|
-
"of": [
|
|
1733
|
-
{
|
|
1734
|
-
"type": "utc_days",
|
|
1735
|
-
"op": "in",
|
|
1736
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1737
|
-
},
|
|
1738
|
-
{
|
|
1739
|
-
"type": "all",
|
|
1740
|
-
"of": [
|
|
1741
|
-
{
|
|
1742
|
-
"type": "utc_hours",
|
|
1743
|
-
"op": "gte",
|
|
1744
|
-
"value": "01:00"
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
"type": "utc_hours",
|
|
1748
|
-
"op": "lt",
|
|
1749
|
-
"value": "04:00"
|
|
1750
|
-
}
|
|
1751
|
-
]
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1754
|
-
},
|
|
1755
|
-
"rates": {
|
|
1756
|
-
"input": 1.32,
|
|
1757
|
-
"cache_read": 0.044
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
{
|
|
1761
|
-
"id": "text.input.overrides[3]",
|
|
1762
|
-
"field": "input",
|
|
1763
|
-
"when": {
|
|
1764
|
-
"type": "all",
|
|
1765
|
-
"of": [
|
|
1766
|
-
{
|
|
1767
|
-
"type": "utc_days",
|
|
1768
|
-
"op": "in",
|
|
1769
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1770
|
-
},
|
|
1771
|
-
{
|
|
1772
|
-
"type": "all",
|
|
1773
|
-
"of": [
|
|
1774
|
-
{
|
|
1775
|
-
"type": "utc_hours",
|
|
1776
|
-
"op": "gte",
|
|
1777
|
-
"value": "04:00"
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
"type": "utc_hours",
|
|
1781
|
-
"op": "lt",
|
|
1782
|
-
"value": "06:00"
|
|
1783
|
-
}
|
|
1784
|
-
]
|
|
1785
|
-
}
|
|
1786
|
-
]
|
|
1787
|
-
},
|
|
1788
|
-
"rates": {
|
|
1789
|
-
"input": 0.66,
|
|
1790
|
-
"cache_read": 0.022
|
|
1791
|
-
}
|
|
1792
|
-
},
|
|
1793
|
-
{
|
|
1794
|
-
"id": "text.input.overrides[4]",
|
|
1795
|
-
"field": "input",
|
|
1796
|
-
"when": {
|
|
1797
|
-
"type": "all",
|
|
1798
|
-
"of": [
|
|
1799
|
-
{
|
|
1800
|
-
"type": "utc_days",
|
|
1801
|
-
"op": "in",
|
|
1802
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"type": "all",
|
|
1806
|
-
"of": [
|
|
1807
|
-
{
|
|
1808
|
-
"type": "utc_hours",
|
|
1809
|
-
"op": "gte",
|
|
1810
|
-
"value": "06:00"
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"type": "utc_hours",
|
|
1814
|
-
"op": "lt",
|
|
1815
|
-
"value": "10:00"
|
|
1816
|
-
}
|
|
1817
|
-
]
|
|
1818
|
-
}
|
|
1819
|
-
]
|
|
1820
|
-
},
|
|
1821
|
-
"rates": {
|
|
1822
|
-
"input": 1.32,
|
|
1823
|
-
"cache_read": 0.044
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"id": "text.input.overrides[5]",
|
|
1828
|
-
"field": "input",
|
|
1829
|
-
"when": {
|
|
1830
|
-
"type": "all",
|
|
1831
|
-
"of": [
|
|
1832
|
-
{
|
|
1833
|
-
"type": "utc_days",
|
|
1834
|
-
"op": "in",
|
|
1835
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1836
|
-
},
|
|
1837
|
-
{
|
|
1838
|
-
"type": "utc_hours",
|
|
1839
|
-
"op": "gte",
|
|
1840
|
-
"value": "10:00"
|
|
1841
|
-
}
|
|
1842
|
-
]
|
|
1843
|
-
},
|
|
1844
|
-
"rates": {
|
|
1845
|
-
"input": 0.66,
|
|
1846
|
-
"cache_read": 0.022
|
|
1847
|
-
}
|
|
1848
|
-
},
|
|
1849
|
-
{
|
|
1850
|
-
"id": "text.output.overrides[0]",
|
|
1851
|
-
"field": "output",
|
|
1852
|
-
"when": {
|
|
1853
|
-
"type": "utc_days",
|
|
1854
|
-
"op": "in",
|
|
1855
|
-
"value": ["sat", "sun"]
|
|
1856
|
-
},
|
|
1857
|
-
"rates": {
|
|
1858
|
-
"output": 1.98
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
{
|
|
1862
|
-
"id": "text.output.overrides[1]",
|
|
1863
|
-
"field": "output",
|
|
1864
|
-
"when": {
|
|
1865
|
-
"type": "all",
|
|
1866
|
-
"of": [
|
|
1867
|
-
{
|
|
1868
|
-
"type": "utc_days",
|
|
1869
|
-
"op": "in",
|
|
1870
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"type": "utc_hours",
|
|
1874
|
-
"op": "lt",
|
|
1875
|
-
"value": "01:00"
|
|
1876
|
-
}
|
|
1877
|
-
]
|
|
1878
|
-
},
|
|
1879
|
-
"rates": {
|
|
1880
|
-
"output": 1.98
|
|
1881
|
-
}
|
|
1882
|
-
},
|
|
1883
|
-
{
|
|
1884
|
-
"id": "text.output.overrides[2]",
|
|
1885
|
-
"field": "output",
|
|
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": "all",
|
|
1896
|
-
"of": [
|
|
1897
|
-
{
|
|
1898
|
-
"type": "utc_hours",
|
|
1899
|
-
"op": "gte",
|
|
1900
|
-
"value": "01:00"
|
|
1901
|
-
},
|
|
1902
|
-
{
|
|
1903
|
-
"type": "utc_hours",
|
|
1904
|
-
"op": "lt",
|
|
1905
|
-
"value": "04:00"
|
|
1906
|
-
}
|
|
1907
|
-
]
|
|
1908
|
-
}
|
|
1909
|
-
]
|
|
1910
|
-
},
|
|
1911
|
-
"rates": {
|
|
1912
|
-
"output": 3.96
|
|
1913
|
-
}
|
|
1914
|
-
},
|
|
1915
|
-
{
|
|
1916
|
-
"id": "text.output.overrides[3]",
|
|
1917
|
-
"field": "output",
|
|
1918
|
-
"when": {
|
|
1919
|
-
"type": "all",
|
|
1920
|
-
"of": [
|
|
1921
|
-
{
|
|
1922
|
-
"type": "utc_days",
|
|
1923
|
-
"op": "in",
|
|
1924
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1925
|
-
},
|
|
1926
|
-
{
|
|
1927
|
-
"type": "all",
|
|
1928
|
-
"of": [
|
|
1929
|
-
{
|
|
1930
|
-
"type": "utc_hours",
|
|
1931
|
-
"op": "gte",
|
|
1932
|
-
"value": "04:00"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"type": "utc_hours",
|
|
1936
|
-
"op": "lt",
|
|
1937
|
-
"value": "06:00"
|
|
1938
|
-
}
|
|
1939
|
-
]
|
|
1940
|
-
}
|
|
1941
|
-
]
|
|
1942
|
-
},
|
|
1943
|
-
"rates": {
|
|
1944
|
-
"output": 1.98
|
|
1945
|
-
}
|
|
1946
|
-
},
|
|
1947
|
-
{
|
|
1948
|
-
"id": "text.output.overrides[4]",
|
|
1949
|
-
"field": "output",
|
|
1950
|
-
"when": {
|
|
1951
|
-
"type": "all",
|
|
1952
|
-
"of": [
|
|
1953
|
-
{
|
|
1954
|
-
"type": "utc_days",
|
|
1955
|
-
"op": "in",
|
|
1956
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1957
|
-
},
|
|
1958
|
-
{
|
|
1959
|
-
"type": "all",
|
|
1960
|
-
"of": [
|
|
1961
|
-
{
|
|
1962
|
-
"type": "utc_hours",
|
|
1963
|
-
"op": "gte",
|
|
1964
|
-
"value": "06:00"
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
"type": "utc_hours",
|
|
1968
|
-
"op": "lt",
|
|
1969
|
-
"value": "10:00"
|
|
1970
|
-
}
|
|
1971
|
-
]
|
|
1972
|
-
}
|
|
1973
|
-
]
|
|
1974
|
-
},
|
|
1975
|
-
"rates": {
|
|
1976
|
-
"output": 3.96
|
|
1977
|
-
}
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"id": "text.output.overrides[5]",
|
|
1981
|
-
"field": "output",
|
|
1982
|
-
"when": {
|
|
1983
|
-
"type": "all",
|
|
1984
|
-
"of": [
|
|
1985
|
-
{
|
|
1986
|
-
"type": "utc_days",
|
|
1987
|
-
"op": "in",
|
|
1988
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
1989
|
-
},
|
|
1990
|
-
{
|
|
1991
|
-
"type": "utc_hours",
|
|
1992
|
-
"op": "gte",
|
|
1993
|
-
"value": "10:00"
|
|
1994
|
-
}
|
|
1995
|
-
]
|
|
1996
|
-
},
|
|
1997
|
-
"rates": {
|
|
1998
|
-
"output": 1.98
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
],
|
|
2002
|
-
"multipliers": []
|
|
2003
|
-
},
|
|
2004
|
-
"deepseek/deepseek-v4.1-flash-1017": {
|
|
2005
|
-
"status": "supported",
|
|
2006
|
-
"source": "providers/openrouter/models/deepseek/deepseek-v4.1-flash-1017.toml",
|
|
2007
|
-
"overrides": [
|
|
2008
|
-
{
|
|
2009
|
-
"id": "text.input.overrides[0]",
|
|
2010
|
-
"field": "input",
|
|
2011
|
-
"when": {
|
|
2012
|
-
"type": "utc_days",
|
|
2013
|
-
"op": "in",
|
|
2014
|
-
"value": ["sat", "sun"]
|
|
2015
|
-
},
|
|
2016
|
-
"rates": {
|
|
2017
|
-
"input": 0.15,
|
|
2018
|
-
"cache_read": 0.003
|
|
2019
|
-
}
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"id": "text.input.overrides[1]",
|
|
2023
|
-
"field": "input",
|
|
2024
|
-
"when": {
|
|
2025
|
-
"type": "all",
|
|
2026
|
-
"of": [
|
|
2027
|
-
{
|
|
2028
|
-
"type": "utc_days",
|
|
2029
|
-
"op": "in",
|
|
2030
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2031
|
-
},
|
|
2032
|
-
{
|
|
2033
|
-
"type": "utc_hours",
|
|
2034
|
-
"op": "lt",
|
|
2035
|
-
"value": "01:00"
|
|
2036
|
-
}
|
|
2037
|
-
]
|
|
2038
|
-
},
|
|
2039
|
-
"rates": {
|
|
2040
|
-
"input": 0.15,
|
|
2041
|
-
"cache_read": 0.003
|
|
2042
|
-
}
|
|
2043
|
-
},
|
|
2044
|
-
{
|
|
2045
|
-
"id": "text.input.overrides[2]",
|
|
2046
|
-
"field": "input",
|
|
2047
|
-
"when": {
|
|
2048
|
-
"type": "all",
|
|
2049
|
-
"of": [
|
|
2050
|
-
{
|
|
2051
|
-
"type": "utc_days",
|
|
2052
|
-
"op": "in",
|
|
2053
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
"type": "all",
|
|
2057
|
-
"of": [
|
|
2058
|
-
{
|
|
2059
|
-
"type": "utc_hours",
|
|
2060
|
-
"op": "gte",
|
|
2061
|
-
"value": "01:00"
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"type": "utc_hours",
|
|
2065
|
-
"op": "lt",
|
|
2066
|
-
"value": "04:00"
|
|
2067
|
-
}
|
|
2068
|
-
]
|
|
2069
|
-
}
|
|
2070
|
-
]
|
|
2071
|
-
},
|
|
2072
|
-
"rates": {
|
|
2073
|
-
"input": 0.3,
|
|
2074
|
-
"cache_read": 0.006
|
|
2075
|
-
}
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"id": "text.input.overrides[3]",
|
|
2079
|
-
"field": "input",
|
|
2080
|
-
"when": {
|
|
2081
|
-
"type": "all",
|
|
2082
|
-
"of": [
|
|
2083
|
-
{
|
|
2084
|
-
"type": "utc_days",
|
|
2085
|
-
"op": "in",
|
|
2086
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
"type": "all",
|
|
2090
|
-
"of": [
|
|
2091
|
-
{
|
|
2092
|
-
"type": "utc_hours",
|
|
2093
|
-
"op": "gte",
|
|
2094
|
-
"value": "04:00"
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
"type": "utc_hours",
|
|
2098
|
-
"op": "lt",
|
|
2099
|
-
"value": "06:00"
|
|
2100
|
-
}
|
|
2101
|
-
]
|
|
2102
|
-
}
|
|
2103
|
-
]
|
|
2104
|
-
},
|
|
2105
|
-
"rates": {
|
|
2106
|
-
"input": 0.15,
|
|
2107
|
-
"cache_read": 0.003
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"id": "text.input.overrides[4]",
|
|
2112
|
-
"field": "input",
|
|
2113
|
-
"when": {
|
|
2114
|
-
"type": "all",
|
|
2115
|
-
"of": [
|
|
2116
|
-
{
|
|
2117
|
-
"type": "utc_days",
|
|
2118
|
-
"op": "in",
|
|
2119
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2120
|
-
},
|
|
2121
|
-
{
|
|
2122
|
-
"type": "all",
|
|
2123
|
-
"of": [
|
|
2124
|
-
{
|
|
2125
|
-
"type": "utc_hours",
|
|
2126
|
-
"op": "gte",
|
|
2127
|
-
"value": "06:00"
|
|
2128
|
-
},
|
|
2129
|
-
{
|
|
2130
|
-
"type": "utc_hours",
|
|
2131
|
-
"op": "lt",
|
|
2132
|
-
"value": "10:00"
|
|
2133
|
-
}
|
|
2134
|
-
]
|
|
2135
|
-
}
|
|
2136
|
-
]
|
|
2137
|
-
},
|
|
2138
|
-
"rates": {
|
|
2139
|
-
"input": 0.3,
|
|
2140
|
-
"cache_read": 0.006
|
|
2141
|
-
}
|
|
2142
|
-
},
|
|
2143
|
-
{
|
|
2144
|
-
"id": "text.input.overrides[5]",
|
|
2145
|
-
"field": "input",
|
|
2146
|
-
"when": {
|
|
2147
|
-
"type": "all",
|
|
2148
|
-
"of": [
|
|
2149
|
-
{
|
|
2150
|
-
"type": "utc_days",
|
|
2151
|
-
"op": "in",
|
|
2152
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2153
|
-
},
|
|
2154
|
-
{
|
|
2155
|
-
"type": "utc_hours",
|
|
2156
|
-
"op": "gte",
|
|
2157
|
-
"value": "10:00"
|
|
2158
|
-
}
|
|
2159
|
-
]
|
|
2160
|
-
},
|
|
2161
|
-
"rates": {
|
|
2162
|
-
"input": 0.15,
|
|
2163
|
-
"cache_read": 0.003
|
|
2164
|
-
}
|
|
2165
|
-
},
|
|
2166
|
-
{
|
|
2167
|
-
"id": "text.output.overrides[0]",
|
|
2168
|
-
"field": "output",
|
|
2169
|
-
"when": {
|
|
2170
|
-
"type": "utc_days",
|
|
2171
|
-
"op": "in",
|
|
2172
|
-
"value": ["sat", "sun"]
|
|
2173
|
-
},
|
|
2174
|
-
"rates": {
|
|
2175
|
-
"output": 0.6
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
"id": "text.output.overrides[1]",
|
|
2180
|
-
"field": "output",
|
|
2181
|
-
"when": {
|
|
2182
|
-
"type": "all",
|
|
2183
|
-
"of": [
|
|
2184
|
-
{
|
|
2185
|
-
"type": "utc_days",
|
|
2186
|
-
"op": "in",
|
|
2187
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2188
|
-
},
|
|
2189
|
-
{
|
|
2190
|
-
"type": "utc_hours",
|
|
2191
|
-
"op": "lt",
|
|
2192
|
-
"value": "01:00"
|
|
2193
|
-
}
|
|
2194
|
-
]
|
|
2195
|
-
},
|
|
2196
|
-
"rates": {
|
|
2197
|
-
"output": 0.6
|
|
2198
|
-
}
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
"id": "text.output.overrides[2]",
|
|
2202
|
-
"field": "output",
|
|
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": "all",
|
|
2213
|
-
"of": [
|
|
2214
|
-
{
|
|
2215
|
-
"type": "utc_hours",
|
|
2216
|
-
"op": "gte",
|
|
2217
|
-
"value": "01:00"
|
|
2218
|
-
},
|
|
2219
|
-
{
|
|
2220
|
-
"type": "utc_hours",
|
|
2221
|
-
"op": "lt",
|
|
2222
|
-
"value": "04:00"
|
|
2223
|
-
}
|
|
2224
|
-
]
|
|
2225
|
-
}
|
|
2226
|
-
]
|
|
2227
|
-
},
|
|
2228
|
-
"rates": {
|
|
2229
|
-
"output": 1.2
|
|
2230
|
-
}
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
"id": "text.output.overrides[3]",
|
|
2234
|
-
"field": "output",
|
|
2235
|
-
"when": {
|
|
2236
|
-
"type": "all",
|
|
2237
|
-
"of": [
|
|
2238
|
-
{
|
|
2239
|
-
"type": "utc_days",
|
|
2240
|
-
"op": "in",
|
|
2241
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2242
|
-
},
|
|
2243
|
-
{
|
|
2244
|
-
"type": "all",
|
|
2245
|
-
"of": [
|
|
2246
|
-
{
|
|
2247
|
-
"type": "utc_hours",
|
|
2248
|
-
"op": "gte",
|
|
2249
|
-
"value": "04:00"
|
|
2250
|
-
},
|
|
2251
|
-
{
|
|
2252
|
-
"type": "utc_hours",
|
|
2253
|
-
"op": "lt",
|
|
2254
|
-
"value": "06:00"
|
|
2255
|
-
}
|
|
2256
|
-
]
|
|
2257
|
-
}
|
|
2258
|
-
]
|
|
2259
|
-
},
|
|
2260
|
-
"rates": {
|
|
2261
|
-
"output": 0.6
|
|
2262
|
-
}
|
|
2263
|
-
},
|
|
2264
|
-
{
|
|
2265
|
-
"id": "text.output.overrides[4]",
|
|
2266
|
-
"field": "output",
|
|
2267
|
-
"when": {
|
|
2268
|
-
"type": "all",
|
|
2269
|
-
"of": [
|
|
2270
|
-
{
|
|
2271
|
-
"type": "utc_days",
|
|
2272
|
-
"op": "in",
|
|
2273
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2274
|
-
},
|
|
2275
|
-
{
|
|
2276
|
-
"type": "all",
|
|
2277
|
-
"of": [
|
|
2278
|
-
{
|
|
2279
|
-
"type": "utc_hours",
|
|
2280
|
-
"op": "gte",
|
|
2281
|
-
"value": "06:00"
|
|
2282
|
-
},
|
|
2283
|
-
{
|
|
2284
|
-
"type": "utc_hours",
|
|
2285
|
-
"op": "lt",
|
|
2286
|
-
"value": "10:00"
|
|
2287
|
-
}
|
|
2288
|
-
]
|
|
2289
|
-
}
|
|
2290
|
-
]
|
|
2291
|
-
},
|
|
2292
|
-
"rates": {
|
|
2293
|
-
"output": 1.2
|
|
2294
|
-
}
|
|
2295
|
-
},
|
|
2296
|
-
{
|
|
2297
|
-
"id": "text.output.overrides[5]",
|
|
2298
|
-
"field": "output",
|
|
2299
|
-
"when": {
|
|
2300
|
-
"type": "all",
|
|
2301
|
-
"of": [
|
|
2302
|
-
{
|
|
2303
|
-
"type": "utc_days",
|
|
2304
|
-
"op": "in",
|
|
2305
|
-
"value": ["fri", "mon", "thu", "tue", "wed"]
|
|
2306
|
-
},
|
|
2307
|
-
{
|
|
2308
|
-
"type": "utc_hours",
|
|
2309
|
-
"op": "gte",
|
|
2310
|
-
"value": "10:00"
|
|
2311
|
-
}
|
|
2312
|
-
]
|
|
2313
|
-
},
|
|
2314
|
-
"rates": {
|
|
2315
|
-
"output": 0.6
|
|
2316
|
-
}
|
|
2317
|
-
}
|
|
2318
|
-
],
|
|
2319
|
-
"multipliers": []
|
|
2320
|
-
},
|
|
2321
1744
|
"minimax/minimax-m3.1-flash": {
|
|
2322
1745
|
"status": "supported",
|
|
2323
1746
|
"source": "providers/openrouter/models/minimax/minimax-m3.1-flash.toml",
|
|
1747
|
+
"base": { "input": 0.075, "output": 0.3, "cache_read": 0.0075 },
|
|
2324
1748
|
"overrides": [
|
|
2325
1749
|
{
|
|
2326
1750
|
"id": "text.input.overrides[0]",
|
|
@@ -2418,6 +1842,7 @@
|
|
|
2418
1842
|
"tencent/hy3": {
|
|
2419
1843
|
"status": "supported",
|
|
2420
1844
|
"source": "providers/openrouter/models/tencent/hy3.toml",
|
|
1845
|
+
"base": { "input": 0.0825, "output": 0.33, "cache_read": 0.020625 },
|
|
2421
1846
|
"overrides": [
|
|
2422
1847
|
{
|
|
2423
1848
|
"id": "text.input.overrides[0]",
|
|
@@ -2475,6 +1900,7 @@
|
|
|
2475
1900
|
"tencent/hy4-preview": {
|
|
2476
1901
|
"status": "supported",
|
|
2477
1902
|
"source": "providers/openrouter/models/tencent/hy4-preview.toml",
|
|
1903
|
+
"base": { "input": 0.7506, "output": 2.2509, "cache_read": 0.0378 },
|
|
2478
1904
|
"overrides": [
|
|
2479
1905
|
{
|
|
2480
1906
|
"id": "text.input.overrides[0]",
|