- Input /1M
- $0.02
- Output /1M
- $0.04
- Reference cost
- $0.03
- Context
- 131K
- AA Intelligence
- 6.9
AI model capabilities
AI models that support JSON mode
Find models with a listed response-format option and compare their token costs. Compare 280 supporting models by input price, output price, context window and published intelligence. Find the cheapest option for a reference text workload, then check the serving API before you build.
Lowest reference cost
Llama 3.1 8B Instruct$0.03
1M input + 250K output tokens. Tool fees and discounts excluded.
Highest published intelligence
Claude Opus 5.557.6 AA Intelligence Index
Among supporting models with a published score; not a capability-specific benchmark.
Cheapest AI models with JSON mode
Ranked by the cost of 1 million input and 250,000 output tokens at standard rates. A different token mix can change the cheapest model. Support requires an explicitly listed catalog feature, not an inference from a model family.
- Input /1M
- $0.03
- Output /1M
- $0.03
- Reference cost
- $0.04
- Context
- 131K
- AA Intelligence
- —
- Input /1M
- $0.02
- Output /1M
- $0.06
- Reference cost
- $0.04
- Context
- 262K
- AA Intelligence
- —
- Input /1M
- $0.03
- Output /1M
- $0.08
- Reference cost
- $0.05
- Context
- 1M
- AA Intelligence
- 41.8
- Input /1M
- $0.03
- Output /1M
- $0.13
- Reference cost
- $0.06
- Context
- 131K
- AA Intelligence
- 9
- Input /1M
- $0.03
- Output /1M
- $0.13
- Reference cost
- $0.06
- Context
- 1M
- AA Intelligence
- —
- Input /1M
- $0.03
- Output /1M
- $0.15
- Reference cost
- $0.07
- Context
- 128K
- AA Intelligence
- —
- Input /1M
- $0.05
- Output /1M
- $0.08
- Reference cost
- $0.07
- Context
- 33K
- AA Intelligence
- —
- Input /1M
- $0.04
- Output /1M
- $0.15
- Reference cost
- $0.07
- Context
- 128K
- AA Intelligence
- —
- Input /1M
- $0.05
- Output /1M
- $0.10
- Reference cost
- $0.08
- Context
- 131K
- AA Intelligence
- 4.8
- Input /1M
- $0.04
- Output /1M
- $0.15
- Reference cost
- $0.08
- Context
- 260K
- AA Intelligence
- —
- Input /1M
- $0.04
- Output /1M
- $0.14
- Reference cost
- $0.08
- Context
- 1M
- AA Intelligence
- —
- Input /1M
- $0.0065
- Output /1M
- $0.30
- Reference cost
- $0.08
- Context
- 1M
- AA Intelligence
- —
- Input /1M
- $0.05
- Output /1M
- $0.15
- Reference cost
- $0.09
- Context
- 131K
- AA Intelligence
- 3.8
- Input /1M
- $0.05
- Output /1M
- $0.20
- Reference cost
- $0.10
- Context
- 524K
- AA Intelligence
- —
Showing 15 of 280
280 matching models · Missing intelligence scores are shown as —.
What is json mode?
JSON mode uses an API response-format option to request machine-readable output. Valid JSON is not the same as matching a specific schema. Check the API documentation for supported formats and whether schema-constrained structured outputs are also available.
Before choosing a model
- Confirm the selected API supports the JSON response format you need.
- Validate required fields and types after parsing the response.
- Handle incomplete responses and retry without assuming valid data.
Estimate your actual workload
Use your request volume and prompt and response sizes to compare monthly text-token costs. Add any search, external tool or provider-specific charges separately. Standard token prices do not assume cache hits or batch discounts.
