Ship your first routed call in five minutes.

One API key, one endpoint, and an SDK for the languages your developers already use.

01 / QUICKSTART
  1. 1

    Create a key

    Open the console, create a workspace key and store it as TORELLINE_KEY.

  2. 2

    Send a request

    Call /v1/route with a policy name. The default policy balances cost and latency.

  3. 3

    Open the trace

    Every call returns a trace ID. Open it to see the model, cost, latency and eval scores.

curl https://api.torelline.example/v1/route \
  -H "Authorization: Bearer $TORELLINE_KEY" \
  -d '{"policy":"default","input":"Summarise this ticket"}'
02 / GUIDES

Routing policies

Write cost, latency and quality rules in YAML.

Eval suites

Build golden sets and graders that gate releases.

Redaction

Strip sensitive fields before a prompt leaves your network.

Budgets

Set caps per team and get alerts before they hit.

Bring your own keys

Use your existing provider contracts through Torelline.

Self-hosted models

Register a model running on your own cluster.

03 / API REFERENCE
POST/v1/routeRoute a request through a policy and return the output.
GET/v1/traces/{id}Fetch the full trace for a call.
POST/v1/evals/runRun an eval suite against a model or policy.
GET/v1/policiesList routing policies in a workspace.
PUT/v1/policies/{name}Create or update a routing policy.
GET/v1/usageRead usage and spend for the current period.
04 / CHANGELOG
v4.2

Latency windows

Latency policies can now use rolling 1, 5 or 15 minute windows.

v4.1

Shadow evals

Run a candidate model on live traffic without serving its output.

v4.0

Policy packs

Bundle redaction and routing rules and apply them per workspace.

Ship your first routed call in five minutes.

One API key, one endpoint, and an SDK for the languages your developers already use.

01 / QUICKSTART
  1. 1

    Create a key

    Open the console, create a workspace key and store it as TORELLINE_KEY.

  2. 2

    Send a request

    Call /v1/route with a policy name. The default policy balances cost and latency.

  3. 3

    Open the trace

    Every call returns a trace ID. Open it to see the model, cost, latency and eval scores.

curl https://api.torelline.example/v1/route \
  -H "Authorization: Bearer $TORELLINE_KEY" \
  -d '{"policy":"default","input":"Summarise this ticket"}'
02 / GUIDES

Routing policies

Write cost, latency and quality rules in YAML.

Eval suites

Build golden sets and graders that gate releases.

Redaction

Strip sensitive fields before a prompt leaves your network.

Budgets

Set caps per team and get alerts before they hit.

Bring your own keys

Use your existing provider contracts through Torelline.

Self-hosted models

Register a model running on your own cluster.

03 / API REFERENCE
POST/v1/routeRoute a request through a policy and return the output.
GET/v1/traces/{id}Fetch the full trace for a call.
POST/v1/evals/runRun an eval suite against a model or policy.
GET/v1/policiesList routing policies in a workspace.
PUT/v1/policies/{name}Create or update a routing policy.
GET/v1/usageRead usage and spend for the current period.
04 / CHANGELOG
v4.2

Latency windows

Latency policies can now use rolling 1, 5 or 15 minute windows.

v4.1

Shadow evals

Run a candidate model on live traffic without serving its output.

v4.0

Policy packs

Bundle redaction and routing rules and apply them per workspace.

Ship your first routed call in five minutes.

One API key, one endpoint, and an SDK for the languages your developers already use.

01 / QUICKSTART
  1. 1

    Create a key

    Open the console, create a workspace key and store it as TORELLINE_KEY.

  2. 2

    Send a request

    Call /v1/route with a policy name. The default policy balances cost and latency.

  3. 3

    Open the trace

    Every call returns a trace ID. Open it to see the model, cost, latency and eval scores.

curl https://api.torelline.example/v1/route \
  -H "Authorization: Bearer $TORELLINE_KEY" \
  -d '{"policy":"default","input":"Summarise this ticket"}'
02 / GUIDES

Routing policies

Write cost, latency and quality rules in YAML.

Eval suites

Build golden sets and graders that gate releases.

Redaction

Strip sensitive fields before a prompt leaves your network.

Budgets

Set caps per team and get alerts before they hit.

Bring your own keys

Use your existing provider contracts through Torelline.

Self-hosted models

Register a model running on your own cluster.

03 / API REFERENCE
POST/v1/routeRoute a request through a policy and return the output.
GET/v1/traces/{id}Fetch the full trace for a call.
POST/v1/evals/runRun an eval suite against a model or policy.
GET/v1/policiesList routing policies in a workspace.
PUT/v1/policies/{name}Create or update a routing policy.
GET/v1/usageRead usage and spend for the current period.
04 / CHANGELOG
v4.2

Latency windows

Latency policies can now use rolling 1, 5 or 15 minute windows.

v4.1

Shadow evals

Run a candidate model on live traffic without serving its output.

v4.0

Policy packs

Bundle redaction and routing rules and apply them per workspace.

GET STARTED

Put every model on one control plane.

Start building →
GET STARTED

Put every model on one control plane.

Start building →
GET STARTED

Put every model on one control plane.

Start building →

Create a free website with Framer, the website builder loved by startups, designers and agencies.