All models
Model card

ERNIE 5.1

lx1-ernie-5.1WorkhorseLive in the catalog

The general-purpose top of the ERNIE line: wide knowledge, clean instruction following, and vision, at a mid-tier price. A dependable backbone for agents whose work ranges wide — support, ops, content, research — rather than drilling deep into one hard problem.

Context window128K tokens
Input · per Mtok$0.59
Output · per Mtok$2.65
Served byLayer X1 engine
Where it earns its keep[01/03]
  • 01Broad general knowledge with vision
  • 02Clean instruction following
  • 03Mid-tier price for all-day traffic
Capabilities
Tool callingYes

Strict, schema-faithful tool calls, enforced by the engine on every request — safe to build an agent loop on.

ReasoningNo

No hidden chain-of-thought: output length stays predictable, latency stays tight.

VisionYes

Reads images — screenshots, diagrams, and UI states — inline in the conversation.

Behind the endpoint[02/03]

One endpoint. Served by our engine.

ERNIE 5.1 is served through the Layer X1 engine — zero-downtime serving is the design target, not a status-page apology. You request it by name; everything else is our problem.

Call it by name
curl https://api.layerx1.in/v1/messages \
  -H "x-api-key: lx1_your_key" \
  -H "content-type: application/json" \
  -d '{
    "model": "lx1-ernie-5.1",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello" }]
  }'

OpenAI-style clients work too — send the same model name to /v1/chat/completions with a Bearer key. See the docs for both dialects.

Put your agent on real infrastructure

Your agent doesn't change.
Everything underneath does.

$export ANTHROPIC_BASE_URL=https://api.layerx1.in

Start free · no card · Starter from $5/mo