openai/gpt-5-miniRetiring — Retires on 11 December 2026.
Most of GPT-5, built for everyday text work
GPT-5 mini is the compact version of GPT-5, launched by OpenAI on 7 August 2025 alongside GPT-5 and GPT-5 nano. It keeps 400K of context and up to 128K of output, for text.
Offer ends December 31, 2027
Context 400K · Released Aug 7, 2025
Prompt cache read: 0.055 cr / 1,000 tokens
In your currency, for 1 million input tokens: ≈ $0.24 (rate of Dec 2, 2026, operator fees not included).
147 F CFA · 566 CDF · 2.90 GHS · 32 KES · 425 MWK · 16 MZN · 362 RWF · 5.59 SLE · 651 TZS · 1,024 UGX · 5.11 ZMW
Last updated Nov 30, 2026
GPT-5 mini is the compact version of GPT-5, launched by OpenAI on 7 August 2025 alongside GPT-5 and GPT-5 nano. It keeps 400K of context and up to 128K of output, for text.
It suits repetitive work that runs all day: assistants, support-thread summaries, copy rewriting and translation, field extraction from plain text, drafts before a human edit. Function calling, JSON output and streaming come with it.
On Tchavi you pay with mobile money, no card and no KYC, and credits never expire. One API key covers 100+ models: when a text needs more depth, switch to GPT-5 by changing one string.
Long threads, reports or conversation histories in one call
Room for long texts or whole batches
Reads images and documents alongside text
Function calling and structured JSON output
Show the answer as it is written
Mini for text at volume: assistants, summaries, rewriting, extraction. GPT-5 for the deepest reasoning.
Nano for the mechanical steps of a pipeline: routing, tagging, filtering. Mini when the text needs better writing or reasoning while staying on a compact model.
GPT-5.4 mini is the next generation. Keep GPT-5 mini if your text prompts are already validated on it.
400K tokens of context, up to 128K of output. It reads images and PDFs as well as text.
Swap the base URL for Tchavi's, use your Tchavi API key and set model: "gpt-5-mini". The rest of your code stays the same.
For 1,000 words sent and 1,000 words received, expect 5.148 credits (about 1.7 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.
Its provider retires GPT-5 Mini on 11 December 2026. From that day, requests are refused. Plan a switch to another model before then.
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.
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.
import Tchavi from '@tchavi/sdk';
const client = new Tchavi({ apiKey: 'API_KEY' });
const response = await client.chat.completions.create({
model: 'gpt-5-mini',
messages: [
{
"role": "user",
"content": "Hello!"
}
],
});
console.log(response.choices[0].message.content);
console.log('Credits used:', response.tchavi.credits_used);Every parameter this model accepts on the API. Check the SDK for full typings.
modelRequiredID of the chat model (e.g. `gpt-5-mini`).
messagesRequiredConversation 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`).
temperature1Sampling temperature between 0 and 2. Higher values = more random.
max_tokensMaximum number of tokens to generate in the response.
max_completion_tokensAlias for `max_tokens`. Either field works; if both are sent, `max_completion_tokens` wins.
streamfalseIf true, partial message deltas are streamed as Server-Sent Events.
toolsFunction-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_choiceHow 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_formatConstrain 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_effortReasoning depth. Values `"low"`, `"medium"`, `"high"`. Silently ignored when the model does not reason.
Estimated over 30 days, for a typical message: ~500 input + ~150 output tokens, billed to the thousandth of a credit.
We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.