Codex Mini

codex-mini-latest · OpenAI

Only supports v1/responses API calls.https://docs.aihubmix.com/en/api/Responses-API codex-mini-latest is a fine-tuned version of o4-mini specifically for use in Codex CLI. For direct use in the API, we recommend starting with gpt-4.1.

API Pricing

Input$1.5 / 1M tokens
Output$6 / 1M tokens
Cache read$0.375 / 1M tokens

Specifications

Modalitiestext, image

Frequently asked questions

What is Codex Mini?

Only supports v1/responses API calls.https://docs.aihubmix.com/en/api/Responses-API codex-mini-latest is a fine-tuned version of o4-mini specifically for use in Codex CLI. For direct use in the API, we recommend starting with gpt-4.1.

How much does Codex Mini cost?

On AIHubMix, Codex Mini costs $1.5 per million input tokens and $6 per million output tokens. Cached input reads are billed at $0.375 per million tokens.

What modalities does Codex Mini support?

Codex Mini accepts text and image input.

How do I call Codex Mini via API?

Codex Mini is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to codex-mini-latest — no other code changes needed.

Who created Codex Mini?

Codex Mini is developed by OpenAI. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from OpenAI

See all OpenAI models →

GPT 6.1 Sol

by OpenAI

GPT-6.1 Sol is OpenAI's latest model in the GPT-6 series, specifically designed for…

$2/1M in · $10/1M out
1,050,000 tokens context

GPT 6 Luna

by OpenAI

GPT-6 Luna is OpenAI's latest and most efficient model, designed for focused…

$0.1/1M in · $0.5/1M out
1,050,000 tokens context

GPT 6 Sol

by OpenAI

GPT-6 Sol is OpenAI's latest model in the GPT-6 series, specifically designed for complex…

$2/1M in · $10/1M out
1,050,000 tokens context

GPT 6 Astra

by OpenAI

GPT-6 Astra is OpenAI's newest and most intelligent model, with industry-leading…

$10/1M in · $50/1M out
1,050,000 tokens context

GPT Live Transcribe

by OpenAI

OpenAI's latest realtime speech-to-text model, built for low-latency use — it streams…

GPT Realtime 2.1

by OpenAI

GPT-Realtime-2.1 is a reasoning speech-to-speech model for the Realtime API, with tool…

$4/1M in · $24/1M out
128,000 tokens context

Use Codex Mini via the AIHubMix unified API — one interface for every major LLM.