Kenya · market hub

Fikra API Kenya: M-Pesa, card and one key to model routes

Pay for AI APIs in Kenya with M-Pesa or card and reach DeepSeek, Qwen, GLM and more through one OpenAI-compatible key.

Get an API key

Direct answer

Fikra API gives Kenya developers one OpenAI-compatible key for DeepSeek, Qwen, GLM, Kimi, Gemini-family, embeddings and media routes. Yes. Fund the wallet with M-Pesa, Airtel Money or card at the Kenya checkout. Minimum $5; a $5 minimum top-up charges KES 684.95 and credits $5 (KES 665) to your wallet (KES 133 = $1; the KES 19.95 is the mobile provider's 3% fee). Set base_url to https://api.fikraapi.co.ke/v1 and start calling deepseek-v4.1-flash-1017.

Why Kenya is different from every other African market

Kenya is the only checkout in this gateway where M-Pesa and Airtel Money sit alongside card. The STK prompt lands on your registered Safaricom or Airtel line. Approve it and the USD wallet credits after the charge succeeds, no foreign card required.

The checkout rate is KES 133 = $1. A $5 minimum top-up charges KES 684.95 and credits $5 (KES 665) to your wallet. The KES 19.95 difference is the 3% payment processing fee charged by the mobile provider. Mobile money is only available on the Kenya checkout, not Nigeria, South Africa or any other market.

What Kenyan developers build on Fikra

Use caseRouteKenya context
WhatsApp support botsdeepseek-v4.1-flash-1017High WhatsApp usage; fast, low-cost per reply
USSD and SMS workflowsdeepseek-v4.1-flash-1017Short context, mobile-first; low cost per interaction
M-Pesa receipt parsingqwen3.8-27b at temperature 0Structured extraction from SMS; validate JSON before storing
Swahili content tasksdeepseek-v4.1-flash-1017Start here, test 50 Swahili prompts before trusting in production
Lending and scoring workflowsdeepseek-v4-pro-pinnedHarder reasoning for loan narrative; test approval-rate metric first

M-Pesa STK checkout: what to expect

Enter $5 or more in the dashboard. The screen shows the KES charge before you proceed. An STK prompt appears on your registered Safaricom or Airtel line. Approve it and the wallet credits in seconds.

If the STK prompt does not arrive: check your registered number in the dashboard, confirm the SIM has balance, and retry once. If the card is declined: a foreign-merchant block is the most common cause, call your bank and ask them to allow AI/SaaS merchants.

Kenya AI developer guides

Which model to start with

Prices are per 1M tokens and change with provider terms. Always confirm a route is at /v1/models before funding beyond $5. Current prices are at fikraapi.co.ke/pricing.

WorkloadRoutePrice per 1M tokens
Text, chat and summariesdeepseek-v4.1-flash-1017$0.05 input / $0.15 output
Structured JSON and classificationqwen3.8-27b$0.045 input / $0.35 output
High-volume codeglm-5.3-flash$0.1875 input / $0.625 output
Hard reasoningdeepseek-v4-pro-pinned$1.65 input / $4.95 output
Retrieval and semantic searchfikra-embed$0.05 per 1M input tokens

How to get started in Kenya

curl https://api.fikraapi.co.ke/v1/chat/completions \
  -H "Authorization: Bearer YOUR_FIKRA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"deepseek-v4.1-flash-1017","messages":[{"role":"user","content":"Summarise this ticket in two lines."}]}'

Common questions

Can I pay from Kenya without a foreign credit card?

Yes. The Kenya checkout offers M-Pesa, Airtel Money and card. M-Pesa and Airtel Money send an STK prompt to your Safaricom or Airtel phone; approve it and the USD wallet credits. Minimum top-up is $5; a $5 top-up charges KES 684.95 and credits $5 (KES 665 at the KES 133 = $1 checkout rate). The KES 19.95 difference is the mobile provider's 3% processing fee. Mobile money is only available on the Kenya checkout.

How much do I need to start?

Minimum top-up is $5. Plans are prepaid per 30 days: Lite $10, Pro $25, Max $60. All plans include 3,000 requests per minute and 250,000 per day. The wallet balance is a hard cap, you cannot overspend it.

Which model should I use first?

Start with deepseek-v4.1-flash-1017 for text, code and summaries. It is the most-used route on the platform. Confirm it is listed at /v1/models, then compare against qwen3.8-27b (structured output) and glm-5.3-flash (high-volume code) on your own prompts before committing budget.

Does Fikra serve enterprise teams?

Yes. Self-serve plans (Lite, Pro, Max) are prepaid per 30 days and work immediately after signup. Enterprise teams with volume, procurement or contract requirements can contact support before committing production budget.

Where do I see my usage and spend?

The dashboard shows your balance and per-key usage. Platform-wide stats are at fikraapi.co.ke/stats. Keep the request ID from each call if you need to reconcile a charge.

Get an API key