Hosted Laya API

Laya is open weights, so you can always run it yourself. A hosted API makes sense when you do not want to run and patch a model server, when your traffic is small or spiky, or when you want to compare Laya with other decision models before committing. This page lists the options and what to check.

419 projects

laya-java

apscot

Runs Laya typed-decision models in Java and provides compatible endpoints and Spring Boot tooling

2·GitHub repo
D

laya-en-fp32-swev

danielamitay

Exports Laya as a Core ML model for local typed decisions through the Swev Swift package

9·HF model
L

laya-command-head

leehack

Provides a fine-tuned Laya decision head for classifying commands in a Dart app

1·HF model
N

laya

nishanth-kj

Provides a multilingual typed-decision model and Python package with optional serving and integration extras

1·HF model

laya-jev

KonghaYao

Runs local Laya inference and exposes Jev-compatible HTTP endpoints

1·GitHub repo

laya-go

lengoman

Provides Go types, routing, batching, and transports for using local Laya checkpoints

1·GitHub repo

JevCoreML

GodModeAI2025

Provides Core ML decision models, a Swift package, an HTTP server, and a demo app

1·GitHub repo

fastlaya

emtay-com

Serves English and multilingual Laya decision models through a FastAPI service

1·GitHub repo

laya-server

pambrose

Implements a Jev-compatible API server backed by local Laya checkpoints

1·GitHub repo

laya-mcp

PerryLink

An MCP server for Laya typed decisions with preflight checks and persisted calibration

1·GitHub repo

laya-mac-serve

chrisns

Serves Laya from a macOS menu bar app through an OpenAI-compatible HTTP endpoint

1·GitHub repo

localjev-mlx

rimusz

A self-hosted System One judgment service for Apple Silicon using laya-mlx

1·GitHub repo

decide

gopaljigaur

Provides a Python client that chains Laya with hosted and other decision-model backends

1·GitHub repo

system-one

asynq-io

Offers a provider-neutral SDK for typed decisions through hosted and local backends

1·GitHub repo

stuntdouble

ReallyArtificial

Proxies Jev requests to local decision models and compares their answers on recorded traffic

1·GitHub repo

laya

ganeshdipdumbare

Serves Laya typed-decision predictions over HTTP in a self-hosted Docker deployment

1·GitHub repo

laya

DilwoarH

Wraps the Laya Router agent in a Flask API for typed-decision predictions

1·GitHub repo

laya-unity

0x440-1me

A Unity SDK for local Laya-compatible servers and TypeSafe System One endpoints

1·GitHub repo

laya_dashboard

ghozifadilah

A REST API and web studio serve Laya decisions and manage workflows

1·GitHub repo

decision-infra

hufaei

Routes typed-decision requests to hosted Jev or local Reflex, SemIf, and Laya models

1·GitHub repo

laya-exp

changtimwu

Experiments comparing an MLX Laya port with Jev and a TypeSafe-compatible Laya client

1·GitHub repo

laya-rn-executorch

ksanjiv05

Exports and runs Laya decision models offline in a React Native app using ExecuTorch

1·GitHub repo

Tern

AmRitJain0442

A model router uses local Laya-MLX inference to select between configurable provider tiers

1·GitHub repo

system-one-router

mmornati

A Go gateway routes prompts to language models using Jev or a locally running Laya decision model

1·GitHub repo

Disclosure: layahost is run by the same team as laya.tools. It is listed first for that reason, not as a ranking.

Self-host or hosted?

Self-hosting is the better fit when text must not leave your machines, when volume is high and steady so that your own hardware is cheapest per call, or when you need on-device latency. The API servers page covers laya-serve, ollaya, Docker and native servers, and the run-locally guide covers Python, Mac, Node.js and CPU setups.

Check the hardware first. laya-cpu-benchmark concluded that a realistic CPU call is 0.3 to 2 seconds, and the Railway template reports about 0.2 to 0.9 s per call on CPU, with around 3.4 GB of memory for both checkpoints. Without a GPU or an Apple Silicon Mac, a self-hosted server can be slower than a hosted one.

A hosted API is the better fit when you do not want to operate a model server, when traffic is low or bursty, or when you want features around the model, such as templates, test sets or other models on the same endpoint.

Hosted options

Details are from each service's site, checked on 2026-10-14. Neither is affiliated with Convai Innovations or TypeSafe.

layahost

  • Models: Laya (laya-english, laya-multilingual) on its own servers in Helsinki. Cloudflare's open Clef and Clef-flash on the same API, answered on Cloudflare's Workers AI GPUs.
  • API: the Jev-compatible POST /v1/systemone, and a simpler /v1/decide with ready templates: moderation, spam, support_intent, routing, sentiment, priority, prompt_injection, pii and language.
  • Tools: test sets in the console to compare models on your own labelled data, decision flows built in a visual editor, an MCP server, an n8n node (n8n-nodes-layahost) and a drop-in for Google's Perspective API.
  • Pricing: Laya per decision (one answered question), the same whatever the text length. Clef per input token. New accounts get $1 of credit after email verification, with no card.
  • layahost.com · migrating from Jev

Laya Studio

  • Models: Laya's English and multilingual checkpoints, routed automatically.
  • Location: GPUs in Switzerland and an account database in Zurich. A Swiss-only mode keeps requests from failing over abroad. The site says request content is not stored and request metadata is kept for 30 days.
  • API: POST /v1/systemone at api.laya.studio.
  • Pricing: per input token, like Jev. New workspaces start with 6k free tokens.
  • laya.studio

Railway template

The Railway template is a middle way: a one-click deploy of a Jev-compatible Laya server into your own Railway account. You pay Railway for the machine and your text goes only to your own service, but running and updating it is still your job. Its page says a Hobby or Pro plan is needed for the memory.

What to check

  • Data location. Where the model runs, where accounts are stored, whether request text is kept, and whether a failover can move a request to another country. On layahost, Laya and Clef run in different places.
  • Pricing model. Per-decision pricing does not depend on text length, so a long email costs the same as a short one, but three questions in one request count as three decisions. Per-token pricing, which Jev also uses, grows with the length of the text. Price both with your real message length and questions per request.
  • Jev compatibility. Both hosted services accept /v1/systemone and say an existing Jev client works after a base-URL and key change (layahost documents this for the official TypeSafe SDKs). The answers still come from Laya, so a confidence threshold tuned on Jev does not transfer. See the differences on the API servers page.
  • Latency. The network adds to the model's own time. Laya Studio reports about 120 ms end to end from Europe for a warm request, and layahost lists about 0.1 s for Laya and 0.4 to 1 s for the Clef models. Measure from your own region.
  • Accuracy. Hosting does not change the model. Independent benchmarks put base Laya behind Jev and the larger open alternatives on hard tasks (see the benchmark section there, and Laya benchmarks for the model card's own numbers). Run a few hundred of your own labelled examples before you move production traffic.

More ways to use Laya