Glossary / API mechanics
JSON mode
JSON mode constrains the model to emit syntactically valid JSON, optionally following a supplied schema, so output can be parsed without regex or repair.
Definition
JSON mode constrains the model to emit syntactically valid JSON, optionally following a supplied schema, so output can be parsed without regex or repair.
What it changes in your bill
It removes a common hidden cost: malformed output that triggers a retry. A cheap model with reliable JSON often beats an expensive model with occasional parse failures.
How to check it yourself
Track parse failure rate per 1,000 calls; above 1% you are paying twice for the same work.
Rule of thumb: compare providers on cost per completed task, not on the headline price per million tokens. Retries, truncation and verbosity all live in the difference.
Related terms
Try it on Tapix AI
Tapix AI exposes 100+ models behind one OpenAI-compatible endpoint. Prepaid from $1, no monthly minimum, live prices per model.
Get a key and run one real call See live prices