@earendil-works/pi-ai 0.80.6 → 0.80.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/api/anthropic-messages.d.ts.map +1 -1
- package/dist/api/anthropic-messages.js +95 -46
- package/dist/api/anthropic-messages.js.map +1 -1
- package/dist/api/bedrock-converse-stream.d.ts.map +1 -1
- package/dist/api/bedrock-converse-stream.js +14 -7
- package/dist/api/bedrock-converse-stream.js.map +1 -1
- package/dist/api/openai-codex-responses.d.ts +1 -0
- package/dist/api/openai-codex-responses.d.ts.map +1 -1
- package/dist/api/openai-codex-responses.js +6 -3
- package/dist/api/openai-codex-responses.js.map +1 -1
- package/dist/api/openai-completions.d.ts.map +1 -1
- package/dist/api/openai-completions.js +12 -3
- package/dist/api/openai-completions.js.map +1 -1
- package/dist/api/openai-responses-shared.d.ts +3 -1
- package/dist/api/openai-responses-shared.d.ts.map +1 -1
- package/dist/api/openai-responses-shared.js +51 -0
- package/dist/api/openai-responses-shared.js.map +1 -1
- package/dist/api/openai-responses.d.ts +1 -0
- package/dist/api/openai-responses.d.ts.map +1 -1
- package/dist/api/openai-responses.js +24 -8
- package/dist/api/openai-responses.js.map +1 -1
- package/dist/api/pi-messages.d.ts +97 -0
- package/dist/api/pi-messages.d.ts.map +1 -0
- package/dist/api/pi-messages.js +309 -0
- package/dist/api/pi-messages.js.map +1 -0
- package/dist/api/pi-messages.lazy.d.ts +3 -0
- package/dist/api/pi-messages.lazy.d.ts.map +1 -0
- package/dist/api/pi-messages.lazy.js +3 -0
- package/dist/api/pi-messages.lazy.js.map +1 -0
- package/dist/compat.d.ts +2 -0
- package/dist/compat.d.ts.map +1 -1
- package/dist/compat.js +5 -1
- package/dist/compat.js.map +1 -1
- package/dist/env-api-keys.d.ts.map +1 -1
- package/dist/env-api-keys.js +1 -0
- package/dist/env-api-keys.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +498 -180
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/providers/all.d.ts +9 -5
- package/dist/providers/all.d.ts.map +1 -1
- package/dist/providers/all.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +5 -1
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/amazon-bedrock.models.d.ts +60 -0
- package/dist/providers/amazon-bedrock.models.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.models.js +54 -0
- package/dist/providers/amazon-bedrock.models.js.map +1 -1
- package/dist/providers/azure-openai-responses.models.d.ts +17 -0
- package/dist/providers/azure-openai-responses.models.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.models.js +17 -0
- package/dist/providers/azure-openai-responses.models.js.map +1 -1
- package/dist/providers/cerebras.models.d.ts.map +1 -1
- package/dist/providers/cerebras.models.js +1 -1
- package/dist/providers/cerebras.models.js.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.d.ts +92 -0
- package/dist/providers/cloudflare-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/cloudflare-ai-gateway.models.js +72 -0
- package/dist/providers/cloudflare-ai-gateway.models.js.map +1 -1
- package/dist/providers/cloudflare-auth.d.ts.map +1 -1
- package/dist/providers/cloudflare-auth.js +9 -6
- package/dist/providers/cloudflare-auth.js.map +1 -1
- package/dist/providers/github-copilot.models.d.ts +93 -6
- package/dist/providers/github-copilot.models.d.ts.map +1 -1
- package/dist/providers/github-copilot.models.js +60 -3
- package/dist/providers/github-copilot.models.js.map +1 -1
- package/dist/providers/openai-codex.models.d.ts +18 -0
- package/dist/providers/openai-codex.models.d.ts.map +1 -1
- package/dist/providers/openai-codex.models.js +6 -0
- package/dist/providers/openai-codex.models.js.map +1 -1
- package/dist/providers/openai.models.d.ts +38 -0
- package/dist/providers/openai.models.d.ts.map +1 -1
- package/dist/providers/openai.models.js +24 -0
- package/dist/providers/openai.models.js.map +1 -1
- package/dist/providers/opencode.models.d.ts +123 -0
- package/dist/providers/opencode.models.d.ts.map +1 -1
- package/dist/providers/opencode.models.js +74 -1
- package/dist/providers/opencode.models.js.map +1 -1
- package/dist/providers/openrouter.models.d.ts +28 -43
- package/dist/providers/openrouter.models.d.ts.map +1 -1
- package/dist/providers/openrouter.models.js +92 -109
- package/dist/providers/openrouter.models.js.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.d.ts +7 -109
- package/dist/providers/vercel-ai-gateway.models.d.ts.map +1 -1
- package/dist/providers/vercel-ai-gateway.models.js +34 -136
- package/dist/providers/vercel-ai-gateway.models.js.map +1 -1
- package/dist/types.d.ts +25 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/deferred-tools.d.ts +9 -0
- package/dist/utils/deferred-tools.d.ts.map +1 -0
- package/dist/utils/deferred-tools.js +36 -0
- package/dist/utils/deferred-tools.js.map +1 -0
- package/dist/utils/estimate.d.ts.map +1 -1
- package/dist/utils/estimate.js +18 -5
- package/dist/utils/estimate.js.map +1 -1
- package/dist/utils/oauth/index.d.ts +1 -0
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +9 -0
- package/dist/utils/oauth/index.js.map +1 -1
- package/dist/utils/oauth/radius.d.ts +39 -0
- package/dist/utils/oauth/radius.d.ts.map +1 -0
- package/dist/utils/oauth/radius.js +415 -0
- package/dist/utils/oauth/radius.js.map +1 -0
- package/package.json +1 -1
|
@@ -25,6 +25,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
25
25
|
api: "openai-codex-responses",
|
|
26
26
|
provider: "openai-codex",
|
|
27
27
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
28
|
+
compat: { "supportsToolSearch": true },
|
|
28
29
|
reasoning: true,
|
|
29
30
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
30
31
|
input: ["text", "image"],
|
|
@@ -44,6 +45,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
44
45
|
api: "openai-codex-responses",
|
|
45
46
|
provider: "openai-codex",
|
|
46
47
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
48
|
+
compat: { "supportsToolSearch": true },
|
|
47
49
|
reasoning: true,
|
|
48
50
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
49
51
|
input: ["text", "image"],
|
|
@@ -62,6 +64,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
62
64
|
api: "openai-codex-responses",
|
|
63
65
|
provider: "openai-codex",
|
|
64
66
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
67
|
+
compat: { "supportsToolSearch": true },
|
|
65
68
|
reasoning: true,
|
|
66
69
|
thinkingLevelMap: { "xhigh": "xhigh", "minimal": "low" },
|
|
67
70
|
input: ["text", "image"],
|
|
@@ -81,6 +84,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
81
84
|
api: "openai-codex-responses",
|
|
82
85
|
provider: "openai-codex",
|
|
83
86
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
87
|
+
compat: { "supportsToolSearch": true },
|
|
84
88
|
reasoning: true,
|
|
85
89
|
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
86
90
|
input: ["text", "image"],
|
|
@@ -100,6 +104,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
100
104
|
api: "openai-codex-responses",
|
|
101
105
|
provider: "openai-codex",
|
|
102
106
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
107
|
+
compat: { "supportsToolSearch": true },
|
|
103
108
|
reasoning: true,
|
|
104
109
|
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
105
110
|
input: ["text", "image"],
|
|
@@ -119,6 +124,7 @@ export const OPENAI_CODEX_MODELS = {
|
|
|
119
124
|
api: "openai-codex-responses",
|
|
120
125
|
provider: "openai-codex",
|
|
121
126
|
baseUrl: "https://chatgpt.com/backend-api",
|
|
127
|
+
compat: { "supportsToolSearch": true },
|
|
122
128
|
reasoning: true,
|
|
123
129
|
thinkingLevelMap: { "xhigh": "xhigh", "max": "max", "minimal": "low" },
|
|
124
130
|
input: ["text", "image"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai-codex.models.js","sourceRoot":"","sources":["../../src/providers/openai-codex.models.ts"],"names":[],"mappings":"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","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENAI_CODEX_MODELS = {\n\t\"gpt-5.3-codex-spark\": {\n\t\tid: \"gpt-5.3-codex-spark\",\n\t\tname: \"GPT-5.3 Codex Spark\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 mini\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":2,\"output\":9,\"cacheRead\":0.2,\"cacheWrite\":2.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":12.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":6.25}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"openai-codex.models.js","sourceRoot":"","sources":["../../src/providers/openai-codex.models.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,iEAAiE;AAIjE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,qBAAqB,EAAE;QACtB,EAAE,EAAE,qBAAqB;QACzB,IAAI,EAAE,qBAAqB;QAC3B,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,CAAC;QACf,IAAI,EAAE;YACL,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,SAAS,EAAE;QACV,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,CAAC;YACb,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,CAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,WAAW,EAAC,GAAG,EAAC,YAAY,EAAC,CAAC,EAAC,CAAC;SAC3F;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,cAAc,EAAE;QACf,EAAE,EAAE,cAAc;QAClB,IAAI,EAAE,cAAc;QACpB,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,GAAG;YACX,SAAS,EAAE,KAAK;YAChB,UAAU,EAAE,CAAC;SACb;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,SAAS,EAAE;QACV,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC;QACnD,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,CAAC;YACb,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,WAAW,EAAC,CAAC,EAAC,YAAY,EAAC,CAAC,EAAC,CAAC;SACxF;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,cAAc,EAAE;QACf,EAAE,EAAE,cAAc;QAClB,IAAI,EAAE,cAAc;QACpB,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC;QAC/D,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;YACT,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,CAAC,EAAC,QAAQ,EAAC,CAAC,EAAC,WAAW,EAAC,GAAG,EAAC,YAAY,EAAC,GAAG,EAAC,CAAC;SAC1F;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,aAAa,EAAE;QACd,EAAE,EAAE,aAAa;QACjB,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC;QAC/D,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,IAAI;YAChB,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAC,WAAW,EAAC,CAAC,EAAC,YAAY,EAAC,IAAI,EAAC,CAAC;SAC3F;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;IAC3C,eAAe,EAAE;QAChB,EAAE,EAAE,eAAe;QACnB,IAAI,EAAE,eAAe;QACrB,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,cAAc;QACxB,OAAO,EAAE,iCAAiC;QAC1C,MAAM,EAAE,EAAC,oBAAoB,EAAC,IAAI,EAAC;QACnC,SAAS,EAAE,IAAI;QACf,gBAAgB,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC;QAC/D,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QACxB,IAAI,EAAE;YACL,KAAK,EAAE,GAAG;YACV,MAAM,EAAE,EAAE;YACV,SAAS,EAAE,IAAI;YACf,UAAU,EAAE,KAAK;YACjB,KAAK,EAAE,CAAC,EAAC,kBAAkB,EAAC,MAAM,EAAC,OAAO,EAAC,CAAC,EAAC,QAAQ,EAAC,IAAI,EAAC,WAAW,EAAC,GAAG,EAAC,YAAY,EAAC,IAAI,EAAC,CAAC;SAC9F;QACD,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,MAAM;KACyB;CAClC,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENAI_CODEX_MODELS = {\n\t\"gpt-5.3-codex-spark\": {\n\t\tid: \"gpt-5.3-codex-spark\",\n\t\tname: \"GPT-5.3 Codex Spark\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 mini\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":2,\"output\":9,\"cacheRead\":0.2,\"cacheWrite\":2.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":12.5}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-codex-responses\",\n\t\tprovider: \"openai-codex\",\n\t\tbaseUrl: \"https://chatgpt.com/backend-api\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"xhigh\":\"xhigh\",\"max\":\"max\",\"minimal\":\"low\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":6.25}],\n\t\t},\n\t\tcontextWindow: 372000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-codex-responses\">,\n} as const;\n"]}
|
|
@@ -542,6 +542,9 @@ export declare const OPENAI_MODELS: {
|
|
|
542
542
|
api: "openai-responses";
|
|
543
543
|
provider: string;
|
|
544
544
|
baseUrl: string;
|
|
545
|
+
compat: {
|
|
546
|
+
supportsToolSearch: true;
|
|
547
|
+
};
|
|
545
548
|
reasoning: true;
|
|
546
549
|
thinkingLevelMap: {
|
|
547
550
|
off: string;
|
|
@@ -570,6 +573,9 @@ export declare const OPENAI_MODELS: {
|
|
|
570
573
|
api: "openai-responses";
|
|
571
574
|
provider: string;
|
|
572
575
|
baseUrl: string;
|
|
576
|
+
compat: {
|
|
577
|
+
supportsToolSearch: true;
|
|
578
|
+
};
|
|
573
579
|
reasoning: true;
|
|
574
580
|
thinkingLevelMap: {
|
|
575
581
|
off: string;
|
|
@@ -612,6 +618,9 @@ export declare const OPENAI_MODELS: {
|
|
|
612
618
|
api: "openai-responses";
|
|
613
619
|
provider: string;
|
|
614
620
|
baseUrl: string;
|
|
621
|
+
compat: {
|
|
622
|
+
supportsToolSearch: true;
|
|
623
|
+
};
|
|
615
624
|
reasoning: true;
|
|
616
625
|
thinkingLevelMap: {
|
|
617
626
|
off: null;
|
|
@@ -640,6 +649,9 @@ export declare const OPENAI_MODELS: {
|
|
|
640
649
|
api: "openai-responses";
|
|
641
650
|
provider: string;
|
|
642
651
|
baseUrl: string;
|
|
652
|
+
compat: {
|
|
653
|
+
supportsToolSearch: true;
|
|
654
|
+
};
|
|
643
655
|
reasoning: true;
|
|
644
656
|
thinkingLevelMap: {
|
|
645
657
|
off: string;
|
|
@@ -699,6 +711,9 @@ export declare const OPENAI_MODELS: {
|
|
|
699
711
|
api: "openai-responses";
|
|
700
712
|
provider: string;
|
|
701
713
|
baseUrl: string;
|
|
714
|
+
compat: {
|
|
715
|
+
supportsToolSearch: true;
|
|
716
|
+
};
|
|
702
717
|
reasoning: true;
|
|
703
718
|
thinkingLevelMap: {
|
|
704
719
|
off: string;
|
|
@@ -728,6 +743,9 @@ export declare const OPENAI_MODELS: {
|
|
|
728
743
|
api: "openai-responses";
|
|
729
744
|
provider: string;
|
|
730
745
|
baseUrl: string;
|
|
746
|
+
compat: {
|
|
747
|
+
supportsToolSearch: true;
|
|
748
|
+
};
|
|
731
749
|
reasoning: true;
|
|
732
750
|
thinkingLevelMap: {
|
|
733
751
|
off: string;
|
|
@@ -757,6 +775,9 @@ export declare const OPENAI_MODELS: {
|
|
|
757
775
|
api: "openai-responses";
|
|
758
776
|
provider: string;
|
|
759
777
|
baseUrl: string;
|
|
778
|
+
compat: {
|
|
779
|
+
supportsToolSearch: true;
|
|
780
|
+
};
|
|
760
781
|
reasoning: true;
|
|
761
782
|
thinkingLevelMap: {
|
|
762
783
|
off: string;
|
|
@@ -780,6 +801,23 @@ export declare const OPENAI_MODELS: {
|
|
|
780
801
|
contextWindow: number;
|
|
781
802
|
maxTokens: number;
|
|
782
803
|
};
|
|
804
|
+
readonly "gpt-realtime-2.1": {
|
|
805
|
+
id: string;
|
|
806
|
+
name: string;
|
|
807
|
+
api: "openai-responses";
|
|
808
|
+
provider: string;
|
|
809
|
+
baseUrl: string;
|
|
810
|
+
reasoning: true;
|
|
811
|
+
input: ("image" | "text")[];
|
|
812
|
+
cost: {
|
|
813
|
+
input: number;
|
|
814
|
+
output: number;
|
|
815
|
+
cacheRead: number;
|
|
816
|
+
cacheWrite: number;
|
|
817
|
+
};
|
|
818
|
+
contextWindow: number;
|
|
819
|
+
maxTokens: number;
|
|
820
|
+
};
|
|
783
821
|
readonly o1: {
|
|
784
822
|
id: string;
|
|
785
823
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.models.d.ts","sourceRoot":"","sources":["../../src/providers/openai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgyBhB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENAI_MODELS = {\n\t\"gpt-4\": {\n\t\tid: \"gpt-4\",\n\t\tname: \"GPT-4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 60,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 8192,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4-turbo\": {\n\t\tid: \"gpt-4-turbo\",\n\t\tname: \"GPT-4 Turbo\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1\": {\n\t\tid: \"gpt-4.1\",\n\t\tname: \"GPT-4.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1-mini\": {\n\t\tid: \"gpt-4.1-mini\",\n\t\tname: \"GPT-4.1 mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.4,\n\t\t\toutput: 1.6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1-nano\": {\n\t\tid: \"gpt-4.1-nano\",\n\t\tname: \"GPT-4.1 nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.1,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o\": {\n\t\tid: \"gpt-4o\",\n\t\tname: \"GPT-4o\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-05-13\": {\n\t\tid: \"gpt-4o-2024-05-13\",\n\t\tname: \"GPT-4o (2024-05-13)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-08-06\": {\n\t\tid: \"gpt-4o-2024-08-06\",\n\t\tname: \"GPT-4o (2024-08-06)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-11-20\": {\n\t\tid: \"gpt-4o-2024-11-20\",\n\t\tname: \"GPT-4o (2024-11-20)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-mini\": {\n\t\tid: \"gpt-4o-mini\",\n\t\tname: \"GPT-4o mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.15,\n\t\t\toutput: 0.6,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5\": {\n\t\tid: \"gpt-5\",\n\t\tname: \"GPT-5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-chat-latest\": {\n\t\tid: \"gpt-5-chat-latest\",\n\t\tname: \"GPT-5 Chat Latest\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-codex\": {\n\t\tid: \"gpt-5-codex\",\n\t\tname: \"GPT-5-Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-mini\": {\n\t\tid: \"gpt-5-mini\",\n\t\tname: \"GPT-5 Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-nano\": {\n\t\tid: \"gpt-5-nano\",\n\t\tname: \"GPT-5 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.05,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.005,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-pro\": {\n\t\tid: \"gpt-5-pro\",\n\t\tname: \"GPT-5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 120,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1\": {\n\t\tid: \"gpt-5.1\",\n\t\tname: \"GPT-5.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-chat-latest\": {\n\t\tid: \"gpt-5.1-chat-latest\",\n\t\tname: \"GPT-5.1 Chat\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex\": {\n\t\tid: \"gpt-5.1-codex\",\n\t\tname: \"GPT-5.1 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-max\": {\n\t\tid: \"gpt-5.1-codex-max\",\n\t\tname: \"GPT-5.1 Codex Max\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-mini\": {\n\t\tid: \"gpt-5.1-codex-mini\",\n\t\tname: \"GPT-5.1 Codex mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2\": {\n\t\tid: \"gpt-5.2\",\n\t\tname: \"GPT-5.2\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-chat-latest\": {\n\t\tid: \"gpt-5.2-chat-latest\",\n\t\tname: \"GPT-5.2 Chat\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-codex\": {\n\t\tid: \"gpt-5.2-codex\",\n\t\tname: \"GPT-5.2 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-pro\": {\n\t\tid: \"gpt-5.2-pro\",\n\t\tname: \"GPT-5.2 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 21,\n\t\t\toutput: 168,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-chat-latest\": {\n\t\tid: \"gpt-5.3-chat-latest\",\n\t\tname: \"GPT-5.3 Chat (latest)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex\": {\n\t\tid: \"gpt-5.3-codex\",\n\t\tname: \"GPT-5.3 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex-spark\": {\n\t\tid: \"gpt-5.3-codex-spark\",\n\t\tname: \"GPT-5.3 Codex Spark\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-nano\": {\n\t\tid: \"gpt-5.4-nano\",\n\t\tname: \"GPT-5.4 nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-pro\": {\n\t\tid: \"gpt-5.4-pro\",\n\t\tname: \"GPT-5.4 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":60,\"output\":270,\"cacheRead\":0,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"minimal\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5-pro\": {\n\t\tid: \"gpt-5.5-pro\",\n\t\tname: \"GPT-5.5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"minimal\":null,\"low\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":60,\"output\":270,\"cacheRead\":0,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":2,\"output\":9,\"cacheRead\":0.2,\"cacheWrite\":2.5}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":12.5}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":6.25}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o1\": {\n\t\tid: \"o1\",\n\t\tname: \"o1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 60,\n\t\t\tcacheRead: 7.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o1-pro\": {\n\t\tid: \"o1-pro\",\n\t\tname: \"o1-pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 150,\n\t\t\toutput: 600,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3\": {\n\t\tid: \"o3\",\n\t\tname: \"o3\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-deep-research\": {\n\t\tid: \"o3-deep-research\",\n\t\tname: \"o3-deep-research\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 40,\n\t\t\tcacheRead: 2.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-mini\": {\n\t\tid: \"o3-mini\",\n\t\tname: \"o3-mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.1,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.55,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-pro\": {\n\t\tid: \"o3-pro\",\n\t\tname: \"o3-pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 20,\n\t\t\toutput: 80,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o4-mini\": {\n\t\tid: \"o4-mini\",\n\t\tname: \"o4-mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.1,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.275,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o4-mini-deep-research\": {\n\t\tid: \"o4-mini-deep-research\",\n\t\tname: \"o4-mini-deep-research\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n} as const;\n"]}
|
|
1
|
+
{"version":3,"file":"openai.models.d.ts","sourceRoot":"","sources":["../../src/providers/openai.models.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwzBhB,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-models.ts\n// Do not edit manually - run 'npm run generate-models' to update\n\nimport type { Model } from \"../types.ts\";\n\nexport const OPENAI_MODELS = {\n\t\"gpt-4\": {\n\t\tid: \"gpt-4\",\n\t\tname: \"GPT-4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 60,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 8192,\n\t\tmaxTokens: 8192,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4-turbo\": {\n\t\tid: \"gpt-4-turbo\",\n\t\tname: \"GPT-4 Turbo\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1\": {\n\t\tid: \"gpt-4.1\",\n\t\tname: \"GPT-4.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1-mini\": {\n\t\tid: \"gpt-4.1-mini\",\n\t\tname: \"GPT-4.1 mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.4,\n\t\t\toutput: 1.6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4.1-nano\": {\n\t\tid: \"gpt-4.1-nano\",\n\t\tname: \"GPT-4.1 nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.1,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 1047576,\n\t\tmaxTokens: 32768,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o\": {\n\t\tid: \"gpt-4o\",\n\t\tname: \"GPT-4o\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-05-13\": {\n\t\tid: \"gpt-4o-2024-05-13\",\n\t\tname: \"GPT-4o (2024-05-13)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 4096,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-08-06\": {\n\t\tid: \"gpt-4o-2024-08-06\",\n\t\tname: \"GPT-4o (2024-08-06)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-2024-11-20\": {\n\t\tid: \"gpt-4o-2024-11-20\",\n\t\tname: \"GPT-4o (2024-11-20)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 1.25,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-4o-mini\": {\n\t\tid: \"gpt-4o-mini\",\n\t\tname: \"GPT-4o mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.15,\n\t\t\toutput: 0.6,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5\": {\n\t\tid: \"gpt-5\",\n\t\tname: \"GPT-5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-chat-latest\": {\n\t\tid: \"gpt-5-chat-latest\",\n\t\tname: \"GPT-5 Chat Latest\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-codex\": {\n\t\tid: \"gpt-5-codex\",\n\t\tname: \"GPT-5-Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-mini\": {\n\t\tid: \"gpt-5-mini\",\n\t\tname: \"GPT-5 Mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-nano\": {\n\t\tid: \"gpt-5-nano\",\n\t\tname: \"GPT-5 Nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.05,\n\t\t\toutput: 0.4,\n\t\t\tcacheRead: 0.005,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5-pro\": {\n\t\tid: \"gpt-5-pro\",\n\t\tname: \"GPT-5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 120,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1\": {\n\t\tid: \"gpt-5.1\",\n\t\tname: \"GPT-5.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-chat-latest\": {\n\t\tid: \"gpt-5.1-chat-latest\",\n\t\tname: \"GPT-5.1 Chat\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex\": {\n\t\tid: \"gpt-5.1-codex\",\n\t\tname: \"GPT-5.1 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-max\": {\n\t\tid: \"gpt-5.1-codex-max\",\n\t\tname: \"GPT-5.1 Codex Max\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.25,\n\t\t\toutput: 10,\n\t\t\tcacheRead: 0.125,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.1-codex-mini\": {\n\t\tid: \"gpt-5.1-codex-mini\",\n\t\tname: \"GPT-5.1 Codex mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.25,\n\t\t\toutput: 2,\n\t\t\tcacheRead: 0.025,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2\": {\n\t\tid: \"gpt-5.2\",\n\t\tname: \"GPT-5.2\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-chat-latest\": {\n\t\tid: \"gpt-5.2-chat-latest\",\n\t\tname: \"GPT-5.2 Chat\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-codex\": {\n\t\tid: \"gpt-5.2-codex\",\n\t\tname: \"GPT-5.2 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.2-pro\": {\n\t\tid: \"gpt-5.2-pro\",\n\t\tname: \"GPT-5.2 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 21,\n\t\t\toutput: 168,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-chat-latest\": {\n\t\tid: \"gpt-5.3-chat-latest\",\n\t\tname: \"GPT-5.3 Chat (latest)\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: false,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 16384,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex\": {\n\t\tid: \"gpt-5.3-codex\",\n\t\tname: \"GPT-5.3 Codex\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.3-codex-spark\": {\n\t\tid: \"gpt-5.3-codex-spark\",\n\t\tname: \"GPT-5.3 Codex Spark\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.75,\n\t\t\toutput: 14,\n\t\t\tcacheRead: 0.175,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4\": {\n\t\tid: \"gpt-5.4\",\n\t\tname: \"GPT-5.4\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-mini\": {\n\t\tid: \"gpt-5.4-mini\",\n\t\tname: \"GPT-5.4 mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.75,\n\t\t\toutput: 4.5,\n\t\t\tcacheRead: 0.075,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-nano\": {\n\t\tid: \"gpt-5.4-nano\",\n\t\tname: \"GPT-5.4 nano\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 0.2,\n\t\t\toutput: 1.25,\n\t\t\tcacheRead: 0.02,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 400000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.4-pro\": {\n\t\tid: \"gpt-5.4-pro\",\n\t\tname: \"GPT-5.4 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":60,\"output\":270,\"cacheRead\":0,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5\": {\n\t\tid: \"gpt-5.5\",\n\t\tname: \"GPT-5.5\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"minimal\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.5-pro\": {\n\t\tid: \"gpt-5.5-pro\",\n\t\tname: \"GPT-5.5 Pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":null,\"xhigh\":\"xhigh\",\"minimal\":null,\"low\":null},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 30,\n\t\t\toutput: 180,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":60,\"output\":270,\"cacheRead\":0,\"cacheWrite\":0}],\n\t\t},\n\t\tcontextWindow: 1050000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-luna\": {\n\t\tid: \"gpt-5.6-luna\",\n\t\tname: \"GPT-5.6 Luna\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1,\n\t\t\toutput: 6,\n\t\t\tcacheRead: 0.1,\n\t\t\tcacheWrite: 1.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":2,\"output\":9,\"cacheRead\":0.2,\"cacheWrite\":2.5}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-sol\": {\n\t\tid: \"gpt-5.6-sol\",\n\t\tname: \"GPT-5.6 Sol\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 5,\n\t\t\toutput: 30,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 6.25,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":10,\"output\":45,\"cacheRead\":1,\"cacheWrite\":12.5}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-5.6-terra\": {\n\t\tid: \"gpt-5.6-terra\",\n\t\tname: \"GPT-5.6 Terra\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\tcompat: {\"supportsToolSearch\":true},\n\t\treasoning: true,\n\t\tthinkingLevelMap: {\"off\":\"none\",\"xhigh\":\"xhigh\",\"max\":\"max\"},\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2.5,\n\t\t\toutput: 15,\n\t\t\tcacheRead: 0.25,\n\t\t\tcacheWrite: 3.125,\n\t\t\ttiers: [{\"inputTokensAbove\":272000,\"input\":5,\"output\":22.5,\"cacheRead\":0.5,\"cacheWrite\":6.25}],\n\t\t},\n\t\tcontextWindow: 272000,\n\t\tmaxTokens: 128000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"gpt-realtime-2.1\": {\n\t\tid: \"gpt-realtime-2.1\",\n\t\tname: \"GPT-Realtime-2.1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 4,\n\t\t\toutput: 24,\n\t\t\tcacheRead: 0.4,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 128000,\n\t\tmaxTokens: 32000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o1\": {\n\t\tid: \"o1\",\n\t\tname: \"o1\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 15,\n\t\t\toutput: 60,\n\t\t\tcacheRead: 7.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o1-pro\": {\n\t\tid: \"o1-pro\",\n\t\tname: \"o1-pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 150,\n\t\t\toutput: 600,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3\": {\n\t\tid: \"o3\",\n\t\tname: \"o3\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-deep-research\": {\n\t\tid: \"o3-deep-research\",\n\t\tname: \"o3-deep-research\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 10,\n\t\t\toutput: 40,\n\t\t\tcacheRead: 2.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-mini\": {\n\t\tid: \"o3-mini\",\n\t\tname: \"o3-mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\"],\n\t\tcost: {\n\t\t\tinput: 1.1,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.55,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o3-pro\": {\n\t\tid: \"o3-pro\",\n\t\tname: \"o3-pro\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 20,\n\t\t\toutput: 80,\n\t\t\tcacheRead: 0,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o4-mini\": {\n\t\tid: \"o4-mini\",\n\t\tname: \"o4-mini\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 1.1,\n\t\t\toutput: 4.4,\n\t\t\tcacheRead: 0.275,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n\t\"o4-mini-deep-research\": {\n\t\tid: \"o4-mini-deep-research\",\n\t\tname: \"o4-mini-deep-research\",\n\t\tapi: \"openai-responses\",\n\t\tprovider: \"openai\",\n\t\tbaseUrl: \"https://api.openai.com/v1\",\n\t\treasoning: true,\n\t\tinput: [\"text\", \"image\"],\n\t\tcost: {\n\t\t\tinput: 2,\n\t\t\toutput: 8,\n\t\t\tcacheRead: 0.5,\n\t\t\tcacheWrite: 0,\n\t\t},\n\t\tcontextWindow: 200000,\n\t\tmaxTokens: 100000,\n\t} satisfies Model<\"openai-responses\">,\n} as const;\n"]}
|
|
@@ -501,6 +501,7 @@ export const OPENAI_MODELS = {
|
|
|
501
501
|
api: "openai-responses",
|
|
502
502
|
provider: "openai",
|
|
503
503
|
baseUrl: "https://api.openai.com/v1",
|
|
504
|
+
compat: { "supportsToolSearch": true },
|
|
504
505
|
reasoning: true,
|
|
505
506
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
506
507
|
input: ["text", "image"],
|
|
@@ -520,6 +521,7 @@ export const OPENAI_MODELS = {
|
|
|
520
521
|
api: "openai-responses",
|
|
521
522
|
provider: "openai",
|
|
522
523
|
baseUrl: "https://api.openai.com/v1",
|
|
524
|
+
compat: { "supportsToolSearch": true },
|
|
523
525
|
reasoning: true,
|
|
524
526
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh" },
|
|
525
527
|
input: ["text", "image"],
|
|
@@ -556,6 +558,7 @@ export const OPENAI_MODELS = {
|
|
|
556
558
|
api: "openai-responses",
|
|
557
559
|
provider: "openai",
|
|
558
560
|
baseUrl: "https://api.openai.com/v1",
|
|
561
|
+
compat: { "supportsToolSearch": true },
|
|
559
562
|
reasoning: true,
|
|
560
563
|
thinkingLevelMap: { "off": null, "xhigh": "xhigh" },
|
|
561
564
|
input: ["text", "image"],
|
|
@@ -575,6 +578,7 @@ export const OPENAI_MODELS = {
|
|
|
575
578
|
api: "openai-responses",
|
|
576
579
|
provider: "openai",
|
|
577
580
|
baseUrl: "https://api.openai.com/v1",
|
|
581
|
+
compat: { "supportsToolSearch": true },
|
|
578
582
|
reasoning: true,
|
|
579
583
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "minimal": null },
|
|
580
584
|
input: ["text", "image"],
|
|
@@ -613,6 +617,7 @@ export const OPENAI_MODELS = {
|
|
|
613
617
|
api: "openai-responses",
|
|
614
618
|
provider: "openai",
|
|
615
619
|
baseUrl: "https://api.openai.com/v1",
|
|
620
|
+
compat: { "supportsToolSearch": true },
|
|
616
621
|
reasoning: true,
|
|
617
622
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
618
623
|
input: ["text", "image"],
|
|
@@ -632,6 +637,7 @@ export const OPENAI_MODELS = {
|
|
|
632
637
|
api: "openai-responses",
|
|
633
638
|
provider: "openai",
|
|
634
639
|
baseUrl: "https://api.openai.com/v1",
|
|
640
|
+
compat: { "supportsToolSearch": true },
|
|
635
641
|
reasoning: true,
|
|
636
642
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
637
643
|
input: ["text", "image"],
|
|
@@ -651,6 +657,7 @@ export const OPENAI_MODELS = {
|
|
|
651
657
|
api: "openai-responses",
|
|
652
658
|
provider: "openai",
|
|
653
659
|
baseUrl: "https://api.openai.com/v1",
|
|
660
|
+
compat: { "supportsToolSearch": true },
|
|
654
661
|
reasoning: true,
|
|
655
662
|
thinkingLevelMap: { "off": "none", "xhigh": "xhigh", "max": "max" },
|
|
656
663
|
input: ["text", "image"],
|
|
@@ -664,6 +671,23 @@ export const OPENAI_MODELS = {
|
|
|
664
671
|
contextWindow: 272000,
|
|
665
672
|
maxTokens: 128000,
|
|
666
673
|
},
|
|
674
|
+
"gpt-realtime-2.1": {
|
|
675
|
+
id: "gpt-realtime-2.1",
|
|
676
|
+
name: "GPT-Realtime-2.1",
|
|
677
|
+
api: "openai-responses",
|
|
678
|
+
provider: "openai",
|
|
679
|
+
baseUrl: "https://api.openai.com/v1",
|
|
680
|
+
reasoning: true,
|
|
681
|
+
input: ["text", "image"],
|
|
682
|
+
cost: {
|
|
683
|
+
input: 4,
|
|
684
|
+
output: 24,
|
|
685
|
+
cacheRead: 0.4,
|
|
686
|
+
cacheWrite: 0,
|
|
687
|
+
},
|
|
688
|
+
contextWindow: 128000,
|
|
689
|
+
maxTokens: 32000,
|
|
690
|
+
},
|
|
667
691
|
"o1": {
|
|
668
692
|
id: "o1",
|
|
669
693
|
name: "o1",
|