mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
feat(codex): add codex-mini-latest model (fast reasoning, tuned from o4-mini) with pricing and caps
This commit is contained in:
parent
3922396bc4
commit
6d2fc2211d
1 changed files with 18 additions and 0 deletions
|
|
@ -26,4 +26,22 @@ export const openAiNativeCodexModels = {
|
|||
"GPT-5 Codex via ChatGPT Responses (Codex). A GPT‑5 variant exposed to the client with coding‑oriented defaults.",
|
||||
supportsTemperature: false,
|
||||
},
|
||||
"codex-mini-latest": {
|
||||
// Based on OpenAI's Codex CLI page (fast reasoning model tuned from o4-mini)
|
||||
maxTokens: 100000,
|
||||
contextWindow: 200000,
|
||||
supportsImages: true, // input images supported
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true,
|
||||
reasoningEffort: "medium",
|
||||
description:
|
||||
"codex-mini-latest via ChatGPT Responses (Codex). Fast reasoning model optimized for the Codex CLI (fine‑tuned o4‑mini).",
|
||||
supportsTemperature: false,
|
||||
// Pricing per 1M tokens
|
||||
inputPrice: 1.5,
|
||||
outputPrice: 6.0,
|
||||
// Prompt cache pricing
|
||||
cacheWritesPrice: 1.5,
|
||||
cacheReadsPrice: 0.375,
|
||||
},
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue