A self-hosted, production-ready Laya Decision Engine deployed into your AWS environment with a single click. Because everything runs entirely within your private cloud, your data stays secure, isolated, and fully under your control. Best of all, unlimited usage.
This is a self-hosted deployment of the Laya Decision Engine. It runs as a single GPU-powered EC2 instance allowing you to keep your data private and evaluate typed decisions with no per-token charges. Access is via HTTP on port 8080. Once the instance is powered on, the server requires up to 2 minutes to load the decision models before it is ready to serve requests. Highlights of the Laya model include:
Non-autoregressive System 1 engine: answers typed choice, score, and noul questions over text, email, tickets, or JSON in a single forward pass. It never generates text, so there is nothing to parse and nothing to hallucinate.
Built-in Router preloads the English, multilingual, and typed-decisions checkpoints and selects among them per request, covering 100+ languages. Measured latency on Tesla T4 is about 33 milliseconds for a single question.
Apache 2.0 open weights. Three checkpoints: English ModernBERT-large (421M), multilingual mmBERT-base (322M), and typed-decisions (421M).
Treat Laya as a fast foundation model to specialize. The published 0.766 typed-decisions score is from the fine-tuned checkpoint; base checkpoints score near 0.35 on that benchmark. Keep choice schemas under 20 options, or use a two-step hierarchy.
Example API calls
Replace PUBLIC_IP with the instance address.
Health check
curl http://PUBLIC_IP:8080/health
Expected response
{"status":"ok"}
Predict (optional model field pins english, multilingual, or typed-decisions; omit it to let the Router choose)
curl -X POST http://PUBLIC_IP:8080/predict -H 'Content-Type: application/json' -d '{"state":{"body":"I was charged twice, please refund."},"questions":{"queue":{"type":"choice","instructions":"Which queue owns this ticket?","criteria":{"billing":"refunds, invoices","infrastructure":"outages","support":"general inquiries"}},"urgency":{"type":"score","instructions":"How urgent is this ticket?","criteria":["low","medium","high","critical"]},"churn_risk":{"type":"noul","instructions":"Does the customer threaten to cancel?"}}}'
Expected response shape
{"routing":{"model":"english","reason":"English Latin text"},"answers":{"queue":{"type":"choice","choice":"billing","confidence":0.94},"urgency":{"type":"score","score":1.8},"churn_risk":{"type":"noul","noul":0.16,"confidence":0.84}}}
Routing may select multilingual for non-English input. Pin a checkpoint with "model":"typed-decisions" in the JSON body.
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
Try this product free for 5 days according to the free trial terms set by the vendor. Usage-based pricing is in effect for usage beyond the free trial terms. Your free trial gets automatically converted to a paid subscription when the trial ends, but may be canceled any time before that.
You pay by the hour for a single instance type: g4dn.xlarge. Billing is usage-based, so charges accrue only while the instance runs. There are no tiers or upfront commitments here — you pick this GPU-backed instance and pay for the hours you use. This instance runs the decision engine, which evaluates typed questions over text, email, tickets, or JSON in a single forward pass and returns calibrated probabilities. Because there is one dimension, your cost scales directly with how many hours you keep the instance running.
Top-of-mind questions for buyers
What resources do I get with the g4dn.xlarge instance for running the decision engine?
You get one GPU-backed instance. It runs the decision engine, which evaluates typed questions over text, email, tickets, or JSON. The engine returns calibrated probabilities in a single forward pass, typically around 33 milliseconds. Model checkpoints for English and 100+ languages run on this instance.
Am I charged when the instance is stopped or paused?
Software charges accrue only while the instance runs. A fully stopped instance stops accruing hourly software charges. Stopped instances may still incur underlying AWS storage fees for attached volumes, but the software meter counts running hours only.
Does keeping all language checkpoints loaded change what I pay?
No. You pay by the hour for the instance, not per checkpoint. Preloading the English and multilingual models into memory affects instance memory use, not your hourly rate. Your cost depends only on how many hours the instance runs.
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Configured for production environments, please allow up to 2 minutes once the instance is powered on for Laya to load the decision models. FastAPI is exposed on port 8080.
Health: curl http://<PUBLIC_IP>:8080/health
Test via HTTP with: curl -X POST http://<PUBLIC_IP>:8080/predict -H 'Content-Type: application/json' -d '{"state":{"body":"I was charged twice, please refund."},"questions":{"churn_risk":{"type":"noul","instructions":"Does the customer threaten to cancel?"}}}'
Additional details
Usage instructions
Deploy the EC2 instance, configure the Security Group to only allow inbound port 22 and 8080 from your trusted IP address(es)
After the instance is powered on, allow up to 2 minutes for Laya to load the decision models. GET /health returns 200 when ready.
Access the Laya Decision Engine via FastAPI on port 8080. POST /predict accepts {state, questions} and optional model (english, multilingual, typed-decisions). GET /health reports readiness.
Test via HTTP with: curl -X POST http://<PUBLIC_IP>:8080/predict -H 'Content-Type: application/json' -d '{"state":{"body":"I was charged twice, please refund."},"questions":{"churn_risk":{"type":"noul","instructions":"Does the customer threaten to cancel?"}}}'
Our team is happy to assist with deployment and configuration issues.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
A user-centric Business Rules Engine (BRE) for managing complex logic without requiring code. The platform is designed for business analysts and rule authors to visually create, test, and manage decisions, streamlining operations through instant logic deployment and automation.
Decisions is an orchestration platform that unifies workflows, rules, AI agents, integrations, and process intelligence to automate and govern complex work. Visual tools help teams build applications and coordinate processes across people, systems, and AI with deterministic control.
PoD Decision Engine is a no-code tool for developing and deploying decision rules, ideal for business areas such as credit, fraud, collections, CRM, among others. It enables the creation and management of rules without coding, connecting to external data providers, such as credit bureaus, and to internal sources, such as files and data lakes. With an intuitive interface, it streamlines decision automation, integrating real-time data to enhance operational efficiency and strategic decision-making within your organization.
The Mevo Decision Engine turns structured data into smarter decisions. Built on the Mevo Data Platform, it consumes modeled journey data - already enriched with attribution and incrementality - and, through our conversational UI, unlocks recommendations that move the needle across creative, media, and audience strategies.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.