OpenAI Codex Mini is good. These would like a word anyway.
OpenAI Codex Mini is good. These would like a word anyway.
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.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"openai/codex-mini" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The original Codex Mini before the glow-up. Follows instructions, formats with markdown headers, and calls the audience "buddy" like a summer camp counselor.
Standup routine uses markdown headers to organize comedy into titled sections like "The Self-Checkout Olympics," which is the most engineer thing a model has ever done. Calls the audience "buddy" in the self-checkout bit. Generated exactly 5 jokes and counted them.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
10 outputs · generated before accounting joined the chat
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.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"openai/codex-mini" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The original Codex Mini before the glow-up. Follows instructions, formats with markdown headers, and calls the audience "buddy" like a summer camp counselor.
Standup routine uses markdown headers to organize comedy into titled sections like "The Self-Checkout Olympics," which is the most engineer thing a model has ever done. Calls the audience "buddy" in the self-checkout bit. Generated exactly 5 jokes and counted them.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
10 outputs · generated before accounting joined the chat