OpenAI Codex 가격: 2026년 CLI 실제 비용
OpenAI Codex CLI is a free, open-source tool — but it sends every prompt to the OpenAI API, which charges per token. One image compression task burned 7,675 tokens: between 3 and 11 cents. The default model, codex-mini-latest, costs $1.50 per million input tokens and $6.00 per million output tokens. Pointing Codex at RunAPI instead cuts those rates by 50%, with no other changes to your workflow.
OpenAI Codex 비용은 얼마인가요?
The Codex CLI itself is free to download and run. The cost comes from API calls: every prompt, file read, and code generation goes to the OpenAI API. The default model is codex-mini-latest, priced at $1.50/1M input tokens and $6.00/1M output tokens through OpenAI directly. A moderate coding session — roughly 8M input and 2M output tokens per month — runs about $24 with OpenAI. The same usage through RunAPI costs $12. RunAPI is OpenAI-compatible, so you change two environment variables and nothing else. Tip: run /compact during long sessions to free up context and stop burning tokens on conversation history.
CLI 자체에는 구독료가 없습니다. 각 코딩 세션 중 소비된 API 토큰에 대해서만 지불합니다.
codex-mini-latest 입력은 OpenAI API를 통해 $1.50/1M 토큰, 출력은 $6.00/1M 토큰입니다.
RunAPI는 동일한 모델을 50% 할인된 가격으로 제공합니다. 환경 변수 두 개를 설정하면 Codex가 자동으로 RunAPI를 통해 라우팅됩니다.
사용한 만큼만 지불합니다. 월정액 없음. 최소 지출 없음. 코딩을 멈추는 순간 청구도 멈춥니다.
토큰으로 계산되는 항목은 무엇인가요?
Every message Codex sends to the API includes your prompt, the full context of files it has read, any tool results, and conversation history. That combined input is tokenized (roughly 750 words per 1,000 tokens). The model's response — edited code, explanations, next steps — counts as output tokens. Both directions are billed separately. Codex caches nothing between sessions, so a fresh session re-reads the same files and bills that context again. One real example from a developer testing image compression — a single 5 MB file task burned 7,675 tokens, or roughly 3 to 11 cents. Not very cheap for one file, but most coding sessions stay well under a dollar each.
codex-mini-latest 가격: OpenAI vs RunAPI
가격은 100만 토큰당 USD 기준입니다. RunAPI 요금은 OpenAI 정가의 50%입니다.
일반적인 한 달 비용은 얼마인가요?
codex-mini-latest 기준, OpenAI $1.50/$6.00, RunAPI $0.75/$3.00(100만 토큰당).