FİYATLANDIRMA REHBERİ

OpenAI Codex Fiyatlandırması: CLI'ın 2026'da Gerçekte Ne Kadara Mal Olduğu

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.

Güncellendi: June 23, 2026 RunAPI Editorial
Bir bakışta

OpenAI Codex ne kadar maliyetlidir?

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.

Codex CLI ücretsizdir

CLI'ın kendisinin abonelik ücreti yoktur. Yalnızca her kodlama oturumu sırasında tüketilen API tokenleri için ödeme yaparsınız.

Doğrudan OpenAI — 1M token başına $1.50 / $6.00

codex-mini-latest girişi OpenAI API üzerinden 1M token başına $1.50, çıkışı ise 1M token başına $6.00 maliyetindedir.

RunAPI — 1M token başına $0.75 / $3.00

RunAPI aynı modeli %50 indirimle sunar. İki ortam değişkeni ayarlayın; Codex otomatik olarak RunAPI üzerinden yönlendirilir.

Aboneliğe takılıp kalmak yok

Yalnızca kullandığınız kadar ödeyin. Aylık koltuk ücreti yok. Minimum harcama yok. Kodlamayı bıraktığınız an faturalar durur.

Faturalandırma nasıl çalışır

Token olarak ne sayılır?

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.

Fiyat karşılaştırması

codex-mini-latest fiyatlandırması: OpenAI vs RunAPI

Fiyatlar milyon token başına USD cinsindendir. RunAPI fiyatları OpenAI liste fiyatlarının %50'sidir.

Aylık maliyet senaryoları

Tipik bir ay ne kadar maliyetlidir?

1M token başına $1.50/$6.00 (OpenAI) ve $0.75/$3.00 (RunAPI) oranında codex-mini-latest'e dayalıdır.

Kurulum rehberi

Codex CLI'ı RunAPI ile nasıl kullanırsınız

1

Codex CLI'ı kurun

2

RunAPI hesabı oluşturun

3

Ortam değişkenlerinizi ayarlayın

4

Codex'i çalıştırın

5

Modeli doğrulayın

SSS

Codex fiyatlandırması hakkında yaygın sorular

İLGİLİ İÇERİKLER

Daha Fazlasını Keşfet

İki ortam değişkeni ayarlayın; her Codex oturumu OpenAI fiyatlarının %50'sinde RunAPI üzerinden çalışır. Abonelik yok, minimum harcama yok — yalnızca kullanılan tokenlar için ödeme yaparsınız.