Prototypes that need a backend
You wanted to test a prompt. You ended up configuring a project.
Playground
The fastest way to find out if an idea works. Pick a model or let the router choose, write a prompt, and see the response alongside its tokens, latency and cost. No code required.
test ideas in the browser
tokens, latency and price per run
same request, same endpoint
The problem
You wanted to test a prompt. You ended up configuring a project.
The demo looks great, but nobody knows the price per call at scale.
A tool that behaves differently from the real API wastes everyone's time.
Capabilities
Pick a named model, or leave it unset and let the router choose.
Tune the same parameters you will send from code.
Input tokens, output tokens, latency and price shown with each response.
The playground runs through the real inference path, so what you see is what you ship.
Run the same prompt twice and see the cached result come back unbilled.
Playground runs appear in request history alongside API traffic.
Use cases
Iterate on wording until the output is right.
Same prompt, different models, side by side in your history.
Measure a typical request before you plan a rollout.
Show a colleague a working idea in seconds.
How it works
Sign in and choose Playground.
Choose a model or let the router pick, set temperature and max tokens, and run.
Send the same prompt, model_id and parameters to POST /api/ainf/inference.
Control
API keys are shown once at creation and stored only as a hash. Revoke any key instantly from Settings.
Every request carries its own receipt: tokens in, tokens out, latency and price. Nothing is billed that you cannot trace.
Per-account rate limits and a free monthly allowance keep experiments safe before they become production.
You choose exactly what you send. Repeat prompts can be served from your cache, and cache hits are never billed.
For developers
Send a prompt and a capability, or name a model. One bearer key, one small JSON body, and a full receipt on every response.
curl https://YOUR-DOMAIN/api/ainf/inference \
-H "Authorization: Bearer $AI_INFERENCE_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042" \
-d '{"prompt":"Summarise this ticket in one line","capability":"chat"}'They are metered like any other call and count toward your free monthly allowance first. Cached repeats are not billed.
No. The playground uses your signed-in console session.
Yes. It calls the same inference endpoint with the same routing, caching and pricing.
Every run appears in request history with its model, tokens, latency and price.
Open the playground and run it free.