← All models

codex-mini-latest

Run codex-mini-latest through Flow AI's OpenAI-compatible API. We route to the cheapest provider hosting it and fail over automatically — you pay the live clearing price plus 2.5%.

Input $/M
Output $/M
vs published
40% off

Use it

python
from openai import OpenAI
client = OpenAI(base_url="https://api.flowaiapi.com/v1", api_key="fa-...")
r = client.chat.completions.create(
    model="codex-mini-latest",          # or "auto" to let Flow AI pick the cheapest capable model
    messages=[{"role": "user", "content": "..."}],
)

How Flow AI makes codex-mini-latest cheaper

Flow AI runs an open market for inference: it clears each request at the lowest price across every provider hosting codex-mini-latest — direct APIs, inference providers, flat-rate subscriptions, and self-hosted nodes — and bills you the true (prompt-cache-aware) cost plus a flat 2.5%. The published rate is always the ceiling. See the docs or all models.

codex-mini-latest API — the cheapest way to run codex-mini-latest | Flow AI