Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(models): support GPT-6.1 Sol with complete metadata and Codex 0.159 (#5254)

Chris Zhang543bb528e0a7
diff --git a/packages/model-providers/catalog/model-registry.json b/packages/model-providers/catalog/model-registry.json
index 809297f78f..9beecb5aa8 100644
--- a/packages/model-providers/catalog/model-registry.json
+++ b/packages/model-providers/catalog/model-registry.json
@@ -1,7 +1,52 @@
{
"schemaVersion": 5,
- "updatedAt": "2026-09-26T12:00:00.005Z",
+ "updatedAt": "2026-09-29T19:00:00.001Z",
"models": [
+ {
+ "id": "openai/gpt-6.1-sol",
+ "name": "GPT-6.1 Sol",
+ "status": "active",
+ "sortOrder": 14,
+ "routes": [
+ {
+ "providerId": "openai",
+ "modelId": "gpt-6.1-sol",
+ "agents": [
+ "claude-code",
+ "codex"
+ ],
+ "defaults": {
+ "supportsFastMode": true
+ },
+ "referencePriceGroup": "global"
+ }
+ ],
+ "nativeApi": "openai-responses",
+ "modelRef": "openai/gpt-6.1-sol",
+ "perAgent": {
+ "codex": {
+ "contextWindow": 272000,
+ "efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max",
+ "ultra"
+ ]
+ },
+ "claude-code": {
+ "contextWindow": 272000,
+ "efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ]
+ }
+ }
+ },
{
"id": "openai/gpt-6-sol",
"name": "GPT-6 Sol",
@@ -2870,6 +2915,135 @@
]
},
"baseModels": [
+ {
+ "id": "openai/gpt-6.1-sol",
+ "aliases": [
+ "gpt-6.1-sol"
+ ],
+ "defaults": {
+ "name": "GPT-6.1 Sol",
+ "group": "gpt",
+ "efforts": [
+ "low",
+ "medium",
+ "high",
+ "xhigh",
+ "max"
+ ],
+ "defaultEffort": "medium",
+ "supportsImageInput": true,
+ "contextWindow": 1050000,
+ "maxOutputTokens": 128000,
+ "mode": "chat",
+ "modalities": {
+ "input": [
+ "text",
+ "image"
+ ],
+ "output": [
+ "text"
+ ]
+ },
+ "officialDocs": "https://developers.openai.com/api/docs/models/gpt-6.1-sol"
+ },
+ "referencePriceGroups": [
+ {
+ "id": "global",
+ "prices": [
+ {
+ "currency": "USD",
+ "variant": "standard",
+ "inputPerMtok": 2,
+ "outputPerMtok": 10,
+ "cacheReadPerMtok": 0.1,
+ "cacheWritePerMtok": 2.5,
+ "maxInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ },
+ {
+ "currency": "USD",
+ "variant": "standard",
+ "inputPerMtok": 4,
+ "outputPerMtok": 15,
+ "cacheReadPerMtok": 0.2,
+ "cacheWritePerMtok": 5,
+ "minInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ },
+ {
+ "currency": "USD",
+ "variant": "fast",
+ "inputPerMtok": 4,
+ "outputPerMtok": 20,
+ "cacheReadPerMtok": 0.2,
+ "cacheWritePerMtok": 5.0,
+ "maxInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ },
+ {
+ "currency": "USD",
+ "variant": "fast",
+ "inputPerMtok": 8,
+ "outputPerMtok": 30,
+ "cacheReadPerMtok": 0.4,
+ "cacheWritePerMtok": 10,
+ "minInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ },
+ {
+ "currency": "USD",
+ "variant": "batch",
+ "inputPerMtok": 1.0,
+ "outputPerMtok": 5.0,
+ "cacheReadPerMtok": 0.05,
+ "cacheWritePerMtok": 1.25,
+ "maxInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ },
+ {
+ "currency": "USD",
+ "variant": "batch",
+ "inputPerMtok": 2.0,
+ "outputPerMtok": 7.5,
+ "cacheReadPerMtok": 0.1,
+ "cacheWritePerMtok": 2.5,
+ "minInputTokens": 272001,
+ "effectiveFrom": "2026-09-29",
+ "source": {
+ "kind": "provider-official",
+ "url": "https://developers.openai.com/api/docs/models/gpt-6.1-sol",
+ "verifiedAt": "2026-09-29"
+ }
+ }
+ ]
+ }
+ ]
+ },
{
"id": "openai/gpt-6-sol",
"aliases": ["gpt-6-sol"],
diff --git a/packages/model-providers/src/__tests__/modelRegistryConsistency.test.ts b/packages/model-providers/src/__tests__/modelRegistryConsistency.test.ts
index 3b0d586df9..9a990bb10b 100644
--- a/packages/model-providers/src/__tests__/modelRegistryConsistency.test.ts
+++ b/packages/model-providers/src/__tests__/modelRegistryConsistency.test.ts
@@ -146,6 +146,7 @@ describe("model registry data consistency", () => {
// These existing Server prices also value historical/explicit long-window
// usage. Their public API bands must not enlarge today's subscription window.
const subscriptionApiReferences = new Set([
+ "openai/gpt-6.1-sol",
"openai/gpt-6-astra",
"openai/gpt-6-sol",
"openai/gpt-6-luna",
diff --git a/tools/codex-package/latest.json b/tools/codex-package/latest.json
index 756ddc95b7..318ca9309f 100644
--- a/tools/codex-package/latest.json
+++ b/tools/codex-package/latest.json
@@ -1,50 +1,50 @@
{
- "version": "0.156.0",
- "tag_name": "rust-v0.156.0",
- "name": "0.156.0",
- "published_at": "2026-09-22T19:51:01Z",
+ "version": "0.159.0",
+ "tag_name": "rust-v0.159.0",
+ "name": "0.159.0",
+ "published_at": "2026-09-29T08:05:42Z",
"layoutVersion": 1,
"variant": "codex",
"runtimeAssets": {
"darwin-arm64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-aarch64-apple-darwin.tar.gz",
- "sha256": "6f7bdad25693f464a146ad6f24d477ad6fbffe07b62556f829ee5d3b04f48f8b",
- "size": 127316185,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-aarch64-apple-darwin.tar.gz",
+ "sha256": "7748d07d7921a67b91d015e9d0f43177c675977e67f955b2f8fb96dc880dd5d7",
+ "size": 129542149,
"target": "aarch64-apple-darwin",
"entrypoint": "bin/codex"
},
"darwin-x64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-x86_64-apple-darwin.tar.gz",
- "sha256": "41ed9b4be611af74149c8fc9bc5f2f217117de368d6725555087b331e19f4d89",
- "size": 138613533,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-x86_64-apple-darwin.tar.gz",
+ "sha256": "ab64d30288454124c7c15abd81672a9dfda7e3e723d76c4cfa6c0aba4b439017",
+ "size": 140741238,
"target": "x86_64-apple-darwin",
"entrypoint": "bin/codex"
},
"linux-x64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-x86_64-unknown-linux-musl.tar.gz",
- "sha256": "e8b744b03adb90b296bf632c8a29167e75ea1b9d2980e49d3dfc6e84f5dba749",
- "size": 145951208,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-x86_64-unknown-linux-musl.tar.gz",
+ "sha256": "35da65d7e8644e28ea0a4d4e3d8c15b40c6b492356d4cf21986c7e341f83a24e",
+ "size": 159953657,
"target": "x86_64-unknown-linux-musl",
"entrypoint": "bin/codex"
},
"linux-arm64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-aarch64-unknown-linux-musl.tar.gz",
- "sha256": "ff07a585b07be3192233efa987cc31164c48954636f583806664afb44bb6b8db",
- "size": 136882554,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-aarch64-unknown-linux-musl.tar.gz",
+ "sha256": "7399d2bf7618cc8d6845a8acdb2078106332861f7f30d36527e8f53208df89da",
+ "size": 150265586,
"target": "aarch64-unknown-linux-musl",
"entrypoint": "bin/codex"
},
"win32-x64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-x86_64-pc-windows-msvc.tar.gz",
- "sha256": "0c17e8d90140168ff23c835d955132e1912eef1ad07be18a0bf5074e4ed137a5",
- "size": 153833183,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-x86_64-pc-windows-msvc.tar.gz",
+ "sha256": "7bf0e9eca0b3b736df349964a1fef2267883f39f124ff467a23c80d227183d13",
+ "size": 156629636,
"target": "x86_64-pc-windows-msvc",
"entrypoint": "bin/codex.exe"
},
"win32-arm64": {
- "url": "https://github.com/openai/codex/releases/download/rust-v0.156.0/codex-package-aarch64-pc-windows-msvc.tar.gz",
- "sha256": "91fa8d3f2996fb87027d51676436f81fc7463a2435b2fd29472162242b2d3ff2",
- "size": 142068354,
+ "url": "https://github.com/openai/codex/releases/download/rust-v0.159.0/codex-package-aarch64-pc-windows-msvc.tar.gz",
+ "sha256": "035357e157dfd72a9ef1d57bccbe88497ca62e91557517dc462c2d505616d36c",
+ "size": 144711778,
"target": "aarch64-pc-windows-msvc",
"entrypoint": "bin/codex.exe"
}