dal-code 1.0.55 → 1.0.57
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/CHANGELOG.md +12 -0
- package/dist/bundle/chunks/{anthropic-messages-LJWWEQIU.js → anthropic-messages-ASQGS6BL.js} +1 -1
- package/dist/bundle/chunks/{azure-openai-responses-GK4VH6GM.js → azure-openai-responses-ZSCUJBSU.js} +1 -1
- package/dist/bundle/chunks/bedrock-converse-stream.js +1 -1
- package/dist/bundle/chunks/{chunk-DBT5OS5V.js → chunk-2E7RGBKM.js} +1 -1
- package/dist/bundle/chunks/{chunk-3ANBT7AT.js → chunk-34D4KVPX.js} +1 -1
- package/dist/bundle/chunks/chunk-6PQZ4KMC.js +17 -0
- package/dist/bundle/chunks/chunk-6SPX3U36.js +1 -0
- package/dist/bundle/chunks/{chunk-DWMC4U2M.js → chunk-F577XLVZ.js} +1 -1
- package/dist/bundle/chunks/{chunk-6U37J6E7.js → chunk-FSX34SAZ.js} +340 -366
- package/dist/bundle/chunks/chunk-G5AMLGXC.js +1 -0
- package/dist/bundle/chunks/{chunk-44EXLOHK.js → chunk-GPI2GHBH.js} +1 -1
- package/dist/bundle/chunks/chunk-HF334NQU.js +21 -0
- package/dist/bundle/chunks/{chunk-5TGFM4KW.js → chunk-IRSW3MVW.js} +2 -2
- package/dist/bundle/chunks/chunk-JPBJUBY4.js +17 -0
- package/dist/bundle/chunks/chunk-JPCWLZUZ.js +30 -0
- package/dist/bundle/chunks/chunk-JUUJCOIR.js +7 -0
- package/dist/bundle/chunks/{chunk-KSF7BFGS.js → chunk-KP7CMLOT.js} +1 -1
- package/dist/bundle/chunks/chunk-LZTZWS3N.js +9 -0
- package/dist/bundle/chunks/{chunk-ZYP3V3TD.js → chunk-MAJODFX6.js} +1 -1
- package/dist/bundle/chunks/{chunk-SNBVCTMQ.js → chunk-MZ7O6YLD.js} +3 -3
- package/dist/bundle/chunks/chunk-NJDCSLWK.js +1 -0
- package/dist/bundle/chunks/{chunk-SCSGNIU5.js → chunk-O3XFDBJ3.js} +1 -1
- package/dist/bundle/chunks/{chunk-2XX4WZT6.js → chunk-PD6QS7YD.js} +1 -1
- package/dist/bundle/chunks/{chunk-SMPERFJU.js → chunk-S7K3JBWA.js} +1 -1
- package/dist/bundle/chunks/{chunk-PRBATF6B.js → chunk-TNSXMGQB.js} +1 -1
- package/dist/bundle/chunks/chunk-XIJS4F22.js +14 -0
- package/dist/bundle/chunks/{chunk-GX37DI5S.js → chunk-YTDTROS5.js} +1 -1
- package/dist/bundle/chunks/{cli-Z44UHMMU.js → cli-IDAZVEZ2.js} +1 -1
- package/dist/bundle/chunks/{cli-VKNCK5P5.js → cli-NP7QEFQE.js} +1 -1
- package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-G4E4L26A.js → cloudflare-workers-ai-system-one-WLKVTF6I.js} +1 -1
- package/dist/bundle/chunks/{execute-3FWM3EMV.js → execute-VXSJSHXH.js} +2 -2
- package/dist/bundle/chunks/github-copilot.js +1 -1
- package/dist/bundle/chunks/{google-generative-ai-HVFDKPI3.js → google-generative-ai-3HIBMVL4.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-6E4HATAC.js → google-vertex-7PIUZFM3.js} +1 -1
- package/dist/bundle/chunks/{llama-cpp-classify-3HAEJDKO.js → llama-cpp-classify-5OLOZHKT.js} +1 -1
- package/dist/bundle/chunks/mcp-GHYUCPI4.js +10 -0
- package/dist/bundle/chunks/{mistral-conversations-6UC2WYUC.js → mistral-conversations-6Y33SI3U.js} +1 -1
- package/dist/bundle/chunks/{office-2F4B572E.js → office-2JSKOL7V.js} +1 -1
- package/dist/bundle/chunks/{openai-codex-responses-WPSZR4EE.js → openai-codex-responses-BYGMMTPH.js} +1 -1
- package/dist/bundle/chunks/{openai-completions-2RGIFVKJ.js → openai-completions-UWYQMOLR.js} +1 -1
- package/dist/bundle/chunks/{openai-decisions-BLZVYNRQ.js → openai-decisions-I5J7OD62.js} +1 -1
- package/dist/bundle/chunks/{openai-responses-N65DO7MB.js → openai-responses-LWVKQGLT.js} +1 -1
- package/dist/bundle/chunks/{openrouter-images-LQ4VP5P7.js → openrouter-images-BDUFN6XX.js} +1 -1
- package/dist/bundle/chunks/{pi-messages-VYTRLMVB.js → pi-messages-64FHWMQR.js} +1 -1
- package/dist/bundle/chunks/{review-MKITXKSI.js → review-OQEOVDLP.js} +2 -2
- package/dist/bundle/chunks/{router-RL7OYANY.js → router-3UQE4LBN.js} +1 -1
- package/dist/bundle/chunks/runtime-E7KOB62K.js +1 -0
- package/dist/bundle/chunks/sdk-5V64WBOZ.js +1 -0
- package/dist/bundle/chunks/sync-INSWGFSB.js +21 -0
- package/dist/bundle/chunks/{typesafe-system-one-6ZFGVJMV.js → typesafe-system-one-7QFJ5JNW.js} +1 -1
- package/dist/bundle/chunks/usage-MG7QDPG2.js +1 -0
- package/dist/bundle/chunks/virtual-modules-73ZLFCNE.js +1 -0
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/core/agent-session-runtime.d.ts +1 -0
- package/dist/core/agent-session-runtime.js +1 -1
- package/dist/core/headless-approver.d.ts +3 -0
- package/dist/core/headless-approver.js +1 -0
- package/dist/dal/manifest.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/main.js +3 -3
- package/dist/modes/acp/acp-mapping.js +3 -2
- package/dist/modes/acp/acp-mode.js +1 -1
- package/dist/modes/acp/acp-permissions.js +1 -0
- package/dist/modes/acp/acp-session-options.d.ts +24 -0
- package/dist/modes/acp/acp-session-options.js +3 -0
- package/dist/modes/index.d.ts +1 -0
- package/dist/modes/index.js +1 -1
- package/dist/node_modules/@dalcode/dal-advisor/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-awake/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-capabilities/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-codeindex/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-compat/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-dap/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-goal/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-guard/src/index.js +4 -4
- package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-interactive/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-learn/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-learn/src/store.js +3 -3
- package/dist/node_modules/@dalcode/dal-lsp/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-mcp/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-mcp/src/config.js +1 -1
- package/dist/node_modules/@dalcode/dal-mcp/src/index.js +16 -16
- package/dist/node_modules/@dalcode/dal-mcp/src/types.d.ts +2 -0
- package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/agent-dir.js +1 -0
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/index.js +1 -1
- package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-pi-kit/src/agent-dir.js +1 -0
- package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/src/index.js +1 -1
- package/dist/node_modules/@dalcode/dal-plugins/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-recall/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-remote/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-review/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-router/package.json +6 -6
- package/dist/node_modules/@dalcode/dal-rtk/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-statusline/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-structured/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-sync/package.json +7 -5
- package/dist/node_modules/@dalcode/dal-sync/src/client.d.ts +2 -0
- package/dist/node_modules/@dalcode/dal-sync/src/client.js +1 -1
- package/dist/node_modules/@dalcode/dal-sync/src/host.d.ts +11 -1
- package/dist/node_modules/@dalcode/dal-sync/src/host.js +2 -2
- package/dist/node_modules/@dalcode/dal-sync/src/index.js +3 -3
- package/dist/node_modules/@dalcode/dal-sync/src/sessions.d.ts +153 -0
- package/dist/node_modules/@dalcode/dal-sync/src/sessions.js +15 -0
- package/dist/node_modules/@dalcode/dal-telemetry/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-terminal/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-usage/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
- package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
- package/dist/node_modules/@dalcode/deepailab/src/index.js +3 -3
- package/dist/node_modules/@earendil-works/pi-agent-core/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/azure.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/baseten.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/fireworks.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/github-copilot.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/google.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/huggingface.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/mistral.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/nvidia.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode-go.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/opencode.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/qwen-token-plan.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/radius.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/together.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/vercel-ai-gateway.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/zai-coding-cn.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/zai.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.d.ts +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/utils/version.js +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-codemode/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-mcp/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-schema/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/dist/sdk/sync.d.ts +8 -1
- package/dist/sdk/sync.js +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/dist/bundle/chunks/chunk-3YGHTGYM.js +0 -7
- package/dist/bundle/chunks/chunk-D3HKK2ZD.js +0 -17
- package/dist/bundle/chunks/chunk-NMU45EFT.js +0 -9
- package/dist/bundle/chunks/chunk-SE42OS3U.js +0 -21
- package/dist/bundle/chunks/chunk-YDOF6JVP.js +0 -30
- package/dist/bundle/chunks/mcp-SGBPG7LV.js +0 -10
- package/dist/bundle/chunks/runtime-KB5ZUQB6.js +0 -1
- package/dist/bundle/chunks/sdk-C5BAFGNR.js +0 -1
- package/dist/bundle/chunks/sync-AQUDRXHM.js +0 -7
- package/dist/bundle/chunks/usage-CK3QZLTW.js +0 -1
- package/dist/bundle/chunks/virtual-modules-GRXCAWTO.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-terminal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "Host terminal context: a terminal_read tool and @terminal mentions, registered only when the embedding host advertises the terminal capability.",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
22
|
+
"@dalcode/dal-pi-kit": "1.0.57",
|
|
23
23
|
"typebox": "1.3.7"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-tool-catalog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
22
|
+
"@dalcode/dal-pi-kit": "1.0.57",
|
|
23
23
|
"typebox": "1.3.7"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-usage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"description": "/usage: tokens and cost across all sessions, by day, model and project, with sub-agent spend counted once. Adapted from @tmustier/pi-usage-extension 0.9.5 (MIT).",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
23
|
+
"@dalcode/dal-pi-kit": "1.0.57"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@earendil-works/pi-coding-agent": "^1.0.9"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
28
|
-
"@dalcode/deepailab": "1.0.
|
|
27
|
+
"@dalcode/dal-pi-kit": "1.0.57",
|
|
28
|
+
"@dalcode/deepailab": "1.0.57",
|
|
29
29
|
"typebox": "1.3.27",
|
|
30
30
|
"unpdf": "1.8.1"
|
|
31
31
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/dal-workflow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
]
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
20
|
+
"@dalcode/dal-pi-kit": "1.0.57",
|
|
21
21
|
"typebox": "1.3.27"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcode/deepailab",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dalcode/dal-pi-kit": "1.0.
|
|
24
|
-
"@earendil-works/pi-ai": "1.0.
|
|
23
|
+
"@dalcode/dal-pi-kit": "1.0.57",
|
|
24
|
+
"@earendil-works/pi-ai": "1.0.57"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@earendil-works/pi-coding-agent": "^1.0.9"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var ee=Object.defineProperty;var p=(e,u)=>ee(e,"name",{value:u,configurable:!0});var ue=Object.defineProperty,l=p((e,u)=>ue(e,"name",{value:u,configurable:!0}),"l");import{t as c}from"@dalcode/dal-pi-kit";import{isAccountLimitAssistantError as te}from"@earendil-works/pi-ai";import{getAgentDir as re,SettingsManager as ae}from"@earendil-works/pi-coding-agent";import{accountTag as se,readCache as ne,writeCache as ie}from"./cache.js";import{completeGatewayCatalog as oe,gatewayModelDefaults as P,restoreCatalog as ce,toCatalogStoreEntry as le}from"./model-defaults.js";import{defaultConfig as C,discover as R,fetchMembership as pe,OAuthError as de,pollDeviceToken as Fe,refresh as fe,startDeviceFlow as Ae}from"./oidc.js";function _(e,u){return{access:e.accessToken,refresh:e.refreshToken??"",expires:u?e.expiresAt:0,vk:u}}p(_,"$"),l(_,"toCredentials");async function $(e,u){const r=await fetch(`${e}/portal/keys/lifecycle`,{method:"POST",headers:{Authorization:`Bearer ${u}`,"Content-Type":"application/json"},body:JSON.stringify({operation:"create",name:"dal-cli",allowedModels:[]})});if(!r.ok)throw new Error(`Virtual key exchange failed (${r.status}): ${await r.text()}`);const t=(await r.json()).oneTimeCredential?.value;if(!t)throw new Error("Bridge did not return a virtual key secret.");return t}p($,"I"),l($,"createVirtualKey");async function K(e){const u=C(),r=await R(u.issuer),t=await Ae(u,r);e.onAuth({url:t.verificationUriComplete,instructions:c("\u8BF7\u5728\u6D4F\u89C8\u5668\u4E2D\u786E\u8BA4\u767B\u5F55\u8BF7\u6C42\uFF0C\u4EE5\u8FDE\u63A5 DeepAILab\u3002")}),e.onDeviceCode({userCode:t.userCode,verificationUri:t.verificationUri,intervalSeconds:t.interval,expiresInSeconds:t.expiresIn});const d=await Fe(u,r,t,{signal:e.signal});d.refreshToken||e.onProgress?.(c("\u8B66\u544A\uFF1A\u672A\u7B7E\u53D1\u5237\u65B0\u4EE4\u724C \u2014 \u8BF7\u68C0\u67E5 offline_access \u6388\u6743\u8303\u56F4\u3002")),e.onProgress?.(c("\u6B63\u5728\u5F00\u901A DeepAILab \u8BBF\u95EE\u5BC6\u94A5\u2026"));let i="";for(let D=0;D<2&&!i;D++)try{i=await $(u.apiBase,d.accessToken)}catch(f){D===1&&e.onProgress?.(`${c("\u8BBF\u95EE\u5BC6\u94A5\u5F00\u901A\u5931\u8D25\uFF08")}${f instanceof Error?f.message:String(f)}${c("\uFF09\uFF0C\u4E0B\u6B21\u4F7F\u7528\u65F6\u5C06\u81EA\u52A8\u91CD\u8BD5\u3002")}`)}return _(d,i)}p(K,"X"),l(K,"loginDeepAILab");async function T(e,u){const r=new AbortController,t=setTimeout(()=>r.abort(),1e4);try{const d=await fetch(`${e}/portal/skills`,{headers:{"x-bf-vk":u,Accept:"application/json"},signal:r.signal});return d.status!==401&&d.status!==403}catch{return!0}finally{clearTimeout(t)}}p(T,"Z"),l(T,"isVirtualKeyLive");const De=1440*60*1e3;function j(e){if(typeof e!="object"||e===null)return!1;const u=e;return typeof u.issuer=="string"&&typeof u.tokenEndpoint=="string"}p(j,"te"),l(j,"isEndpoints");async function U(e){const u=`oidc-discovery-${se(e)}`,r=ne(u,j);if(r&&Date.now()-r.savedAt<De)return r.value;const t=await R(e);try{ie(u,t)}catch{}return t}p(U,"re"),l(U,"discoverCached");const N=420*1e3;function I(e){return e instanceof de?/^http_5\d\d$/.test(e.code)||e.code==="server_error"||e.code==="temporarily_unavailable":!0}p(I,"ie"),l(I,"isTransientRefreshFailure");async function L(e){const u=String(e.vk??"");try{return await V(e)}catch(r){if(u&&I(r))return{...e,expires:Date.now()+N};throw r}}p(L,"se"),l(L,"refreshDeepAILab");async function V(e){const u=C(),r=await U(u.issuer);let t=String(e.vk??"");const[d,i]=await Promise.all([fe(u,r,e.refresh),t?T(u.apiBase,t):Promise.resolve(!1)]);return i||(t=await $(u.apiBase,d.accessToken)),_(d,t)}p(V,"ae"),l(V,"renewDeepAILab");const O=[],G=900*1e3;function H(e){if(e?.type==="oauth")return String(e.vk||e.access||"")||void 0;if(e?.type==="api_key")return e.key||void 0}p(H,"oe"),l(H,"gatewayKey");async function
|
|
2
|
-
`))}),e.registerCommand("account",{description:c("\u67E5\u770B DeepAILab \u4F1A\u5458\u548C\u5957\u9910\u72B6\u6001"),handler:l(async(a,n)=>{const s=await n.modelRegistry.getApiKeyForProvider("deepailab");if(!s){n.ui.notify(c("\u5C1A\u672A\u767B\u5F55\u3002\u8BF7\u8FD0\u884C /login \u5E76\u9009\u62E9 DeepAILab\u3002"),"warning");return}try{const o=await pe(u,String(
|
|
3
|
-
`)},"notify");e.on("after_provider_response",(a,n)=>{if(a.status<400||a.status===f)return;if(f=a.status,a.status===401||a.status===402||a.status===403){y=a.status;return}const s=m(a.status,!!
|
|
1
|
+
var ee=Object.defineProperty;var p=(e,u)=>ee(e,"name",{value:u,configurable:!0});var ue=Object.defineProperty,l=p((e,u)=>ue(e,"name",{value:u,configurable:!0}),"l");import{t as c}from"@dalcode/dal-pi-kit";import{isAccountLimitAssistantError as te}from"@earendil-works/pi-ai";import{getAgentDir as re,SettingsManager as ae}from"@earendil-works/pi-coding-agent";import{accountTag as se,readCache as ne,writeCache as ie}from"./cache.js";import{completeGatewayCatalog as oe,gatewayModelDefaults as P,restoreCatalog as ce,toCatalogStoreEntry as le}from"./model-defaults.js";import{defaultConfig as C,discover as R,fetchMembership as pe,OAuthError as de,pollDeviceToken as Fe,refresh as fe,startDeviceFlow as Ae}from"./oidc.js";function _(e,u){return{access:e.accessToken,refresh:e.refreshToken??"",expires:u?e.expiresAt:0,vk:u}}p(_,"$"),l(_,"toCredentials");async function $(e,u){const r=await fetch(`${e}/portal/keys/lifecycle`,{method:"POST",headers:{Authorization:`Bearer ${u}`,"Content-Type":"application/json"},body:JSON.stringify({operation:"create",name:"dal-cli",allowedModels:[]})});if(!r.ok)throw new Error(`Virtual key exchange failed (${r.status}): ${await r.text()}`);const t=(await r.json()).oneTimeCredential?.value;if(!t)throw new Error("Bridge did not return a virtual key secret.");return t}p($,"I"),l($,"createVirtualKey");async function K(e){const u=C(),r=await R(u.issuer),t=await Ae(u,r);e.onAuth({url:t.verificationUriComplete,instructions:c("\u8BF7\u5728\u6D4F\u89C8\u5668\u4E2D\u786E\u8BA4\u767B\u5F55\u8BF7\u6C42\uFF0C\u4EE5\u8FDE\u63A5 DeepAILab\u3002")}),e.onDeviceCode({userCode:t.userCode,verificationUri:t.verificationUri,intervalSeconds:t.interval,expiresInSeconds:t.expiresIn});const d=await Fe(u,r,t,{signal:e.signal});d.refreshToken||e.onProgress?.(c("\u8B66\u544A\uFF1A\u672A\u7B7E\u53D1\u5237\u65B0\u4EE4\u724C \u2014 \u8BF7\u68C0\u67E5 offline_access \u6388\u6743\u8303\u56F4\u3002")),e.onProgress?.(c("\u6B63\u5728\u5F00\u901A DeepAILab \u8BBF\u95EE\u5BC6\u94A5\u2026"));let i="";for(let D=0;D<2&&!i;D++)try{i=await $(u.apiBase,d.accessToken)}catch(f){D===1&&e.onProgress?.(`${c("\u8BBF\u95EE\u5BC6\u94A5\u5F00\u901A\u5931\u8D25\uFF08")}${f instanceof Error?f.message:String(f)}${c("\uFF09\uFF0C\u4E0B\u6B21\u4F7F\u7528\u65F6\u5C06\u81EA\u52A8\u91CD\u8BD5\u3002")}`)}return _(d,i)}p(K,"X"),l(K,"loginDeepAILab");async function T(e,u){const r=new AbortController,t=setTimeout(()=>r.abort(),1e4);try{const d=await fetch(`${e}/portal/skills`,{headers:{"x-bf-vk":u,Accept:"application/json"},signal:r.signal});return d.status!==401&&d.status!==403}catch{return!0}finally{clearTimeout(t)}}p(T,"Z"),l(T,"isVirtualKeyLive");const De=1440*60*1e3;function j(e){if(typeof e!="object"||e===null)return!1;const u=e;return typeof u.issuer=="string"&&typeof u.tokenEndpoint=="string"}p(j,"te"),l(j,"isEndpoints");async function U(e){const u=`oidc-discovery-${se(e)}`,r=ne(u,j);if(r&&Date.now()-r.savedAt<De)return r.value;const t=await R(e);try{ie(u,t)}catch{}return t}p(U,"re"),l(U,"discoverCached");const N=420*1e3;function I(e){return e instanceof de?/^http_5\d\d$/.test(e.code)||e.code==="server_error"||e.code==="temporarily_unavailable":!0}p(I,"ie"),l(I,"isTransientRefreshFailure");async function L(e){const u=String(e.vk??"");try{return await V(e)}catch(r){if(u&&I(r))return{...e,expires:Date.now()+N};throw r}}p(L,"se"),l(L,"refreshDeepAILab");async function V(e){const u=C(),r=await U(u.issuer);let t=String(e.vk??"");const[d,i]=await Promise.all([fe(u,r,e.refresh),t?T(u.apiBase,t):Promise.resolve(!1)]);return i||(t=await $(u.apiBase,d.accessToken)),_(d,t)}p(V,"ae"),l(V,"renewDeepAILab");const O=[],G=900*1e3;function H(e){if(e?.type==="oauth")return String(e.vk||e.access||"")||void 0;if(e?.type==="api_key")return e.key||void 0}p(H,"oe"),l(H,"gatewayKey");async function z(e,u,r){let t;try{t=await fetch(`${e}/models`,{headers:{Authorization:`Bearer ${u}`,"x-bf-vk":u,Accept:"application/json"},signal:AbortSignal.any([r,AbortSignal.timeout(2e4)])})}catch(i){if(i instanceof Error&&(i.name==="AbortError"||i.name==="TimeoutError"))throw new Error(`${c("\u65E0\u6CD5\u83B7\u53D6\u6A21\u578B\u5217\u8868")}\uFF1A${c("\u8BF7\u6C42\u8D85\u65F6")}`);const D=i instanceof Error?i.cause:void 0,f=D?.code??D?.message;throw new Error(`${c("\u65E0\u6CD5\u83B7\u53D6\u6A21\u578B\u5217\u8868")}\uFF1A${c("\u65E0\u6CD5\u8FDE\u63A5 DeepAILab \u7F51\u5173")}${f?` (${f})`:""}`)}if(!t.ok)throw new Error(`${c("\u65E0\u6CD5\u83B7\u53D6\u6A21\u578B\u5217\u8868")}\uFF1A${c("\u7F51\u5173\u62D2\u7EDD\u4E86\u8BF7\u6C42")} (HTTP ${t.status})`);const d=await t.json();return oe((d.data??[]).filter(i=>typeof i.id=="string"&&i.id.length>0).map(i=>P(i.id,i.display_name??i.name,{contextWindow:i.context_window,maxTokens:i.max_output_tokens,capabilities:i.capabilities,reasoningEfforts:i.reasoning_efforts,pricing:i.pricing})))}p(z,"ce"),l(z,"fetchGatewayCatalog");function q(){const e=ae.create(process.cwd(),re(),{projectTrusted:!1}),u=e.getDefaultModel();return e.getDefaultProvider()!=="deepailab"||!u?[]:[P(u)]}p(q,"ue"),l(q,"configuredDefaultCatalog");const J=Symbol.for("dalcode.deepailab.credentials"),W=globalThis;W[J]??={};const E=W[J];function S(){const e=E.current?.access;return typeof e=="string"&&e.length>0?e:void 0}p(S,"le"),l(S,"currentDeepAILabAccessToken");async function Y(e){try{if(!await e.getApiKeyForProvider("deepailab"))return}catch{return}return S()}p(Y,"be"),l(Y,"resolveDeepAILabAccessToken");function Q(){return C().apiBase.replace(/\/+$/,"")}p(Q,"ve"),l(Q,"deepAILabApiBase");function X(e){const u=C();let r=O,t=0,d,i;const D=l(async(a,n)=>{const s=le("deepailab",a,u.apiBase);r=a,t=s.checkedAt??Date.now();let o=!1;try{o=await n({persist:s})}catch{}d=o?void 0:s},"persist");e.registerProvider("deepailab",{name:"DeepAILab",baseUrl:u.apiBase,apiKey:"$DAL_VK",api:"openai-completions",models:O,refreshModels:l(async({credential:a,allowNetwork:n,force:s,signal:o,stored:F,publish:A})=>{const v=H(a);if(!v)return r;if(d)try{await A({persist:d})&&(d=void 0)}catch{}const h=F?.checkedAt??0;if(h>t){const M=ce(F);M.length>0&&(r=M,t=h)}if(!n)return r.length===0&&(r=q()),r;if(!s&&t>0&&Date.now()-t<G)return r;const w=z(u.apiBase,v,o);i=w;let k;try{k=await w}finally{i===w&&(i=void 0)}return k.length>0&&await D(k,A),r},"refreshModels"),oauth:{name:"DeepAILab",login:K,refreshToken:L,getApiKey:l(a=>(E.current=a,a.vk?String(a.vk):String(a.access)),"getApiKey"),modifyModels:l((a,n)=>a.map(s=>({...s,headers:{...s.headers,"x-bf-vk":String(n.vk??"")}})),"modifyModels")}}),e.on("before_agent_start",(a,n)=>{if(i||t===0||Date.now()-t<G)return;const s=n.modelRegistry?.getRuntime?.();s?.refreshCatalogsInPlace&&s.refreshCatalogsInPlace({providers:["deepailab"],signal:AbortSignal.timeout(2e4)}).catch(()=>{})}),e.on("provider_authenticated",async(a,n)=>{if(a.providerId!=="deepailab")return;const s=await n.modelRegistry.refresh({providers:["deepailab"],force:!0,signal:AbortSignal.timeout(2e4)}),o=s.errors.get("deepailab"),F=o?o.message:s.aborted?`${c("\u65E0\u6CD5\u83B7\u53D6\u6A21\u578B\u5217\u8868")}\uFF1A${c("\u8BF7\u6C42\u8D85\u65F6")}`:void 0;F&&(n.hasUI?n.ui.notify(F,"error"):process.stderr.write(`${F}
|
|
2
|
+
`))}),e.registerCommand("account",{description:c("\u67E5\u770B DeepAILab \u4F1A\u5458\u548C\u5957\u9910\u72B6\u6001"),handler:l(async(a,n)=>{const s=await n.modelRegistry.getApiKeyForProvider("deepailab");if(!s){n.ui.notify(c("\u5C1A\u672A\u767B\u5F55\u3002\u8BF7\u8FD0\u884C /login \u5E76\u9009\u62E9 DeepAILab\u3002"),"warning");return}try{const o=await pe(u,String(E.current?.access??s)),F=o.membership.plan??"free",A=o.membership.active?c("\u5DF2\u6FC0\u6D3B"):c("\u672A\u6FC0\u6D3B"),v=o.membership.expiresAt?` \xB7 ${c("\u81F3")} ${o.membership.expiresAt}`:"",h=o.principal?.email??o.principal?.username??"";n.ui.notify(`DeepAILab ${h} \u2014 ${F}\uFF08${A}\uFF09${v}`,"info")}catch(o){n.ui.notify(`${c("\u65E0\u6CD5\u52A0\u8F7D\u4F1A\u5458\u4FE1\u606F\uFF1A")}${o instanceof Error?o.message:String(o)}`,"error")}},"handler")});let f=0,y=0;const b=l((a,n)=>{a.hasUI?a.ui.notify(n.message,n.level):process.stderr.write(`${n.message}
|
|
3
|
+
`)},"notify");e.on("after_provider_response",(a,n)=>{if(a.status<400||a.status===f)return;if(f=a.status,a.status===401||a.status===402||a.status===403){y=a.status;return}const s=m(a.status,!!E.current?.vk);s&&b(n,s)});let B=!1;const x=l((a,n,s)=>{B||(B=!0,e.emitHostEvent(Z,{source:a,scope:g(n)==="upstream"?"upstream":"account",message:s,reason:(n??"").slice(0,500)}))},"reportAccountLimit");e.on("message_end",(a,n)=>{const s=a.message;if(s.role!=="assistant")return;const o=y;y=0;const F=o===402||te(s)||(o===401||o===403)&&g(s.errorMessage)==="suspended",A=o?m(o,!!E.current?.vk,s.errorMessage):F&&!B?m(402,!0,s.errorMessage):null;A&&b(n,A),F&&A&&x("agent",s.errorMessage,A.message)}),e.on("turn_end",(a,n)=>{for(const s of a.toolResults){const o=s.details?.accountLimit;if(!o||B)continue;const F=m(402,!0,o.reason);F&&(b(n,F),x("subagent",o.reason,F.message))}}),e.on("agent_start",()=>{B=!1}),e.on("turn_start",()=>{f=0,y=0})}p(X,"de"),l(X,"default");const Z="account_limit";function g(e){return e?/api[ _-]?key is inactive|"type"\s*:\s*"api_key_(?:inactive|blocked)"/i.test(e)?"suspended":/"type"\s*:\s*"api_key_(?:required|not_found|expired|revoked|disabled|invalid)"/i.test(e)||/x-bf-vk|virtual[ _-]?key|用户额度不足|用户剩余额度|预扣费额度失败/i.test(e)?"user":/authentication_error|invalid_api_key|incorrect api key|invalid api key|your api key[:\s]|api key[^"]{0,40}is invalid|insufficient[ _]balance|credit balance is too low|permission_error|account[^"]{0,40}(?:suspended|deactivated|disabled)/i.test(e)?"upstream":"unknown":"unknown"}p(g,"_"),l(g,"classifyGatewayAuthFailure");function m(e,u=!0,r){if(e===401||e===403){const t=g(r);return t==="upstream"?{message:c("\u8BE5\u6A21\u578B\u7684\u670D\u52A1\u901A\u9053\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7528 /model \u6362\u4E00\u4E2A\u6A21\u578B\uFF0C\u6216\u7A0D\u540E\u518D\u8BD5\u3002"),level:"error"}:t==="suspended"?{message:c("DAL \u8D26\u6237\u7684\u6A21\u578B\u8C03\u7528\u5DF2\u6682\u505C\uFF08\u4F59\u989D\u4E0D\u8DB3\u6216\u8FBE\u5230\u82B1\u8D39\u4E0A\u9650\uFF09\u3002\u524D\u5F80 deepailab.ai \u5145\u503C\u6216\u8C03\u6574\u82B1\u8D39\u4E0A\u9650\u540E\u4F1A\u81EA\u52A8\u6062\u590D\u3002"),level:"error"}:u?{message:c("\u767B\u5F55\u72B6\u6001\u5DF2\u5931\u6548\uFF0C\u8BF7\u8FD0\u884C /login \u91CD\u65B0\u767B\u5F55 DeepAILab\u3002"),level:"error"}:{message:c("\u8D26\u6237\u7F3A\u5C11\u8BBF\u95EE\u5BC6\u94A5\uFF08\u4E0A\u6B21\u5F00\u901A\u672A\u6210\u529F\uFF09\u3002\u8FD0\u884C /login \u91CD\u65B0\u767B\u5F55\u5373\u53EF\u8865\u53D1\u3002"),level:"error"}}return e===402?g(r)==="upstream"?{message:c("\u8BE5\u6A21\u578B\u7684\u4E0A\u6E38\u670D\u52A1\u901A\u9053\u4F59\u989D\u4E0D\u8DB3\uFF0C\u6682\u65F6\u65E0\u6CD5\u4F7F\u7528\u3002\u8BF7\u7528 /model \u6362\u4E00\u4E2A\u6A21\u578B\uFF0C\u6216\u7A0D\u540E\u518D\u8BD5\u3002"),level:"error"}:{message:c("\u8D26\u6237\u4F59\u989D\u4E0D\u8DB3\uFF0C\u8BF7\u5145\u503C\u540E\u91CD\u8BD5\u3002\u8FD0\u884C /account \u67E5\u770B\u5957\u9910\uFF0C\u6216\u524D\u5F80 deepailab.ai \u5145\u503C\u3002"),level:"error"}:e===429?{message:c("\u8BF7\u6C42\u592A\u9891\u7E41\uFF0C\u7F51\u5173\u6B63\u5728\u9650\u6D41\u3002\u8BF7\u7A0D\u7B49\u51E0\u79D2\u518D\u8BD5\u3002"),level:"warning"}:e===404?{message:c("\u5F53\u524D\u6A21\u578B\u5728\u7F51\u5173\u4E0A\u4E0D\u53EF\u7528\uFF08\u53EF\u80FD\u672A\u7ED1\u5B9A\u5BC6\u94A5\uFF09\u3002\u7528 /model \u6362\u4E00\u4E2A\u6A21\u578B\u8BD5\u8BD5\u3002"),level:"warning"}:e>=500?{message:c("DeepAILab \u7F51\u5173\u6682\u65F6\u4E0D\u53EF\u7528\uFF08\u670D\u52A1\u7AEF\u9519\u8BEF\uFF09\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002"),level:"error"}:null}p(m,"k"),l(m,"gatewayStatusNotice");export{Z as ACCOUNT_LIMIT_EVENT,N as REFRESH_RETRY_AFTER_MS,g as classifyGatewayAuthFailure,S as currentDeepAILabAccessToken,Q as deepAILabApiBase,X as default,m as gatewayStatusNotice,I as isTransientRefreshFailure,T as isVirtualKeyLive,L as refreshDeepAILab,Y as resolveDeepAILabAccessToken};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-agent-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.57",
|
|
4
4
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@earendil-works/pi-ai": "1.0.
|
|
21
|
-
"@earendil-works/pi-schema": "1.0.
|
|
20
|
+
"@earendil-works/pi-ai": "1.0.57",
|
|
21
|
+
"@earendil-works/pi-schema": "1.0.57"
|
|
22
22
|
},
|
|
23
23
|
"keywords": [
|
|
24
24
|
"ai",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion":6,"generatedAt":"2026-11-
|
|
1
|
+
{"schemaVersion":6,"generatedAt":"2026-11-25T16:24:49.903Z","structureHash":"3c475dc5f63b4b33a98262b84b752d7fa4788607d4c0e45fdd99206b8a6ec597","files":{"amazon-bedrock.json":"28e7726b709dcef16af6108728ced704238c3b6641089723cb453f77c6913ab1","ant-ling.json":"628feab3ef6c7d80ce96f75999804e1d9f05fec3851e5302e30fff3b69db90f6","anthropic.json":"ebd207ed51603e2060b870bef72c86e9de02d3a14f78bd9813f2de0db27dbdef","azure.json":"8ca9a9b722ad090e79471ddbb526db03d7e1e6f1149b18142b9426d66bdb80b9","baseten.json":"5ddfbb5410a65e27a73c3c3a2bdd0dded055a74df9684e4807148b1561f7257f","cerebras.json":"2eb969b2956844f9a641d3de52c19f1791293c58f607282fb3b0ebfe85ff66f8","cloudflare-ai-gateway.json":"111c8172c0ab097d3c4d9e9dad8a4f7ff4ae4aa7e92341a322dc085a5539cb8c","cloudflare-workers-ai.json":"2ef8c6ccb217a574efcd562da45f59966b07a52d7f0ce92de01523513e92753b","deepseek.json":"10a296fb3e898f7715c80890c8af0af4f5fd58f22dbcd6612fdc5d762157ccdc","fireworks.json":"d9677a4c1d14586da1f68165f6d1d72fb95088d4eeb945bbd2e5bfa40be0503c","github-copilot.json":"89376f5100cae0563bd980564cbcca3f03fa38be7a62349caa5262c3d5f31adb","google-vertex.json":"3b444f3ddfa48dcea61e52a2c9da2bc57fcbdbbb4bb223b73aa5032bde035e6e","google.json":"7df2bed015e7f5d882ab06c3e685eab1b2a71fadefcf4a297706e1efbd52d6dc","groq.json":"087df37206e9eed8b10f1e558e4c496289bef60074b7e8afba4f20fb102b4ec2","huggingface.json":"f944408f9c735608f6993c2570f556498974b1072c1f45ee31095f1037944618","kimi-coding.json":"47ed9d0c7dc6913bd54210e267da6a4863affa6d19221f9f731c7c1e4a050521","meta.json":"6ccc391fc86586638b4a2f26420f0e4763fccce04d746665cbd55f477124bb3b","minimax-cn.json":"fa15d1f67a07046d38e191af9bd97ed922ba45a99a11af4ad281151cc6b762aa","minimax.json":"1e0459dda3858ea24151182106fc4179b95f43a0a8dffc1c3d2e7db4c2d9206e","mistral.json":"96d113cf64ed2597afb885f8c1b7bc5745dae00ccc36ddea362570775ea3ff4c","moonshotai-cn.json":"1a15468b1edf9205956e4c5ea41fc4cacc14eabf00523b9143e23a38264f57f7","moonshotai.json":"f31cdf2e6c81a403c4cb0e6b7e759ceff2820f966b08dbec80cfafa3f80dfc63","nvidia.json":"6174a8fdd6aeb0fafc76f18cfc0a93f5a764bc2e6522c72a0e4508b94c0ad45b","openai-codex.json":"dd30453068f310317abf35d9adc6d841339a1351f0c6925a6aff45d975e0257c","openai.json":"7077b7a213be23c828813af239639dc061d43ec799ae6eba7afb0dcdcf6c463e","opencode-go.json":"6b6916f4b48caf6638d363dc3bf0c344043207f5c7e98048068cf3ddc8a2c204","opencode.json":"2f7877366449d29b04e3378c3323246a11e20167e6ab3aeaa585f8ecd3ab894c","openrouter.json":"51f23465a9113765b9558cdcd2fc707190009ce038965922f857d9d310bbee86","qwen-token-plan-cn.json":"a9c0a839d449357f45abb1688b98f4702f2debe12fe7dc1ce499a074c7f5e1e6","qwen-token-plan-individual-cn.json":"fb74899c770572efbb27eb8d3398a07edaa4d62229655f9a0702ae01af22ac95","qwen-token-plan-individual.json":"f83c5ae4dce709924ad03a10c5f9c09a42b3670cb6ee2ed32590b9e0fcbaf8a9","qwen-token-plan.json":"e4263c1aed73a522c1e410f770ea742b3fa863776520755fcdf83c27f168e97b","radius.json":"8fd35fe53464ef8be1983289fa5d4842d4773e7fe9c861297f22ef3321c1a665","together.json":"13c2526d0b1d414a3a004d61f0d936f3391b88a55a2899043bdeb0b80e730c0e","typesafe.json":"631b03f70597ad656e8f45a393ab46bd4137459b9b499708ac3d5d9d9decd3f2","vercel-ai-gateway.json":"01296d37acd250ee4a511cc45bc57a940d1d61d4ed85fa391bf28f908ebd439f","xai.json":"db408985a02980ba9d30f359b4f394a7d088cc75e26bd4bef30aecb43077771b","xiaomi-token-plan-ams.json":"34fe47b0a79fec7843a01d542cb64b736e651a3e6691cc851183e5ce3eae0118","xiaomi-token-plan-cn.json":"e69f9704b450dbb34b6db61a7b224dab5e5a91a39af3e505ecca4db8bfdc04f0","xiaomi-token-plan-sgp.json":"fd28cc293208617127ff888873772b7b52160538caa07ca3af641f3208d3ad20","xiaomi.json":"65bc04b2ab6c9e97594de34bcea4ef7e45befd87901b4208d1ea4142b93f0561","zai-coding-cn.json":"0939140446e5063937ed60035162e4251d295cae00a376b5348d01562e77eb09","zai.json":"cc04efe5ca13e7f7945ce8243899c7be97d7ab184cf21192b365b28432eea19c"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"azure-openai-responses":{"chat:chat-latest":{"id":"chat-latest","name":"Chat Latest","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4":{"id":"gpt-4","name":"GPT-4","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text"],"cost":{"input":30,"output":60,"cacheRead":0,"cacheWrite":0},"contextWindow":8192,"maxTokens":8192,"type":"chat"},"chat:gpt-4-turbo":{"id":"gpt-4-turbo","name":"GPT-4 Turbo","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":10,"output":30,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4.1":{"id":"gpt-4.1","name":"GPT-4.1","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4.1-mini":{"id":"gpt-4.1-mini","name":"GPT-4.1 mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4.1-nano":{"id":"gpt-4.1-nano","name":"GPT-4.1 nano","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":0.1,"output":0.4,"cacheRead":0.025,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o":{"id":"gpt-4o","name":"GPT-4o","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-2024-05-13":{"id":"gpt-4o-2024-05-13","name":"GPT-4o (2024-05-13)","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":5,"output":15,"cacheRead":0,"cacheWrite":0},"contextWindow":128000,"maxTokens":4096,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-2024-08-06":{"id":"gpt-4o-2024-08-06","name":"GPT-4o (2024-08-06)","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-2024-11-20":{"id":"gpt-4o-2024-11-20","name":"GPT-4o (2024-11-20)","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-mini":{"id":"gpt-4o-mini","name":"GPT-4o mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5":{"id":"gpt-5","name":"GPT-5","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-chat-latest":{"id":"gpt-5-chat-latest","name":"GPT-5 Chat Latest","api":"azure-openai-responses","baseUrl":"","provider":"azure","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-mini":{"id":"gpt-5-mini","name":"GPT-5 Mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-nano":{"id":"gpt-5-nano","name":"GPT-5 Nano","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-pro":{"id":"gpt-5-pro","name":"GPT-5 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":120,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.1":{"id":"gpt-5.1","name":"GPT-5.1","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.2":{"id":"gpt-5.2","name":"GPT-5.2","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.2-pro":{"id":"gpt-5.2-pro","name":"GPT-5.2 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":21,"output":168,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.3-codex":{"id":"gpt-5.3-codex","name":"GPT-5.3 Codex","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.3-codex-spark":{"id":"gpt-5.3-codex-spark","name":"GPT-5.3 Codex Spark","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":128000,"maxTokens":32000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4":{"id":"gpt-5.4","name":"GPT-5.4","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":5,"output":22.5,"cacheRead":0.5,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-mini":{"id":"gpt-5.4-mini","name":"GPT-5.4 mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-nano":{"id":"gpt-5.4-nano","name":"GPT-5.4 nano","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-pro":{"id":"gpt-5.4-pro","name":"GPT-5.4 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":60,"output":270,"cacheRead":0,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.5":{"id":"gpt-5.5","name":"GPT-5.5","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":10,"output":45,"cacheRead":1,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.5-pro":{"id":"gpt-5.5-pro","name":"GPT-5.5 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":60,"output":270,"cacheRead":0,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","minimal":null,"low":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-cyber":{"id":"gpt-5.6-cyber","name":"GPT-5.6 Cyber","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":12.5,"output":75,"cacheRead":1.25,"cacheWrite":15.625},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-luna":{"id":"gpt-5.6-luna","name":"GPT-5.6 Luna","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25,"tiers":[{"inputTokensAbove":272000,"input":0.4,"output":1.8,"cacheRead":0.04,"cacheWrite":0.5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-sol":{"id":"gpt-5.6-sol","name":"GPT-5.6 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-terra":{"id":"gpt-5.6-terra","name":"GPT-5.6 Terra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-astra":{"id":"gpt-6-astra","name":"GPT-6 Astra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5,"tiers":[{"inputTokensAbove":272000,"input":20,"output":75,"cacheRead":2,"cacheWrite":25}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-cyber":{"id":"gpt-6-cyber","name":"GPT-6 Cyber","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":100,"cacheRead":2,"cacheWrite":25},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-luna":{"id":"gpt-6-luna","name":"GPT-6 Luna","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":272000,"input":0.2,"output":0.75,"cacheRead":0.02,"cacheWrite":0.25}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-sol":{"id":"gpt-6-sol","name":"GPT-6 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.1-sol":{"id":"gpt-6.1-sol","name":"GPT-6.1 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.1-terra":{"id":"gpt-6.1-terra","name":"GPT-6.1 Terra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.05,"cacheWrite":1.25,"tiers":[{"inputTokensAbove":272000,"input":2,"output":7.5,"cacheRead":0.1,"cacheWrite":2.5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-astra":{"id":"gpt-6.2-astra","name":"GPT-6.2 Astra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":8,"output":40,"cacheRead":0.4,"cacheWrite":10,"tiers":[{"inputTokensAbove":272000,"input":16,"output":60,"cacheRead":0.8,"cacheWrite":20}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-sol":{"id":"gpt-6.2-sol","name":"GPT-6.2 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-daybreak-blue-latest":{"id":"gpt-daybreak-blue-latest","name":"Daybreak Blue","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":1050000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-daybreak-red-latest":{"id":"gpt-daybreak-red-latest","name":"Daybreak Red","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":12.5,"output":75,"cacheRead":1.25,"cacheWrite":15.625},"contextWindow":400000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o1":{"id":"o1","name":"o1","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":60,"cacheRead":7.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o1-pro":{"id":"o1-pro","name":"o1-pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":150,"output":600,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o3":{"id":"o3","name":"o3","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o3-mini":{"id":"o3-mini","name":"o3-mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.55,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"type":"chat"},"chat:o3-pro":{"id":"o3-pro","name":"o3-pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":80,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o4-mini":{"id":"o4-mini","name":"o4-mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.1,"output":4.4,"cacheRead":0.275,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}},"openai-completions":{"chat:deepseek-v4-pro":{"id":"deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","baseUrl":"","provider":"azure","reasoning":true,"input":["text"],"cost":{"input":1.925,"output":3.828,"cacheRead":0.165,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStrictMode":true,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"openai","supportsDeveloperRole":false,"supportsMidConvoSystemMessages":true,"supportsLongCacheRetention":false},"thinkingLevelMap":{"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"}}}
|
|
1
|
+
{"azure-openai-responses":{"chat:chat-latest":{"id":"chat-latest","name":"Chat Latest","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4.1":{"id":"gpt-4.1","name":"GPT-4.1","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4.1-mini":{"id":"gpt-4.1-mini","name":"GPT-4.1 mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":0.4,"output":1.6,"cacheRead":0.1,"cacheWrite":0},"contextWindow":1047576,"maxTokens":32768,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o":{"id":"gpt-4o","name":"GPT-4o","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-2024-08-06":{"id":"gpt-4o-2024-08-06","name":"GPT-4o (2024-08-06)","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-2024-11-20":{"id":"gpt-4o-2024-11-20","name":"GPT-4o (2024-11-20)","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":2.5,"output":10,"cacheRead":1.25,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-4o-mini":{"id":"gpt-4o-mini","name":"GPT-4o mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":false,"input":["text","image"],"cost":{"input":0.15,"output":0.6,"cacheRead":0.075,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5":{"id":"gpt-5","name":"GPT-5","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-chat-latest":{"id":"gpt-5-chat-latest","name":"GPT-5 Chat Latest","api":"azure-openai-responses","baseUrl":"","provider":"azure","reasoning":false,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":128000,"maxTokens":16384,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-mini":{"id":"gpt-5-mini","name":"GPT-5 Mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.25,"output":2,"cacheRead":0.025,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-nano":{"id":"gpt-5-nano","name":"GPT-5 Nano","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.05,"output":0.4,"cacheRead":0.005,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5-pro":{"id":"gpt-5-pro","name":"GPT-5 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":15,"output":120,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.1":{"id":"gpt-5.1","name":"GPT-5.1","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":10,"cacheRead":0.125,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.2":{"id":"gpt-5.2","name":"GPT-5.2","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.2-pro":{"id":"gpt-5.2-pro","name":"GPT-5.2 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":21,"output":168,"cacheRead":0,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.3-codex":{"id":"gpt-5.3-codex","name":"GPT-5.3 Codex","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1.75,"output":14,"cacheRead":0.175,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4":{"id":"gpt-5.4","name":"GPT-5.4","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2.5,"output":15,"cacheRead":0.25,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":5,"output":22.5,"cacheRead":0.5,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-mini":{"id":"gpt-5.4-mini","name":"GPT-5.4 mini","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.75,"output":4.5,"cacheRead":0.075,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-nano":{"id":"gpt-5.4-nano","name":"GPT-5.4 nano","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.25,"cacheRead":0.02,"cacheWrite":0},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.4-pro":{"id":"gpt-5.4-pro","name":"GPT-5.4 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":60,"output":270,"cacheRead":0,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.5":{"id":"gpt-5.5","name":"GPT-5.5","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":5,"output":30,"cacheRead":0.5,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":10,"output":45,"cacheRead":1,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.5-pro":{"id":"gpt-5.5-pro","name":"GPT-5.5 Pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":30,"output":180,"cacheRead":0,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":60,"output":270,"cacheRead":0,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","minimal":null,"low":null},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-cyber":{"id":"gpt-5.6-cyber","name":"GPT-5.6 Cyber","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":12.5,"output":75,"cacheRead":1.25,"cacheWrite":15.625},"contextWindow":400000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-luna":{"id":"gpt-5.6-luna","name":"GPT-5.6 Luna","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":1.2,"cacheRead":0.02,"cacheWrite":0.25,"tiers":[{"inputTokensAbove":272000,"input":0.4,"output":1.8,"cacheRead":0.04,"cacheWrite":0.5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-sol":{"id":"gpt-5.6-sol","name":"GPT-5.6 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-5.6-terra":{"id":"gpt-5.6-terra","name":"GPT-5.6 Terra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":12,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":18,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-astra":{"id":"gpt-6-astra","name":"GPT-6 Astra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":12.5,"tiers":[{"inputTokensAbove":272000,"input":20,"output":75,"cacheRead":2,"cacheWrite":25}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-astra-healthcare":{"id":"gpt-6-astra-healthcare","name":"GPT-6 Astra Healthcare","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":10,"output":50,"cacheRead":1,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":20,"output":75,"cacheRead":2,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-cyber":{"id":"gpt-6-cyber","name":"GPT-6 Cyber","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":100,"cacheRead":2,"cacheWrite":25,"tiers":[{"inputTokensAbove":272000,"input":40,"output":150,"cacheRead":4,"cacheWrite":25}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-luna":{"id":"gpt-6-luna","name":"GPT-6 Luna","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.01,"cacheWrite":0.125,"tiers":[{"inputTokensAbove":272000,"input":0.2,"output":0.75,"cacheRead":0.02,"cacheWrite":0.25}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6-sol":{"id":"gpt-6-sol","name":"GPT-6 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.4,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.1-sol":{"id":"gpt-6.1-sol","name":"GPT-6.1 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.1-sol-healthcare":{"id":"gpt-6.1-sol-healthcare","name":"GPT-6.1 Sol Healthcare","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":0,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":0}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.1-terra":{"id":"gpt-6.1-terra","name":"GPT-6.1 Terra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":1,"output":5,"cacheRead":0.05,"cacheWrite":1.25,"tiers":[{"inputTokensAbove":272000,"input":2,"output":7.5,"cacheRead":0.1,"cacheWrite":2.5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-astra":{"id":"gpt-6.2-astra","name":"GPT-6.2 Astra","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":8,"output":40,"cacheRead":0.4,"cacheWrite":10,"tiers":[{"inputTokensAbove":272000,"input":16,"output":60,"cacheRead":0.8,"cacheWrite":20}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-astra-healthcare":{"id":"gpt-6.2-astra-healthcare","name":"GPT-6.2 Astra Healthcare","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":8,"output":40,"cacheRead":0.4,"cacheWrite":10,"tiers":[{"inputTokensAbove":272000,"input":16,"output":60,"cacheRead":0.8,"cacheWrite":20}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-sol":{"id":"gpt-6.2-sol","name":"GPT-6.2 Sol","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-6.2-sol-healthcare":{"id":"gpt-6.2-sol-healthcare","name":"GPT-6.2 Sol Healthcare","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.1,"cacheWrite":2.5,"tiers":[{"inputTokensAbove":272000,"input":4,"output":15,"cacheRead":0.2,"cacheWrite":5}]},"contextWindow":1050000,"maxTokens":128000,"thinkingLevelMap":{"xhigh":"xhigh","max":"max"},"compat":{"supportsOpenAIGrammarTools":true},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-daybreak-blue-latest":{"id":"gpt-daybreak-blue-latest","name":"Daybreak Blue","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":4,"output":20,"cacheRead":0.4,"cacheWrite":5,"tiers":[{"inputTokensAbove":272000,"input":8,"output":30,"cacheRead":0.8,"cacheWrite":10}]},"contextWindow":1050000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:gpt-daybreak-red-latest":{"id":"gpt-daybreak-red-latest","name":"Daybreak Red","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":12.5,"output":75,"cacheRead":1.25,"cacheWrite":15.625},"contextWindow":400000,"maxTokens":128000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o3":{"id":"o3","name":"o3","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":8,"cacheRead":0.5,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:o3-pro":{"id":"o3-pro","name":"o3-pro","api":"azure-openai-responses","provider":"azure","baseUrl":"","reasoning":true,"input":["text","image"],"cost":{"input":20,"output":80,"cacheRead":0,"cacheWrite":0},"contextWindow":200000,"maxTokens":100000,"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}},"openai-completions":{"chat:deepseek-v4-pro":{"id":"deepseek-v4-pro","name":"DeepSeek V4 Pro","api":"openai-completions","baseUrl":"","provider":"azure","reasoning":true,"input":["text"],"cost":{"input":1.925,"output":3.828,"cacheRead":0.165,"cacheWrite":0},"contextWindow":1000000,"maxTokens":384000,"compat":{"supportsStrictMode":true,"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"openai","supportsDeveloperRole":false,"supportsMidConvoSystemMessages":true,"supportsLongCacheRetention":false},"thinkingLevelMap":{"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":null},"type":"chat"}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"openai-completions":{"chat:deepseek-ai/DeepSeek-V4-Flash-0731":{"id":"deepseek-ai/DeepSeek-V4-Flash-0731","name":"DeepSeek V4 Flash 0731","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.13,"output":0.26,"cacheRead":0.028,"cacheWrite":0},"contextWindow":1048576,"maxTokens":384000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4-Pro-0813":{"id":"deepseek-ai/DeepSeek-V4-Pro-0813","name":"DeepSeek V4 Pro 0813","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":1.32,"output":3.96,"cacheRead":0.132,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash":{"id":"deepseek-ai/DeepSeek-V4.1-Flash","name":"DeepSeek V4.1 Flash","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.007,"cacheWrite":0},"contextWindow":1048576,"maxTokens":32768,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-1017":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-1017","name":"DeepSeek V4.1 Flash 1017","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.007,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast","name":"DeepSeek V4.1 Flash 1017 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.014,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-Fast":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-Fast","name":"DeepSeek V4.1 Flash Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.014,"cacheWrite":0},"contextWindow":1048576,"maxTokens":32768,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/Kimi-K3":{"id":"moonshotai/Kimi-K3","name":"Kimi K3","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/Kimi-K3.1-Pro":{"id":"moonshotai/Kimi-K3.1-Pro","name":"Kimi K3.1 Pro","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B":{"id":"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B","name":"Nemotron 3 Ultra","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0},"contextWindow":202800,"maxTokens":202800,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:openai/gpt-oss-120b":{"id":"openai/gpt-oss-120b","name":"OpenAI GPT 120B","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.1,"cacheWrite":0},"contextWindow":128072,"maxTokens":128072,"thinkingLevelMap":{"off":"none","minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:zai-org/GLM-5.2":{"id":"zai-org/GLM-5.2","name":"GLM 5.2","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"baseten","chatTemplateArgs":{"enable_thinking":{"$var":"thinking.enabled"}}},"type":"chat"},"chat:zai-org/GLM-5.2-Fast":{"id":"zai-org/GLM-5.2-Fast","name":"GLM 5.2 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"baseten","chatTemplateArgs":{"enable_thinking":{"$var":"thinking.enabled"}}},"type":"chat"},"chat:zai-org/GLM-5.3":{"id":"zai-org/GLM-5.3","name":"GLM 5.3","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:zai-org/GLM-5.3-Fast":{"id":"zai-org/GLM-5.3-Fast","name":"GLM 5.3 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:zai-org/GLM-5.3-Flash":{"id":"zai-org/GLM-5.3-Flash","name":"GLM 5.3 Flash","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}}}
|
|
1
|
+
{"openai-completions":{"chat:deepseek-ai/DeepSeek-V4-Flash-0731":{"id":"deepseek-ai/DeepSeek-V4-Flash-0731","name":"DeepSeek V4 Flash 0731","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.13,"output":0.26,"cacheRead":0.028,"cacheWrite":0},"contextWindow":1048576,"maxTokens":384000,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4-Pro-0813":{"id":"deepseek-ai/DeepSeek-V4-Pro-0813","name":"DeepSeek V4 Pro 0813","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":1.32,"output":3.96,"cacheRead":0.132,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash":{"id":"deepseek-ai/DeepSeek-V4.1-Flash","name":"DeepSeek V4.1 Flash","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.007,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-1017":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-1017","name":"DeepSeek V4.1 Flash 1017","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.3,"output":1.2,"cacheRead":0.007,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-1017-Fast","name":"DeepSeek V4.1 Flash 1017 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.014,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:deepseek-ai/DeepSeek-V4.1-Flash-Fast":{"id":"deepseek-ai/DeepSeek-V4.1-Flash-Fast","name":"DeepSeek V4.1 Flash Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.014,"cacheWrite":0},"contextWindow":1048576,"maxTokens":131072,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:meta-models/muse-spark-open":{"id":"meta-models/muse-spark-open","name":"Muse Spark Open","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":1.25,"output":4.25,"cacheRead":0.15,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":null},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/Kimi-K3":{"id":"moonshotai/Kimi-K3","name":"Kimi K3","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":3,"output":15,"cacheRead":0.3,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:moonshotai/Kimi-K3.1-Pro":{"id":"moonshotai/Kimi-K3.1-Pro","name":"Kimi K3.1 Pro","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":2,"output":10,"cacheRead":0.2,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":"none","minimal":null,"low":"low","medium":"medium","high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B":{"id":"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B","name":"Nemotron 3 Ultra","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.6,"output":2.4,"cacheRead":0.12,"cacheWrite":0},"contextWindow":202800,"maxTokens":202800,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B":{"id":"nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B","name":"Nemotron 3.5 Super VL","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.2,"output":0.5,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1048576,"maxTokens":1048576,"thinkingLevelMap":{"off":"off","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":null},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"baseten","chatTemplateArgs":{"enable_thinking":{"$var":"thinking.enabled"}}},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:openai/gpt-oss-120b":{"id":"openai/gpt-oss-120b","name":"OpenAI GPT 120B","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.1,"output":0.5,"cacheRead":0.1,"cacheWrite":0},"contextWindow":128072,"maxTokens":128072,"thinkingLevelMap":{"off":"none","minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:reflection/Beam-1.0":{"id":"reflection/Beam-1.0","name":"Beam","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":0.4,"output":1.2,"cacheRead":0.04,"cacheWrite":0},"contextWindow":1048576,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":"minimal","low":"low","medium":"medium","high":"high","xhigh":"xhigh","max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"type":"chat"},"chat:zai-org/GLM-5.2":{"id":"zai-org/GLM-5.2","name":"GLM 5.2","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"baseten","chatTemplateArgs":{"enable_thinking":{"$var":"thinking.enabled"}}},"type":"chat"},"chat:zai-org/GLM-5.2-Fast":{"id":"zai-org/GLM-5.2-Fast","name":"GLM 5.2 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":"none","minimal":null,"low":null,"medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"baseten","chatTemplateArgs":{"enable_thinking":{"$var":"thinking.enabled"}}},"type":"chat"},"chat:zai-org/GLM-5.3":{"id":"zai-org/GLM-5.3","name":"GLM 5.3","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":1.4,"output":4.4,"cacheRead":0.14,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:zai-org/GLM-5.3-Fast":{"id":"zai-org/GLM-5.3-Fast","name":"GLM 5.3 Fast","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":2.1,"output":6.6,"cacheRead":0.21,"cacheWrite":0},"contextWindow":1048576,"maxTokens":262144,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"},"chat:zai-org/GLM-5.3-Flash":{"id":"zai-org/GLM-5.3-Flash","name":"GLM 5.3 Flash","api":"openai-completions","provider":"baseten","baseUrl":"https://inference.baseten.co/v1","reasoning":true,"input":["text","image"],"cost":{"input":0.15,"output":0.5,"cacheRead":0.03,"cacheWrite":0},"contextWindow":1048576,"maxTokens":131072,"thinkingLevelMap":{"off":null,"minimal":null,"low":"low","medium":null,"high":"high","xhigh":null,"max":"max"},"compat":{"supportsStrictMode":true,"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"supportsUsageInStreaming":true,"maxTokensField":"max_tokens","sendSessionAffinityHeaders":true,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},"inputLimits":{"images":{"resize":{"maxWidth":2000,"maxHeight":2000,"maxBytes":4718592,"jpegQuality":80}}},"type":"chat"}}}
|