Tchavi
Why TchaviModelsPricingDocumentationBlog
TchaviTchavi

Frontier AI, paid with mobile money. No card, no KYC.

Product

  • Why Tchavi
  • Pricing
  • Models

Resources

  • Documentation
  • API Reference
  • Blog
  • Support

Legal

  • Privacy
  • Terms of Service

© 2026 Tchavi. All rights reserved.

We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.

Back to models

o4 Mini

openai/o4-mini

The newer reasoning mini, same price as o3 mini

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

Modalities
-15%
Input / Output
2.244 / 8.5cr / 1K2.64 / 10
Context window
200K
Max output
100K
Capabilities
  • Tools
  • Vision
  • PDF
  • Prompt caching· read 0.264 cr / 1K

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...

Technical specifications

Author
openai
API identifier
o4-mini
Category
Chat & Text
Context window
200,000 tokens
Max output
100,000 tokens
Rate limit
400 RPM
Billing unit
token
Streaming
No

Ideal for

  • Reasoning inside an agent loop
  • Code review with justification
  • Analysis that must show its steps
  • Planning before tool calls
  • Verifying another model's answer

Ready to try it?

Test this model in the playground, no setup needed.

Frequently asked 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

OpenAI 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 on OpenAI o-series / GPT-5 reasoning models. Values `"low"`, `"medium"`, `"high"`. Silently ignored by non-reasoning OpenAI models.

Show all parameters (19)
top_p
number
Default: 1

Nucleus sampling: only tokens in the top `top_p` probability mass are considered.

seed
integer

Integer seed for deterministic output. The same seed + identical request yields the same completion when supported by the provider. OpenAI honours it; Anthropic ignores.

n
integer
Default: 1

Number of completions to generate in one call. Defaults to 1; each extra completion is billed.

stop
string | string[]

Up to 4 sequences where the API will stop generating further tokens.

frequency_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values penalize tokens that have appeared frequently.

presence_penalty
number
Default: 0

Between -2.0 and 2.0. Positive values encourage the model to talk about new topics.

user
string

End-user identifier passed to the upstream provider for abuse / moderation tracking. Should be stable per end-user.

logit_bias
Record<string, number>

Per-token logit bias `{ "<tokenId>": <-100..100>, ... }`. OpenAI-specific; Anthropic ignores silently.

messages[].content[].image_url
string

Attach an image on a user message. Pass a content block `{ "type": "image_url", "image_url": { "url": ... } }`. PNG / JPEG / WebP, up to 4 per request. Only models with `supportsImageInput: true` accept this block (e.g. `gpt-4o`, `claude-opus-4-7`).

messages[].content[].document_url
string

Attach a PDF on a user message. Pass a content block `{ "type": "document_url", "document_url": { "url": ... } }`. Up to 5 PDFs per request. Only models with `supportsDocuments: true` accept this block (e.g. `claude-sonnet-4-6`, `gpt-4.1`).

parallel_tool_calls
boolean
Default: true

Whether the model may call multiple tools in parallel within one turn. Set `false` to force serial tool calls. Only with `supportsTools: true` (OpenAI).

Pricing

-15%The discount applies to every price for this model.
per 1,000 tokens
2.244 credits
Input 2.64 · Output 10 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.397 credits.
  • Prompt cache reads: — per 1K tokens (0.225 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 ~12 516 questions. Pay with Orange Money, MTN MoMo or M-Pesa — no Visa card needed.

Ready to use o4 Mini?

Create your accountAPI Documentation

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