Try a change in the playground
Run side-by-side comparisons across models or prompt revisions, inspect diffs, and measure latency and cost.
Use improve → playground for fast interactive iteration before opening a full experiment. Send one input across multiple models or prompt instructions, inspect answers side by side with Diff, and save winning instructions straight to a managed prompt.
The playground uses the AI provider keys configured under Settings → Project → AI providers (including organization keys inherited by your project). See Model providers and keys if no models appear in the picker.
Compare models and instructions side by side
- Choose Model A. Open improve → playground (or click Open in Playground on any managed prompt) and pick a model from Select model.
- Write instructions and variables. Enter system instructions and user turns, using
{{variable}}placeholders anywhere inputs change between runs. - Add side B (or more). Click + Model to add another column. By default Sync prompt with others keeps instructions shared so you isolate model differences; toggle the link button on a column to test divergent wording.
- Run the comparison. Enter your test message in Ask all models the same thing… to execute every side in parallel, or run a single column on its own.
- Inspect metrics and Diff. Under each output, neatlogs reports input/output tokens, total latency, time to first token (TTFT), and estimated model cost. Toggle Diff to highlight wording changes against side A.
Configure model settings and tools
Open the settings button on any column to configure model parameters supported by that provider:
- Reasoning effort and Verbosity for reasoning models
- Max tokens and Text format (including structured outputs)
- Tools and Tool choice definitions to test function-calling behavior inline
Promote a draft to Prompts or Experiments
- Quick reuse: Open the … menu on the winning column and select Save as prompt to commit it as a version under improve → prompts, then assign a label in Manage prompts.
- Pre-release proof: Playground tests stay interactive and do not modify production telemetry. When a change is ready to validate against historical cases and detections before shipping, launch an A/B run in Experiments (beta).
- Tuning an AI judge: To test evaluator rubrics in the terminal against trace examples, run
neatlogs evaluators playground(neatlogs evaluatorsCLI).
