Request access
Private beta

Change one URL. Keep your SDK.

The MardoQ API speaks the OpenAI Chat Completions format. Point your client at MardoQ and every request passes through the cache and the memory of that tenant before it reaches your model.

Works with OpenAI · Anthropic · Google · Groq · Ollama

Quickstart

Python · OpenAI SDKPrivate beta
from openai import OpenAI

client = OpenAI(
    base_url="https://<your-mardoq-host>/v1",
    api_key="sk-mardoq-…",
)

reply = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[
        {"role": "user", "content": "Summarise the tickets"},
    ],
)
Node · OpenAI SDKPrivate beta
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://<your-mardoq-host>/v1",
  apiKey: "sk-mardoq-…",
});

const reply = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "Summarise the tickets" }],
});
cURLPrivate beta
curl https://<your-mardoq-host>/v1/chat/completions \
  -H "Authorization: Bearer sk-mardoq-…" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-4o-mini",
       "messages": [{"role": "user", "content": "Summarise the tickets"}]}'

Supports Chat Completions and streaming. Function calling is coming next.

Endpoints

Every request is scoped to one workspace by its key.

EndpointWhat it does
POST /v1/chat/completionsChat completions, with streaming.
GET /v1/modelsThe models available to your workspace.
GET /v1/conversationsSaved conversations; read or delete them.
GET /v1/usageRequests, answers from memory and response time.
POST /v1/cache/feedbackMark an answer from memory as right or wrong.
POST /v1/vertical/upload · /trainTeach your workspace from text.

Measured results

Results from our own benchmarks, with how each one was measured.

CapabilityResultHow it was measured
Cache lookup on a lexical hit0.504 msp50 · p95 0.947 msIntel Core i7-14700F, CPU only, release build.
Paraphrase recall8 / 100 false positivesSimilarity floor 0.84. N = 20, one author, one domain.
Turns served without the provider41.2 %7 of 17 turnsGate benchmark on product turns, each with a verdict.
Memory recall4 / 60 / 6 with memory offA/B experiment: the same questions with memory on and off.
Tenant isolationTestedmemory · cache · credentialsIntegration tests check that one tenant cannot read another tenant's data.

Benchmarks run in August 2026 on MardoQ's own test sets. They are not customer results.

Give your team an AI that already knows your business.

MardoQ is in private beta. Leave your work email and we will write to you.

By joining you accept the Terms and agree we process your email as described in the Privacy Policy.