Back to models

o4 Mini

openai/o4-mini

Deprecated — its provider shut it down on 23 October 2026. Requests are refused.

The newer reasoning mini, same price as o3 mini

o4 mini is the more recent small reasoning model at 2.4 credits per 1K input, with a 200K context and 100K of output. Prefer it to o3 mini for new work; the price is identical.

2.04 / 8.245cr / 1K2.4 / 9.7-15%

Context 200K · Max output 100K

Prompt cache read: 0.24 cr / 1,000 tokens

In your currency, for 1 million input tokens: ≈ $1.13 (rate of Dec 2, 2026, operator fees not included).

Other currencies

680 F CFA · 2,624 CDF · 13 GHS · 147 KES · 1,970 MWK · 72 MZN · 1,679 RWF · 26 SLE · 3,019 TZS · 4,748 UGX · 24 ZMW

Capabilities
  • Tools
  • Vision
  • PDF
  • Prompt caching

Last updated Nov 30, 2026

Read the full description

o4 mini is the more recent small reasoning model at 2.4 credits per 1K input, with a 200K context and 100K of output. Prefer it to o3 mini for new work; the price is identical.

What this model does well

  • Reasoning

    Improved over o3-mini

  • Tool use

    Reliable function calling

  • Fast

    Lower latency than full o3

  • Images and PDFs

    Reads images and PDFs in the same request as your text

Example prompts

  • Solve this problem step by step: a merchant sells 3 items...

Good to know

What to know before you start: limits, settings and what we keep.
We never save what you send to a model or what it returns. We log only your settings (like size or voice) and how much was used, for billing. Files you attach in the playground are deleted after 24 hours.

Frequently asked questions

How much does o4 Mini cost?

For 1,000 words sent and 1,000 words received, expect 13.371 credits (about 4.5 FCFA). Usage is counted in tokens, small pieces of words (in English, 1,000 words make about 1,300 tokens), so the exact price follows the length of your messages. o4 Mini produces reasoning before its answer, and that reasoning is billed like words received.

How much text does o4 Mini accept?

o4 Mini can read up to 200,000 tokens at once, about 150,000 words in English. That is its context window: how much text it keeps in mind during a conversation. A reply can run up to 100,000 tokens.

What can o4 Mini do?

o4 Mini works best for these jobs: reasoning inside an agent loop, code review with justification, and analysis that must show its steps. It also reads images and attached documents. On the technical side, it can trigger your functions (tool calling). It takes time to reason before it answers.

Is o4 Mini still available?

No. Its provider shut o4 Mini down on 23 October 2026, so requests are refused. Pick another model.

See the 2 other questions
Can I pay with mobile money, without a bank card?

Yes. Top up your Tchavi account with Orange Money, MTN MoMo, M-Pesa or another mobile money operator. No bank card is needed. Credits land as soon as the payment is confirmed and are deducted as you use them.

Is the API compatible with OpenAI's?

Yes. Keep your current OpenAI SDK, just change the base URL to Tchavi's (shown in the API tab) and use your Tchavi key. The rest of your code stays the same.

API

import Tchavi from '@tchavi/sdk';

const client = new Tchavi({ apiKey: 'API_KEY' });

const response = await client.chat.completions.create({
  model: 'o4-mini',
  messages: [
  {
    "role": "user",
    "content": "Hello!"
  }
],
});

console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);

API parameters

Every parameter this model accepts on the API. Check the SDK for full typings.

modelRequired
string

ID of the chat model (e.g. `o4-mini`).

messagesRequired
Array<{ role, content }>

Conversation messages. Each item has a `role` (system/user/assistant) and a `content` that's either a plain string or an array of content blocks (`text`, `image_url`, `document_url`).

temperature
number
Default: 1

Sampling temperature between 0 and 2. Higher values = more random.

max_tokens
integer

Maximum number of tokens to generate in the response.

max_completion_tokens
integer

Alias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.

tools
Array<{ type, function }>

Function-calling toolbox. Pass an array of `{ type: "function", function: { name, description, parameters } }`. Returned tool calls land in `choices[].message.tool_calls`. Only models with `supportsTools: true` accept this.

tool_choice
"auto" | "none" | { type, function }

How the model picks among tools: `"auto"` (default), `"none"` to force a plain text reply, or `{ type: "function", function: { name } }` to force a specific tool. Only with `supportsTools: true`.

reasoning_effort
"low" | "medium" | "high"

Reasoning depth. Values `"low"`, `"medium"`, `"high"`. Silently ignored when the model does not reason.

Pricing

-15%The discount applies to every price for this model.
per 1,000 tokens
2.04 credits
Input 2.4 · Output 9.7 cr/1K

How billing works

  • Billed per token used, down to a thousandth of a credit.
  • A typical message (500 in, 150 out) costs about —, or 2.257 credits.
  • Prompt cache reads: — per 1K tokens (0.204 credits).
Real-world scenarios
Per day
Per week
Per month

Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.

A 10 000 F CFA top-up gives you about ~13 293 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use o4 Mini?

Bonus credits on your first top-up · No card to sign up