20 Cheapest Models With Structured Output

Models with native JSON or schema output, ranked by blended price. · verified 2026-11-14

#1 is Llama 3.2 1B Instruct (instruct) at $0.02 input and $0.02 output per million tokens.

// ranking

#modellabin $/1Mout $/1Mctx
1Llama 3.2 1B Instruct (instruct)Meta$0.02$0.02131K
2Llama-3.1-8B-InstructMeta$0.02$0.0516.4K
3Gemma 4 E2B ITGoogle$0.04$0.08131.1K
4Qwen3.7 FlashAlibaba (Qwen)$0.03$0.131M
5Mistral Small 3Mistral$0.05$0.0832.8K
6GPT OSS 20BOpenAI$0.03$0.14131.1K
7Command R7BCohere$0.0375$0.15128K
8Command R7B ArabicCohere$0.0375$0.15128K
9GPT OSS 120BOpenAI$0.037$0.17131.1K
10DeepSeek V4 Flash 0731DeepSeek$0.06$0.181.05M
11Gemma 3 27B ITGoogle$0.08$0.16131.1K
12Ministral 3 3BMistral$0.10$0.10131.1K
13GPT OSS Safeguard 20BOpenAI$0.07$0.20128K
14Qwen3.5 9BAlibaba (Qwen)$0.10$0.15262.1K
15DeepSeek V4 FlashDeepSeek$0.09$0.181.05M
16Qwen FlashAlibaba (Qwen)$0.05$0.401M
17Gemma 4 26B A4B ITGoogle$0.07$0.34262.1K
18GPT-5 NanoOpenAI$0.05$0.40400K
19Qwen3-30B-A3B-Instruct-2507Alibaba (Qwen)$0.10$0.30262.1K
20Llama 4 Scout 17BMeta$0.10$0.30327.7K

// how this ranking works

Models with native JSON or schema output, ranked by blended price. Only active models with a published price and context window are included. Prices are base-tier list prices in USD per million tokens; the blended price weights input and output 3:1, a typical mix for chat and RAG workloads. The data comes from models.dev and is refreshed every day, so this ranking changes as soon as a provider changes its prices.

// other rankings

Cheapest LLM APIsCheapest Vision ModelsCheapest Reasoning ModelsAI Models With the Longest Context WindowCheapest Models With a 1M-Token ContextCheapest Open-Weights ModelsCheapest Models With Tool CallingCheapest GPT AlternativesCheapest Claude AlternativesCheapest Gemini AlternativesNewest AI ModelsCheapest GPT (OpenAI) ModelsCheapest Claude ModelsCheapest Gemini & Gemma ModelsCheapest Grok ModelsCheapest Mistral ModelsCheapest DeepSeek ModelsCheapest Qwen ModelsCheapest GLM ModelsCheapest Kimi ModelsCheapest MiniMax ModelsCheapest Cohere ModelsCheapest Llama Models