Last refreshed 2026-10-15. Next refresh: weekly.
Why use Laya on Vercel AI Gateway?
Vercel AI Gateway offers Laya with free input token pricing. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.
Setup recipe
Python + curlpip install openaiexport AI_GATEWAY_API_KEY=...import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],convaiinnovations/layaRequest example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AI_GATEWAY_API_KEY"],
base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
model="convaiinnovations/laya",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Gotchas
- Use provider model ID "convaiinnovations/laya", not the LLMReference slug "laya".
- creator/model-name e.g. kwaipilot/kat-coder-pro-v2
- The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | Free |
| Output tokens | Free |
Capabilities
About Laya
Laya is ConvAI Innovations' English open-weight System 1 decision model (ModernBERT-large, 421M, context 512), released on Hugging Face on 2026-09-18 under Apache 2.0. It is non-autoregressive: a state plus typed questions (choice, yes/no (called "noul" in the API) or score) returns calibrated probabilities in one forward pass, trained with RLCD, and it does not generate text. Install with pip install laya; the Router sends English inputs here and other languages to Laya Multilingual. The family hub also ships laya-multilingual and laya-typed-decisions. A community package, laya-serve, exposes a Jev-compatible POST /v1/systemone endpoint; ConvAI does not publish a hosted per-token price.