Skip to content

Developers

An OpenAI-compatible API, paid in GNF

Keep your code and your libraries. Change the address and the key: your apps now run on AfriAgent.

See pricing

Top-ups from 25,000 to 150,000 GNF, by Orange Money.

Example language
from openai import OpenAI

client = OpenAI(
    base_url="https://[api-address]/v1",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="[model-name]",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
Replace the values in brackets with the ones from your console.

The console

Everything you need to start

  • API keys

    Create one key per app, and revoke it whenever you like.

  • Usage console

    Track your usage and your balance, in GNF.

  • Playground

    Try your requests in the browser before writing any code.

  • Documentation

    Guides and references to plug in the API in minutes.

    Docs coming soon

Pricing

Prepaid, in Guinean francs

Top up with Orange Money, no bank card and no subscription. Your balance goes down with each request.

Top-ups

25,000 to 150,000 GNF

Price of each model (Claude Haiku, Claude Sonnet) on request: abdoulaye.balde@afriagent.africa

Demo

Let’s see what the assistant can do for your company

Leave us your details. We’ll call you back to set up a demo with your own documents and answer your questions about setup and pricing.