NewGPT-6.2 Astra, GPT Image 2.6, Kling V4 and Kimi K3.1 Pro are now available.

Tchavi
ModelsStudioPricingDocsBlog
Tchavi
  • Why Tchavi
  • Models
  • Pricing

Tchavi is an OpenAI-compatible AI API: 100+ models, from text to video, topped up with mobile money in FCFA or your local currency, no bank card needed.

  • support@tchavi.com
  • Support

Popular models

  • GPT-6 Sol API
  • Claude Sonnet 5.5 API
  • Claude Opus 5.5 API
  • Gemini 4 Argon API
  • DeepSeek V4.1 Flash API
  • Nano Banana 2.1 (images)
  • GPT Image 2 (images)
  • Wan 3.0 (video)
  • All 100+ models

Developers

  • Quickstart
  • API Reference
  • Claude Code
  • Cursor
  • SDKs

Resources

  • Documentation
  • Blog
  • Image models
  • Video models
  • Music models
  • Audio models
  • Mobile money payments
  • Pay for AI APIs with M-Pesa
  • Claude Code with mobile money

Legal

  • Privacy
  • Terms of Service

APIs by creator

  • OpenAI API
  • Gemini API
  • Claude API
  • Qwen API
  • DeepSeek API
  • Seedance API
  • MiniMax API
  • Mistral API

Mobile money payments · Available in 17 countries: Benin, Burkina Faso, Cameroon, Congo, Côte d'Ivoire, DR Congo, Gabon, Ghana, Kenya, Malawi, Mozambique, Rwanda, Senegal, Sierra Leone, Tanzania, Uganda, and Zambia. Operators: Moov Money, MTN MoMo, Orange Money, Airtel Money, Telecel, M-Pesa, TNM, Free Money, Halotel, Tigo, and Zamtel Kwacha.

© 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

GPT-4o Mini

openai/gpt-4o-mini

Retiring — Retires on 14 January 2027.

Cheap, familiar, text only

GPT-4o mini remains one of the cheapest ways to run a chatbot at 0.33 credits per 1K input, over a 128K context. GPT-5 mini gives you a far larger context and stronger answers, so treat 4o mini as the compatible option rather than the best one.

Modalities
Input / Output
0.33 / 1.3cr / 1K
Context window
128K
Max output
16.4K
Capabilities
  • Tools
  • JSON mode
  • Vision
  • PDF
  • Streaming
  • Prompt caching· read 0.165 cr / 1K

Last updated Nov 23, 2026

What this model does well

  • 💰

    Affordable

    Budget-friendly everyday model

  • 👁️

    Images and PDFs

    Reads images and PDFs in the same request as your text

  • ⚡

    Fast

    Quick responses at scale

Example prompts

  • Write a text to promote my sandwich restaurant

  • Translate to French: Welcome to our shop

Good to know

  • Images cost far more here than the per-token price suggests: 4o-mini counts a 768px image at roughly 25 500 tokens, about 9 credits, where GPT-5 nano charges 0.11. For images at volume, use a GPT-5 model.
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.

Technical specifications

Provider
openai
API identifier
gpt-4o-mini
Category
Chat & Text
Context window
128,000 tokens
Max output
16,384 tokens
Rate limit
600 RPM
Billing unit
token
Streaming
Yes

Ideal for

  • High-volume chatbots
  • Classifying short messages
  • Extracting fields from text
  • Drafting short copy
  • Existing 4o mini integrations

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: 'gpt-4o-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. `gpt-4o-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.

stream
boolean
Default: false

If true, partial message deltas are streamed as Server-Sent Events.

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

response_format
{ type: "json_object" | "text" }

Constrain the output. Pass `{ type: "json_object" }` to force valid JSON (the model still needs a JSON instruction in your prompt). Only models with `supportsJsonMode: true` honour this.

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.

Pricing

per 1,000 tokens
0.33 credits
Input 0.33 · Output 1.3 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 0.36 credits.
  • Prompt cache reads: — per 1K tokens (0.165 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 ~83 341 questions. Pay with Orange Money, MTN MoMo or M-Pesa, no Visa card needed.

Ready to use GPT-4o Mini?

Create your accountAPI Documentation

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