Ollaya Cloud
Ollaya Cloud runs Ollaya decision models for you. You send a state and typed questions over HTTPS, and you get typed answers with calibrated probabilities. The decision format is the same as in a local ollaya serve, so the API reference applies. You need no GPU and no install.
Ollaya Cloud is in closed beta. In the beta, only coba:68m-ternary answers. The catalog lists more models that come later. See Models to find out which ones are up.
Get access
- Apply on the waitlist. The form asks for your email only. To call the models from your own code, use the inference access form. It also asks what you want to run.
- Ollaya accepts people by hand during the beta. You get an email when your access is ready.
- Open the sign-in page and enter your email. Ollaya sends you a one-time code by email. Enter the code to sign in.
A new account starts with free credit.
The dashboard
An organization owns the keys, the credit, the members and the stored requests. In the dashboard you can:
- make and revoke API keys;
- see usage, requests, credits and limits;
- see the members of the organization.
The roles are Owner, Admin and Member.
API keys
An API key has a scope:
inferencekeys send decisions and list models.managementkeys manage the organization. Amanagementkey cannot send decisions: the API answers401 UNAUTHORIZED.
An organization can have at most 100 live keys. A live key is not revoked and not expired. When the organization has 100, making another key fails with 409 KEY_LIMIT_REACHED. Revoke a key you do not use first.
Copy a key when you make it. It starts with oly_live_. A revoked key stops working within seconds.
Keep keys on your server. Ollaya Cloud refuses a request that has an Origin header, so a key in a web page does not work: the answer is 403 BROWSER_NOT_ALLOWED.
Send a decision
The API base is https://api.ollaya.dev. It accepts HTTPS only. A plain HTTP request gets 301 to the HTTPS address, but the key already went over the network in clear text. In that case, revoke the key and make a new one. Do not rely on the redirect: curl -L turns a POST into a GET. Send the key in the Authorization header:
export OLLAYA_API_KEY=oly_live_... # your inference key
curl https://api.ollaya.dev/api/decide \
-H "Authorization: Bearer $OLLAYA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "coba:68m-ternary",
"state": "I was charged twice this month. Please refund the second charge.",
"questions": {
"refund": {"type": "noul", "instructions": "Does the customer ask for money back?"}
}
}'An answer has this shape. The numbers are an example:
{
"model": "coba:68m-ternary",
"answers": {
"refund": {"type": "noul", "noul": 0.9127}
},
"usage": {"input_tokens": 31, "output_tokens": 0}
}The body can hold up to 8 MiB. The answer can carry more fields. The question types (choice, score and noul), the answer fields and the limits on state and questions are the ones of the API reference.
Two things differ from a local server. Ollaya Cloud loads and unloads models itself, so it ignores keep_alive. A request without state fails with 422 INVALID_REQUEST.
Every answer carries an X-Request-Id header. You can send your own value. It must match [A-Za-z0-9._-]{1,128}. Quote the ID when you report a problem.
Models
Three endpoints list models.
GET /v1/catalog needs no key. It lists every model in the catalog:
curl https://api.ollaya.dev/v1/catalogEach entry has name, family, description, release_date, licence and bench_score. The catalog lists models that do not answer yet.
GET /v1/status needs no key. It shows each model as up or down, with the time of the check:
curl https://api.ollaya.dev/v1/status{
"models": [
{"model": "coba:68m-ternary", "status": "up", "checked_at": "2026-12-01T15:01:12.260Z"},
{"model": "sura:2b", "status": "down", "checked_at": "2026-12-01T15:01:12.260Z"}
]
}This example is shortened. In the beta, only coba:68m-ternary is up. Check the status before you send traffic to another model.
GET /v1/models needs a key. It lists the models that this key can call, in the shape of the local GET /v1/models:
curl https://api.ollaya.dev/v1/models \
-H "Authorization: Bearer $OLLAYA_API_KEY"What Ollaya Cloud stores
Ollaya Cloud stores each request: its input and its output. They stay for the retention time of the organization. The default is 30 days. An Owner or Admin can set any time from 0 to 365 days.
Members of the organization see the stored requests on the Requests page of the dashboard.
Send only data that you accept to have stored for that time.
The desktop app
The desktop app signs in with a device code. The app shows a code and opens the device page in your browser. Approve the code there.
The app makes an inference key for your first organization. From the next desktop release, a sign-out in the app also revokes that key. Until then, revoke it on the Keys page of the dashboard.
Errors
Every error has the same body as the one of a local Ollaya, and a header with the same code:
HTTP/2 401
x-ollaya-error-code: UNAUTHORIZED
{"error":"a valid API key is required: send Authorization: Bearer oly_live_...","code":"UNAUTHORIZED"}Use the code in your program, not the message. The message can change. A request to a path that does not exist gets 404 NOT_FOUND.
| Code | Status | Meaning | What to do |
|---|---|---|---|
INVALID_JSON | 400 | The body is not valid JSON. | Fix the body. |
UNAUTHORIZED | 401 | The key is missing, malformed, unknown, revoked or expired, or it is a management key. | Send a live inference key in Authorization: Bearer. |
INSUFFICIENT_CREDITS | 402 | The credit of the organization is used up. | See the credits in the dashboard. |
SPEND_CAP_REACHED | 402 | The budget of the key or of the organization is used up. | See the limits in the dashboard. |
FORBIDDEN | 403 | Your role in the organization does not allow this. | Ask an Owner or Admin. |
MODEL_NOT_ALLOWED | 403 | The key or the organization may not call this model. | Use a model that GET /v1/models lists for the key. |
BROWSER_NOT_ALLOWED | 403 | The request has an Origin header. | Call the API from a server. |
MODEL_NOT_FOUND | 404 | The model is not in the catalog. | Check the name in GET /v1/catalog. |
NOT_FOUND | 404 | The path does not exist. | Check the path. |
METHOD_NOT_ALLOWED | 405 | The path exists, but not for this method. The Allow header lists the methods. | Use a listed method. |
KEY_LIMIT_REACHED | 409 | The organization has 100 live keys. | Revoke a key you do not use. |
REQUEST_TOO_LARGE | 413 | The body is larger than 8 MiB, compressed or not. | Send a shorter state. |
UNSUPPORTED_MEDIA_TYPE | 415 | The content encoding is unknown, or there is more than one. | Send the body without an encoding. |
INVALID_REQUEST | 422 | The body fails validation, for example it has no state. detail lists each problem. | Fix the fields in detail. |
RATE_LIMITED | 429 | Too many requests. | Wait for the seconds in Retry-After, then retry. |
CONCURRENCY_LIMITED | 429 | Too many requests in progress at the same time. | Wait for the seconds in Retry-After, then retry. Send fewer requests at once. |
INTERNAL | 500 | An error in Ollaya Cloud. | Retry. If it stays, report the X-Request-Id. |
QUEUE_FULL | 503 | The model is overloaded, or the time in X-Ollaya-Timeout-Ms ran out before an answer. | Wait for the seconds in Retry-After, then retry. |
Errors from the model itself, such as TOO_MANY_OPTIONS and INPUT_TOO_LONG, keep the status and the code of the API reference.
Limits and retries
Each organization has a limit on the request rate and a limit on the requests in progress at the same time. The dashboard shows them.
An answer from an organization with limits carries two headers. RateLimit-Policy gives the limits. RateLimit says how many requests are left and in how many seconds the burst is full again: "rate";r=<requests left>;t=<seconds>.
Retry a 429 or a 503 after the seconds in Retry-After. A decision does not change anything, so it is safe to retry.
To set how long you wait for an answer, send X-Ollaya-Timeout-Ms with the number of milliseconds. When Ollaya Cloud cannot answer in that time, it answers 503 QUEUE_FULL.