API Documentation

Last Updated: April 2026

Overview

Getting Started

The ANED AI API provides programmatic access to our African-trained language models. Base URL: https://api.anedai.com/v1. All requests require API key authentication. Responses in JSON.

Section 1

Authentication

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Keys available in your ANED AI dashboard. Keep keys confidential.

Section 2

Available Models

swala-1 — Fastest. Sub-second for mobile and high-frequency calls.
savanna-1 — Most versatile. Balanced across 10+ African language families.
kilima-1 — Most capable. Deep reasoning for legal, financial, security.
tembo-1 — Code intelligence. African developer workflows and fintech SDKs.

Section 3

Chat Completions

POST /v1/chat/completions

{
  "model": "savanna-1",
  "messages": [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Niandalie barua ya maombi ya mkopo"}
  ],
  "max_tokens": 1024,
  "temperature": 0.7
}
Section 4

Simba Extended Thinking

Enable on Kilima or Tembo for multi-step deliberation:

{
  "model": "kilima-1",
  "extended_thinking": true,
  "thinking_budget": 8000
}
Section 5

Rate Limits

Starter: 100K/mo. Pro: 5M/mo. Team: 20M shared/mo. Tembo Dev: 2M/mo. Tembo Team: 10M shared/mo. Enterprise: Custom. Rate limit headers included in every response.

Section 6

Error Codes

400 Bad Request
401 Unauthorised — invalid API key
403 Forbidden — access denied
429 Rate Limited
500 Server Error
503 Service Unavailable

Section 7

SDKs

pip install aned-ai
pnpm add @aned-ai/sdk
go get github.com/aned-ai/go-sdk
Section 8

Support

Developers: developers@anedcenter.com
Status: status.anedai.com