Built for developers in Africa · Pay in naira

Change one line.
Pay in naira.

BaseURL lets African developers use top open-source AI models, DeepSeek, Qwen, Kimi and gpt-oss, with one API key, paying in their own currency. No dollar card needed.

Top up with Paystack · Accounts reviewed before keys go live

The only change in your code: the base URL
# The openai library works with any compatible API.
from openai import OpenAI

client = OpenAI(
-   base_url="https://api.openai.com/v1",+   base_url="https://api.baseurl.dev/v1",    api_key="bu_live_••••••••••••",
)

resp = client.chat.completions.create(
    model="gateway-fast",
    messages=[{"role": "user", "content": "Ẹ kú àárọ̀!"}],
)
// The openai library works with any compatible API.
import OpenAI from "openai";

const client = new OpenAI({
-   baseURL: "https://api.openai.com/v1",+   baseURL: "https://api.baseurl.dev/v1",    apiKey: process.env.BASEURL_KEY, // bu_live_...
});

const resp = await client.chat.completions.create({
  model: "gateway-smart",
  messages: [{ role: "user", content: "Sannu!" }],
});
curl https://api.baseurl.dev/v1/chat/completions \
  -H "Authorization: Bearer $BASEURL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gateway-coder",
    "messages": [{"role": "user", "content": "Ndewo!"}]
  }'
Your existing SDK code keeps working Topped up in naira
Why BaseURL

The models you want, without the dollar card.

Pay locally with Paystack

Top up in naira with the cards and transfers you already use. Ghana is next, with cedi and mobile money.

One key, several models

A single bu_live_ key reaches every model. To switch models, change one word in your code.

Spend limits per key

Give each key its own monthly naira limit and an email alert, so a test script or a busy bot can never drain your whole balance.

You cannot overspend

Each request’s cost is held before it runs and settled after, so you never spend more than your balance.

How it works

From sign-up to first request in four steps.

  1. 01

    Sign up

    Create an account at app.baseurl.dev. We review each account before its keys go live.

  2. 02

    Top up in naira

    Prepay through Paystack. Before you pay, you see the exact credit you get, fees included.

  3. 03

    Create a key

    Generate a bu_live_ key and, if you like, give it a monthly spend limit.

  4. 04

    Change base_url

    Point your SDK at api.baseurl.dev/v1. Everything else stays the same.

Models and pricing

Pay per token, topped up in naira.

Prepaid, no subscription. You are only charged for the tokens each request uses. Put the model id in the model field; each gateway- id runs the open-weight model shown under it, and when a better model for that job arrives we may move the id to it and tell you first.

Prices per 1M tokens, in US dollars · your dashboard shows them in naira at today’s rate
Models, their context windows in tokens, and their prices per million tokens, in US dollars. Reasoning models think before they answer, so give them a generous max_tokens.
Model Good for Context Input Output
gateway-microPowered by Nemotron Lightning 3.5 30B Cheapest, high-volume simple tasks 262K $0.06 $0.24
gateway-fastPowered by DeepSeek V4.1 Flash Fast everyday tasks 1M $0.264 $0.792
gateway-coderPowered by gpt-oss-120b Coding and reasoning at low cost 131K $0.18 $0.72
gateway-visionPowered by GLM-5.3 Flash Images and documents 1M $0.18 $0.60
gateway-smartPowered by Qwen 3.8 Max Smart all-round 262K $2.60 $7.80
kimi-k3Powered by Kimi K3 Top quality, agents and coding 1M $3.90 $19.50
muse-spark-previewPowered by Muse Spark Try the newest releaseNewly released model, offered early. Behaviour, availability and price may change. 1M $1.625 $5.525

Reasoning models think before they answer, so give them a generous max_tokens.

Our vision

Every developer in Africa should be able to build with the best AI, paying in their own currency.

Today, a good idea often stops at the checkout page: the card is declined, or there is no dollar card at all. We are building BaseURL so that never decides who gets to build.

Pay the way you already pay

Local currency, local payment methods, prices you understand before you pay. Naira today, then cedi and more.

Fair and open

Open-source models, clear prices per million tokens, no surprise bills, and no lock-in: your code stays standard.

Built here, for here

Built in Nigeria, with support that answers quickly and a roadmap shaped by the developers who use it.

What's next

Coming soon to BaseURL.

We are building these now. Tell us which you want first at [email protected].

Coming soon

Try models in your browser

Pick a model, type a prompt and see the answer in your dashboard, before you write any code.

Coming soon

Low-balance alerts

An email before your balance runs low, so your app never stops unexpectedly.

Coming soon

Team accounts

One shared balance for your team or agency, with separate keys and limits for each person.

Coming soon

Starter examples

Copy-paste projects for what developers here build: WhatsApp bots, support assistants and document readers.

Coming soon

Ghana, with cedi and mobile money

Top up in cedi with cards and mobile money, with the same one-line setup.

Coming soon

More providers

Each model served by more than one provider, so requests keep working if one has trouble.

FAQ

Questions developers ask us.

Something else? Contact support.

Do I need a dollar card to pay?

No. You top up in naira through Paystack, with a Nigerian card or a bank transfer. The minimum is ₦2,000. Before you pay we show the exact credit you will get, with the payment fee already included; your dashboard shows your balance and spend in naira.

Will my existing code work?

If your SDK lets you set a base URL, yes. Set it to https://api.baseurl.dev/v1, use your BaseURL key and pick one of our model ids. The rest of your code stays the same.

Why does the code say "openai"? Is this OpenAI?

No. openai is the name of a free, open-source code library that many AI services work with, so you can keep the code you already have. Every model on BaseURL is an open-source model, such as DeepSeek, Qwen, Kimi and gpt-oss, run for us by Fireworks AI. BaseURL is not affiliated with OpenAI.

Why is my account reviewed before keys work?

We approve each account by hand to keep the service reliable and free of abuse. You can sign up and look around straight away; creating keys and topping up open once your account is approved, and we email you when it is.

What happens when my balance runs out?

Before each request we hold its cost from your balance. If your balance cannot cover it, the request is declined and you are not charged. Top up and your requests go through again right away.

Can I limit how much one key spends?

Yes. Give any key a monthly limit in naira from the API keys page, and choose an email alert at 50, 80 or 90% of it. When a key reaches its limit, its requests are declined until the next month or until you raise the limit. Your other keys keep working.

Do you store my prompts?

No. We do not log or store your prompts or completions. They pass through to the inference provider that runs the model, only to generate your response. We keep usage counts, such as tokens, model and time, for billing. See our privacy policy for details.

Which currencies can I pay in?

Naira for now. Ghana is next: you will be able to pay in cedi, including mobile money. More African currencies will follow.

Your code is already written.

Swap the base URL, top up in naira, and ship.

Get your API key base_url = "https://api.baseurl.dev/v1"