# OpenRouter explains three ways to get reliable structured output from any LLM

> Original title: How to Get Structured Output from Any LLM: JSON Schema, Tool Calls, or a Decision Model

- Source: OpenRouter Blog
- Published: 2026-11-10T00:00:00.000Z
- Bad Influence: https://badinfluence.news/items/dqyru28blag190gxeqyzgnqzu
- Original: https://openrouter.ai/blog/tutorials/structured-output-llm/

## Summary

OpenRouter says LLM structured output can be obtained with a strict JSON Schema, a forced tool call, or a decision model, depending on the model's support. In a test of 24 messy support messages on nine structured-output models plus GLM 5.3 FlashX, 209 of 216 replies matched a strict schema, while prompt-only JSON requests failed 18 times because of code fences.
