# What is Structured outputs?

Markdown version of https://kymaapi.com/glossary/structured-outputs, for agents and crawlers. Same content as the HTML page.

- Generated: 2026-10-28T21:43:30.518Z
- HTML page: https://kymaapi.com/glossary/structured-outputs
- Model catalog: https://kymaapi.com/models.md
- Pricing: https://kymaapi.com/pricing.md

Structured outputs constrain a model to return valid JSON that matches a schema you provide, so downstream code can parse it reliably.

Free-form model text is hard to consume programmatically: it drifts in format and occasionally breaks parsers. Structured outputs (and the related JSON mode) force the model to emit JSON conforming to a schema, eliminating the parse-and-repair step.

This is essential for data extraction, classification, and any pipeline where a model's output feeds another system. You define the shape once; the model fills it in.

## How Kyma does it

Kyma forwards response_format and JSON-mode parameters to models that support them, so you get schema-valid JSON back through the same OpenAI-compatible endpoint.

- [Tool calling](https://kymaapi.com/glossary/tool-calling)
- [Structured outputs guide →](https://docs.kymaapi.com/guides/structured-outputs)
- [Browse models](https://kymaapi.com/models)

Try it with $0.50 free credit on the free tier. No card required. · [Get API key →](https://kymaapi.com/signup)

More terms

- [LLM gateway](https://kymaapi.com/glossary/llm-gateway)
- [LLM router](https://kymaapi.com/glossary/llm-router)
- [Prompt caching](https://kymaapi.com/glossary/prompt-caching)
- [Model aliases](https://kymaapi.com/glossary/model-aliases)
- [LLM failover](https://kymaapi.com/glossary/llm-failover)
- [Tool calling](https://kymaapi.com/glossary/tool-calling)
- [Pay-per-token pricing](https://kymaapi.com/glossary/pay-per-token)
