Build with llamay

Live playground

This page talks to a llamay running on your own machine. Nothing is sent to llamay.com — the requests go from your browser to 127.0.0.1:11435 and the tokens are generated by your hardware. If nothing is running, the page says so rather than pretending.

Checking for a local llamay…

What each recipe shows

Streaming

Tokens arrive as server-sent events and render as they land. The first frame carries the role and no text, which is what lets a client paint an empty bubble immediately.

Structured output

A JSON Schema is enforced while sampling, not checked afterwards. The reply parses or the request fails — and an enum cannot be stepped outside, because the sampler never sees those tokens.

Stop sequences

Generation halts at the delimiter and the delimiter is not in the answer. A sequence split across two tokens still stops, which is the case that makes this harder than it looks.

Contexts

A prefix is computed once and forked per request, so the second call pays for its own tokens only. Watch the reported prefill drop on the second run.

Where the text goes

Into your browser's memory and out to 127.0.0.1. This page has no backend of its own: there is no endpoint on llamay.com that sees what you type here, because every request is issued by the tab to your own machine. Turn the network off after loading the page and everything below still works.

Where to go next

Recipes has each of these as a complete script, plus sixteen more. The HTTP API documents every field the playground sets. Deployment patterns covers what happens when it is not your laptop making the call.