# AI Playground — Xorsel Utils

A generic AI chat playground that runs on OpenRouter. Bring your own OpenRouter API key, pick any model, and chat directly from your browser. Each response is annotated with:

- **TTFT** — time to first token
- **TPS** — output tokens per second
- **Total duration**, prompt + completion **token counts**
- **Cost** in USD (using OpenRouter's reported cost when available)

## Privacy

Your OpenRouter API key is stored only inside your browser (IndexedDB). It is sent with each chat request to the Xorsel proxy, which forwards it once to OpenRouter and never persists, logs, or echoes it.

## What you can do

- Chat with any model available on OpenRouter.
- Compare responses, throughput, and cost across models and providers.
- Use reasoning models (Claude thinking, DeepSeek R1, o1-style) with full chain-of-thought display.
- Send images to vision models that advertise an `image` input modality.

## Related

- Browse all Xorsel utilities: <https://utils.xorsel.com>
- Get an OpenRouter API key: <https://openrouter.ai/keys>
