Integrate in your stack
Drop the OpenAI-compatible API into Python, JavaScript, PHP, Laravel, Go, Flutter or any HTTP client you already use.
All-in-one AI API for Africa
One API key for every AI model
Chat with GPT, Claude, Gemini, DeepSeek, GLM and Kimi. Create images with GPT Image 2.5, Grok Imagine and Nano Banana. Generate video with Seedance, Wan 3.0 and MiniMax H3. One endpoint and one balance, built for developers and businesses across Africa.
Call the API from any language, point your coding assistant at MadAfri, or wire it into an automation tool.
Drop the OpenAI-compatible API into Python, JavaScript, PHP, Laravel, Go, Flutter or any HTTP client you already use.
Point any editor or coding agent that accepts a custom base URL at MadAfri and run it on your balance.
Call MadAfri from the HTTP node of n8n, Make or Zapier. One endpoint, one key, nothing to install.
A single HTTPS endpoint routes each request to the model you choose. Documented payloads, one key.
View docsSix chat model families, three image models and four video models, all behind the same key.
Browse modelsFrom prototype to live product with no contracts, no infrastructure to run and no account to open with each provider.
Start buildingMobile Money · Coming soon
A bank card should not decide who gets to build with AI. We are working on top-ups with the mobile wallets you already use every day.
Follow the launch on FacebookPlanned wallets. Availability will vary by country.
Works with the tools you already use
Anything that accepts an OpenAI-compatible base URL.
One MadAfri integration, then every request is routed to the model you name: text, image or video.
1. Your app
POST /v1/chat/completions2. MadAfri
model: "claude-sonnet-5"3. Providers
GPT · Claude · Gemini · DeepSeek · GLM · Kimi
GPT Image 2.5 · Grok Imagine · Nano Banana
Seedance 2.5 · Seedance 2.0 · Wan 3.0 · MiniMax H3
4. Response
One unified answer streams back to your app
Create an account in the console, add credit and generate an API key.
Set the model field to the one you want. Switching later is a one-string change.
MadAfri routes the call, meters the usage and returns a normalized response to your app.
Switch models by changing one string. New versions are added as they ship.
See all models in the consoleOpenAI
General-purpose flagship for chat, coding, tool use and structured output.
Anthropic
Strong on long documents, careful writing, coding and agent workflows.
Multimodal by default: text, images, audio and very long context.
DeepSeek AI
High-value reasoning and coding models with open weights.
Zhipu AI · Z.ai
Bilingual general models with solid agent and coding skills at low cost.
Moonshot AI
Long-context models tuned for research, coding and agentic tasks.
OpenAI
OpenAI’s newest image model: faster generation, faithful edits and consistent style across a series.
xAI
xAI’s image model for quick, vivid drafts and social-ready visuals.
Google’s Gemini image model, strong at precise edits, layouts and legible text in images.
Submit a job, poll the task, download the clip. Per-second rates are shown live in the console.
See live ratesByteDance
Billed per second · live rate in console
New-generation multimodal generation and editing, for longer takes and richer references.
ByteDance
Billed per second · live rate in console
A dependable workhorse for everyday commercial work, from quick drafts to key shots.
Alibaba
Billed per second · live rate in console
Long clips from almost any input, including documents and slides.
MiniMax · Hailuo
Billed per second · live rate in console
One multimodal model for generating, referencing and editing video with sound.
Whatever you are building, one key and one balance cover it.
Drop your key into your stack and start shipping. OpenAI-compatible, so most existing code just works.
Power n8n, Make or Zapier workflows through one HTTPS endpoint. No SDK, no boilerplate.
Use MadAfri as the model backend for editors and agentic coding tools that accept a custom base URL.
Build multilingual assistants for WhatsApp, Telegram or your own app, in English, French and more.
Designed around the realities of building technology in Africa.
One API for OpenAI, Anthropic, Google, DeepSeek, Zhipu and Moonshot models. Switch providers without changing your code.
Chat, generate images and render video from the same key and the same balance.
English and French throughout, pages that stay light on slow connections, and choices shaped by how teams here build and pay.
Planned support for the wallets people already use, so a bank card is never a requirement.
REST and JSON endpoints under api.madafri.com/v1. Copy an example from the docs and ship with your preferred HTTP stack.
A prepaid balance and no subscription. The live rate for each model is shown in the console before you call it.
Replace one line and keep your SDK. Pick a model and a language to see the request.
curl https://api.madafri.com/v1/chat/completions \
-H "Authorization: Bearer $MADAFRI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [
{
"role": "user",
"content": "Explain how a mobile money payment API works, in three short sentences."
}
]
}'
Example request. Exact model IDs and parameters are listed in your console.
The essentials on access, billing and compatibility.
An all-in-one AI platform from Antananarivo, Madagascar. You get one API key and one balance for text, image and video models from many providers, instead of managing a separate account for each.
Yes. The API follows the OpenAI format. Set the base URL to https://api.madafri.com/v1, use your MadAfri key and pick a model. Official OpenAI SDKs and most frameworks that accept a custom base URL work unchanged.
Pay as you go, with no subscription. Text models are billed by tokens, images per image and video per second. The current rate for every model is shown in the console before you call it.
GPT, Claude, Gemini, DeepSeek, GLM and Kimi for chat; GPT Image 2.5, Grok Imagine and Nano Banana for images; Seedance 2.5 and 2.0, Wan 3.0 and MiniMax H3 for video. The console always lists what is live.
Top-up options are shown in the console when you add credit. For help, message us on our Facebook page and we will reply in English or French.
No. MadAfri is an independent gateway. Model names and brands belong to their respective owners, and each provider’s usage policies still apply to your requests.
Create a key, change one line and ship with the world’s best models.