LiyaEngine
Platform

Models + router

Use our models, or bring your own.

Start on the baseline models LiyaEngine provides, or connect your own keys for OpenAI, Anthropic, Gemini, Azure OpenAI, Bedrock, OpenRouter or any OpenAI-compatible endpoint. Switch, mix or fail over without touching product code.

Provider chain
Healthy
ProvidersStrategyFallbacksHealth

Example configuration

default anthropic healthy
fallback_1 openai healthy
fallback_2 azure_openai healthy
strategy hybrid
EndpointUnchanged
FailoverAutomatic
Served byYour key or platform
Two ways to runBaseline models included, or bring your own keys.
Seven provider typesDirect APIs, Azure, Bedrock, OpenRouter and custom.
Automatic failoverOrdered chain, retried inside the same request.

Choose how you run models

Start on ours. Bring yours when it matters.

The two options use the same intent contract, so you can begin on the baseline and move to your own keys, or mix them, without changing any application code.

LiyaEngine baseline models

Built in

No provider account needed. Requests run on models LiyaEngine provides, and provider failover is handled for you.

  • Included on every plan, starting with Standard models on Free
  • Higher model tiers as you move up: Advanced, Premium, then Frontier
  • Usage counts against your monthly token budget; top-ups add capacity

Your provider keys (BYOK)

Bring your own

Connect your own accounts to keep inference under your agreements, regions and billing.

  • Available on every plan, including Free
  • Bypasses the platform token pool and model-tier limits
  • Inference cost goes directly to your provider account

Which models each plan includes

Model tiers rise with your plan. Bring-your-own-key requests are not limited by tier on any plan.

Model tierFreeCoreProTeamsEnterprise
StandardYesYesYesYesYes
Advanced—YesYesYesYes
Premium (Claude / GPT-5 class)——YesYesYes
Frontier, negotiated rates————Yes
Bring your own keyYesYesYesYesYes

Supported providers for BYOK

Credentials are validated against the provider before they are saved. Add as many as you like and order them into a fallback chain.

ProviderCredential you supplyGood for
OpenAIAPI keyDirect
AnthropicAPI keyDirect
Google GeminiAPI keyDirect
Azure OpenAIAPI key, endpoint, deployment ID, API versionPin inference to your Azure region
AWS BedrockRegion plus access keys, or a cross-account IAM roleRole assumption avoids storing long-lived AWS secrets
OpenRouterAPI keyOne key for many hosted models, including Mistral and Llama families
Custom endpointAPI key and HTTPS base URLAny OpenAI-compatible server, including self-hosted or fine-tuned models

How a request is routed

From intent call to recorded evidence.

Routing runs inside the engine on every call. There is nothing to wire up in your application.

01

Resolve the intent

The call names a domain and intent. Application code never names a provider or a model.

02

Pick the model

Your strategy (hybrid, all-mini or all-standard) and any per-intent override choose the model name.

03

Call your default provider

With BYOK, the request goes to your default provider. Without it, it runs on LiyaEngine's baseline models.

04

Fail over automatically

On any error, including an auth failure, the next provider in your chain is tried inside the same request.

05

Record the evidence

The trace keeps provider, model, tokens, cost and whether the platform or your key served the call.

# the application call never names a provider or model
POST /v1/run
{ "domain": "support", "intent": "answer_question", "input": { "user_id": "usr_123", ... } }

# response metadata, recorded in the trace
served_by: byok   provider: anthropic   tokens: 1,284   cost: $0.0031

Controls

Keep cost, resilience and keys under your control.

Routing is configuration, not code. These are the settings teams use to run it in production.

Cost caps

Hard limits per request, per session and per day. Defaults are $0.10, $1.00 and $100. A request over its cap is rejected before it spends.

Strategy and overrides

Send standard intents to a lighter model and premium ones to a stronger one, or pin a specific model to a specific intent.

Key safety

Keys are validated before saving, AES-256-GCM encrypted at rest, and never returned by the API. Only a masked preview is shown.

Health checks

Run a live check on any provider on demand, and see its last validated time and health status in one list.

Ordered fallback

Choose a default and the order of everything behind it. The application sees one response whichever provider answered.

Attribution

Every response records which provider and model served it, so cost and quality can be reviewed per intent.

Questions

Before you build.

Practical answers about models, keys and failover.

Do I need my own provider key to use LiyaEngine?+

No. Every plan includes baseline models provided by LiyaEngine, so you can build without a provider account. Bring your own keys whenever you want to control inference cost, region or provider choice.

Does my endpoint change when I change models or providers?+

No. The application keeps calling the same domain and intent. Model and provider choices live in tenant configuration.

What happens when a provider fails?+

With your own keys, LiyaEngine retries the next provider in your ordered chain inside the same request, including after an authentication failure. Your application sees a single response.

Can I keep model calls in a specific region?+

Yes. Connect Azure OpenAI or AWS Bedrock in the region you need, or point a custom endpoint at infrastructure you operate.

Which model tiers does my plan include?+

Free includes Standard. Core adds Advanced, Pro adds Premium (Claude and GPT-5 class), and Enterprise negotiates Frontier access. BYOK is included everywhere and bypasses the tier limits.

Can I see which model handled a request?+

Yes. Each trace records the provider, model, token usage and cost, and whether the platform or your own key served the call.

Ship on any model. Change it later.

Start on the baseline models today and connect your own keys whenever your requirements change.