Jepela: decisions with memory
Typed questions in, typed answers with probabilities out, one call, no text generation. The same request and answer shape as TypeSafe's /v1/systemone, plus a per-subject memory kept on Jepela's server: a subject is whatever you decide about, a customer, a user, a player, a device, a case. You pay $0.042 per million input tokens the engine reads; output is free. The product site is jepela.com. Start with getting started and the examples; all pages at /docs, for agents /llms.txt. Try it in the playground.
Getting a key
Create an account at app.jepela.com and choose your region. Confirm your email address, then pay by card to start at once (the account is approved as soon as the payment goes through), or wait for Jepela to approve it; then create your keys there. Questions: info@jepela.com.
A decision
export JEPELA_API_KEY=jj_live_...
export JEPELA_BASE_URL=https://api.jepela.com
curl -s $JEPELA_BASE_URL/v1/systemone \
-H "Authorization: Bearer $JEPELA_API_KEY" -H "Content-Type: application/json" \
-d '{"state": {"message": "We were charged twice for September again."}, "model": "jepela-english", "subject": "acme-ops",
"questions": {"route": {"type": "choice", "instructions": "Which team should handle this?",
"criteria": {"billing": "Charges and refunds", "support": "Product problems", "sales": "New licences"}},
"refund": {"type": "noul", "instructions": "Is the customer asking for money back?"},
"urgency": {"type": "score", "instructions": "How urgent is this?",
"criteria": ["Can wait a week", "Should be handled today", "Blocking the customer now"]}}}'
Leave out subject and the call is stateless. With it, the answer carries a memory block: the lines used, and with "memory": {"compare": true} the answer without memory and what changed.
Memory
POST /v1/memory/remember {"subject": "acme-ops", "text": "ACME holds an enterprise contract; refunds go to billing within one business day."}
POST /v1/memory/forget {"subject": "acme-ops", "concept": "enterprise contract"} removal verified against recall
POST /v1/memory/forget {"subject": "acme-ops", "concept": "Ann Lindqvist", "preview": true} what would go, nothing removed, not billed
POST /v1/memory/delete {"subject": "acme-ops"}
GET /v1/memory?subject=acme-ops&lines=true
POST /v1/memory/rules {"subject": "acme-ops", "when": "open_tickets >= 3", "text": "Escalate ACME to a person."} checked in code on the request's values
GET /v1/memory/rules?subject=acme-ops
POST /v1/memory/rules/delete {"subject": "acme-ops", "rule_id": "r_..."}
Models
jepela | Jepela; its language router picks the checkpoint |
jepela-english | Jepela, English checkpoint |
jepela-multilingual | Jepela, multilingual checkpoint (100+ languages) |
jepela-typed-decisions | Jepela, checkpoint fine-tuned on typed-decision workflows |
GET /v1/models says which ones answer right now and what is pinned, and lists the jepela-ft- models fine-tuned for your tenant.
Prices
| per request | 0.00000 USD |
| per million input tokens | 0.04200 USD |
| per million input characters | 0.00000 USD |
| per answer | 0.00000 USD |
| per memory line written | 0.00000 USD |
| bill engine answers | no |
set on 2026-09-24 at the owner's request: the same way and price as Jev, per input token, output free. You pay for the input tokens the engine read: the state, the questions and recalled memory lines, once per question; usage.input_tokens is its own count and output is free. Robust orders and windows read more and are billed; compare and placebo passes are not. GET /v1/usage shows credit, spending and the last requests; every priced request is one line in the tenant's ledger.
Errors
400 bad Content-Length, a compressed body that does not decompress, or JSON nested more than 100 levels deep · 401 no or bad key · 402 no credit left (never on a route that removes data: forget and the deletes) · 403 sign-up off or invite needed, or the account suspended (it may still read its data with GET and remove it) · 404 not found · 409 a limit, such as 5,000 golden cases, 10,000 memory lines or 100 rules · 413 body over 1 MB (16 MB for /v1/batches and /v1/golden), a compressed body once decompressed · 415 not JSON, or a Content-Encoding other than one layer of gzip, x-gzip or zstd · 422 bad request, with the reason · 429 over the key's requests per minute, with Retry-After · 500 gateway error, not charged · 502 engine or product down, not charged.
Rules that work in memory
A one-pass engine does not compare numbers and does not read negation. Put conditions in code: a memory rule with when (POST /v1/memory/rules) or derive in the request, checked on values and the state's fields (a bare name is read from values first). Leave options that must never be chosen out of criteria, and keep memories short.