Skip to main content

Naming a model

Every endpoint takes one model. It names two things, written like a fraction:
  • the upstream model is ours: a face, or a composite of faces, with the maestro that steers it (@alice:maestro-1);
  • the downstream model is the model that generates the answer, written after the first / (gpt-5.4, claude-sonnet-4-6, jev-latest).
There are no other parameters for it, so the chat endpoints stay drop-in for OpenAI- and Anthropic-compatible clients: set the base URL to https://api.faces.sh/v1 and put this in model.

Which endpoint takes which

The grammar

  • Your own face is @alias. Another account’s is @owner~alias: a system face (@head~socrates), or one published or shared with you.
  • The maestro is required. maestro-1 is the standard one. maestro-1-flash steers sooner and costs 10 times more, on the upstream part only (see Billing).
  • The downstream model is taken verbatim. Everything after the first / is the model’s id, as GET /v1/models lists it, so a /, : or @ inside it never matters: @alice:maestro-1/google/gemma-4-31b-it works.
  • A prefix is ours only when it ends with its maestro. Without :maestro-N before the first /, the whole value reads as a model id, and a model is not served without a face.

Composites

Combine faces with boolean set algebra, in parentheses, and write the maestro once after the whole expression: Parentheses group and nest: ((@a | @b) - @c):maestro-1. Faces of other accounts mix with your own: (@dana~alice | @bob):maestro-1/gpt-5.4. Spaces around operators are optional. Hyphens. An alias may contain a hyphen (@sun-tzu) but never starts or ends with one. So a - right before @ or ( is the difference operator, and any other - is part of a name: @levin-big-@tyson and (@levin-big - @tyson) both mean levin-big minus tyson. See Synthetic faces for what a composite is.

Names

An owner or alias never contains ~ @ / : | & ^ ( ) or whitespace, and never starts or ends with -. Creating a face with such an alias is a 400.

Refusals

Every old form is refused with a 422 whose detail shows the form to use. Nothing is charged.

Listing the models

GET /v1/models lists every model once, with its price. Without ?kind= it lists the maestros and the chat models. Each entry carries: ?kind= takes one kind or a comma-separated list (?kind=upstream,decision); ?kind=all lists every kind. An unknown kind is a 422 that lists the accepted ones.
Trimmed: each entry also has the fields in the table above. Drive a model picker from this list rather than a hardcoded one, and offer only kind: "chat" models after the / on chat.