Model Playground
AVAILABLETest foundation models and virtual routing policies directly within the Developer Portal without writing client code.
- Portal Location:
Projects > [Your Project] > Operations > Model Playground(/projects/[slug]/model-playground)
What is the Model Playground? #
The Model Playground allows engineers and prompt designers to:
- Test raw foundation models (
gpt-4o,deepseek-chat,claude-3-5-sonnet) side-by-side with virtual routing aliases (smart,fast). - Fine-tune hyperparameters:
temperature,top_p,frequency_penalty,presence_penalty, andmax_tokens. - Simulate streaming performance and measure real-time Time-To-First-Token (TTFT) latency.
- Export formatted cURL, TypeScript, or Python snippets based on your active playground settings.
Rendering diagram...
graph LR
User["Developer in Playground"] --> Interface["Playground Interface"]
Interface --> ModelSelect["Model / Alias Selector ('smart')"]
Interface --> Params["Parameters (Temp: 0.7, Max Tokens: 2048)"]
Interface --> TestRun["Click Run / Stream"]
TestRun --> Gateway["Naagmani Gateway (:8080)"]
How to Use the Model Playground #
- In your project workspace, click Operations > Model Playground.
- Select a target model or routing policy from the top dropdown.
- Enter your System Instructions and User Prompt.
- Adjust temperature and generation limits in the right settings drawer.
- Click Run or press
Ctrl + Enter. - Click View Code to copy production-ready SDK snippets.