OpenRouter Structured Output Playground
Set API Key
Model Configuration
Select Model
System Prompt
You are a helpful assistant that generates structured data.
JSON Schema
{ "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "number" }, "interests": { "type": "array", "items": { "type": "string" } } }, "required": ["name", "age", "interests"] }
Validate Schema
Test Input
Generate a profile for a fictional character named Alex who loves technology.
Run Test
Test Scenarios
Character Profile
Recipe Generator
Add Current
Run All Scenarios
OpenRouter Output
Current
Character Profile
Recipe Generator
Formatted
Raw
Output will appear here after running the test
Compare OpenRouter models price on
compare-openrouter-models.pages.dev