Start building
Create a key, install an SDK, and send your first compatible request.

OpenWaya documentation
Build against one OpenAI-compatible API, then add routing, consensus, billing, and operational controls without replacing your integration.
Documentation map
Create a key, install an SDK, and send your first compatible request.
Chat, Responses, embeddings, streaming, JSON mode, image URLs, and errors.
Automatic selection, explicit providers, fallbacks, privacy, and policy.
Independent answers, agreement thresholds, dissent, and synthesis.
Credits, usage, price books, currencies, invoices, and reconciliation.
Webhooks, request logs, rate limits, status, security, and support.
Quickstart
import OpenAI from "openai";
const openwaya = new OpenAI({
apiKey: process.env.OPENWAYA_API_KEY,
baseURL: "https://api.openwaya.africa/v1",
});
const response = await openwaya.chat.completions.create({
model: "openwaya/auto",
messages: [{ role: "user", content: "Hello" }],
});API surface
/v1/chat/completionsOpenAI-compatible chat and streaming/v1/responsesOpenAI-compatible text responses and streaming/v1/consensusIndependent model agreement and synthesis/v1/embeddingsOrdered float vectors through governed routing/v1/modelsModel, capability, pricing, and lifecycle registry/v1/usageMetered request and token usage/v1/webhooksSigned event delivery configurationProduction support
Every error includes a stable code and request ID. Every routed request preserves its policy and configuration snapshot so support can investigate without direct database access.
Get an API key