diff --git a/frontend/src/components/keys/UseKeyModal.vue b/frontend/src/components/keys/UseKeyModal.vue index fc97fe90..449c7a7b 100644 --- a/frontend/src/components/keys/UseKeyModal.vue +++ b/frontend/src/components/keys/UseKeyModal.vue @@ -534,8 +534,104 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin } } const openaiModels = { + 'gpt-5-codex': { + name: 'GPT-5 Codex', + limit: { + context: 400000, + output: 128000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {} + } + }, + 'gpt-5.1-codex': { + name: 'GPT-5.1 Codex', + limit: { + context: 400000, + output: 128000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {} + } + }, + 'gpt-5.1-codex-max': { + name: 'GPT-5.1 Codex Max', + limit: { + context: 400000, + output: 128000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {} + } + }, + 'gpt-5.1-codex-mini': { + name: 'GPT-5.1 Codex Mini', + limit: { + context: 400000, + output: 128000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {} + } + }, + 'gpt-5.2': { + name: 'GPT-5.2', + limit: { + context: 400000, + output: 128000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {}, + xhigh: {} + } + }, 'gpt-5.3-codex-spark': { name: 'GPT-5.3 Codex Spark', + limit: { + context: 128000, + output: 32000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {}, + xhigh: {} + } + }, + 'gpt-5.3-codex': { + name: 'GPT-5.3 Codex', + limit: { + context: 400000, + output: 128000 + }, options: { store: false }, @@ -548,6 +644,10 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin }, 'gpt-5.2-codex': { name: 'GPT-5.2 Codex', + limit: { + context: 400000, + output: 128000 + }, options: { store: false }, @@ -557,6 +657,21 @@ function generateOpenCodeConfig(platform: string, baseUrl: string, apiKey: strin high: {}, xhigh: {} } + }, + 'codex-mini-latest': { + name: 'Codex Mini', + limit: { + context: 200000, + output: 100000 + }, + options: { + store: false + }, + variants: { + low: {}, + medium: {}, + high: {} + } } } const geminiModels = {