Layer X1Get a key
The engine

An engine of layers.

A request-level gateway sees one call at a time. Layer X1 sees the whole trajectory — and runs it through a stack of layers, each one a decision your agent never has to make.

Layer X1 engine — a field of computation
  1. 01

    Cache

    We keep the prompt prefix warm across the whole run — not a single call. Your agent sends the same request it always did; the cache lives underneath, so repeated context stops costing full price.

  2. 02

    Route

    Every step is scored against 70+ models. Layer X1 chooses the least-cost path through the entire trajectory, not the cheapest individual call — cheap where it's safe, strong where it counts.

  3. 03

    Branch

    Sub-tasks fork onto cheaper branches while the main trunk stays pinned to one model. Context never fragments, and the expensive model only runs where it earns its keep.

  4. 04

    Escalate

    When a step stalls or fails a check, Layer X1 climbs to a stronger model and retries automatically. The agent keeps moving instead of dead-ending mid-task.

1environment variable to switch on
70+models behind one endpoint
0changes to your agent loop
A single layer specimen
Get started

Put the layer under your agent.

One environment variable. Your agent doesn't change — everything underneath does.

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