[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"compare-devstral-2-vs-gpt-4o":3},{"modelA":4,"modelB":9,"categories":14,"faq":58,"winsA":71,"winsB":72,"relatedArticles":73,"otherComparisons":74},{"name":5,"provider":6,"pricing":7,"highlights":8},"Devstral 2","Mistral","$0.05\u002F$0.22","Cheapest agentic coding model; 256K context",{"name":10,"provider":11,"pricing":12,"highlights":13},"GPT-4o","OpenAI","$2.5\u002F$10","Legacy but still available; superseded by GPT-5 family",[15,19,25,30,35,41,46,49,53],{"key":16,"label":17,"valueA":6,"valueB":11,"winner":18},"provider","Provider","tie",{"key":20,"label":21,"valueA":22,"valueB":23,"winner":24},"context","Context Window","256K","128K","a",{"key":26,"label":27,"valueA":28,"valueB":29,"winner":24},"pricingInput","Input Price ($\u002F1M)","$0.05","$2.5",{"key":31,"label":32,"valueA":33,"valueB":34,"winner":24},"pricingOutput","Output Price ($\u002F1M)","$0.22","$10",{"key":36,"label":37,"valueA":38,"valueB":39,"winner":40},"arena","Arena ELO","N\u002FA","1340","b",{"key":42,"label":43,"valueA":44,"valueB":45,"winner":18},"coding","Coding","unknown","30.8% SWE-bench",{"key":47,"label":48,"valueA":44,"valueB":44,"winner":18},"reasoning","Reasoning",{"key":50,"label":51,"valueA":52,"valueB":52,"winner":18},"speed","Speed (tokens\u002Fsec)","~100 t\u002Fs",{"key":54,"label":55,"valueA":56,"valueB":57,"winner":18},"openSource","Open Source","Yes","No",[59,62,65,68],{"question":60,"answer":61},"Which is cheaper, Devstral 2 or GPT-4o?","Devstral 2 is approximately 98% cheaper than GPT-4o per million tokens.",{"question":63,"answer":64},"Which is better for coding, Devstral 2 or GPT-4o?","Devstral 2 scores unknown on coding benchmarks, while GPT-4o scores 30.8% SWE-bench.",{"question":66,"answer":67},"Which has a larger context window?","Devstral 2 supports 256K context, while GPT-4o supports 128K.",{"question":69,"answer":70},"Is Devstral 2 or GPT-4o open source?","Devstral 2 is open source. GPT-4o is proprietary.",3,1,[],[75,80,85,90,95,100,105,110],{"slugA":76,"labelA":77,"slugB":78,"labelB":79},"claude-opus-45-vs-devstral-2","Devstral 2 vs Claude Opus 4.5","claude-opus-45-vs-gpt-4o","GPT-4o vs Claude Opus 4.5",{"slugA":81,"labelA":82,"slugB":83,"labelB":84},"devstral-2-vs-llama-4-scout","Devstral 2 vs Llama 4 Scout","gpt-4o-vs-llama-4-scout","GPT-4o vs Llama 4 Scout",{"slugA":86,"labelA":87,"slugB":88,"labelB":89},"claude-sonnet-46-vs-devstral-2","Devstral 2 vs Claude Sonnet 4.6","claude-sonnet-46-vs-gpt-4o","GPT-4o vs Claude Sonnet 4.6",{"slugA":91,"labelA":92,"slugB":93,"labelB":94},"claude-haiku-45-vs-devstral-2","Devstral 2 vs Claude Haiku 4.5","claude-haiku-45-vs-gpt-4o","GPT-4o vs Claude Haiku 4.5",{"slugA":96,"labelA":97,"slugB":98,"labelB":99},"devstral-2-vs-qwen-36","Devstral 2 vs Qwen 3.6","gpt-4o-vs-qwen-36","GPT-4o vs Qwen 3.6",{"slugA":101,"labelA":102,"slugB":103,"labelB":104},"claude-fable-5-vs-devstral-2","Devstral 2 vs Claude Fable 5","claude-fable-5-vs-gpt-4o","GPT-4o vs Claude Fable 5",{"slugA":106,"labelA":107,"slugB":108,"labelB":109},"devstral-2-vs-kimi-k27-code","Devstral 2 vs Kimi K2.7 Code","gpt-4o-vs-kimi-k27-code","GPT-4o vs Kimi K2.7 Code",{"slugA":111,"labelA":112,"slugB":113,"labelB":114},"deepseek-v4-flash-vs-devstral-2","Devstral 2 vs DeepSeek V4 Flash","deepseek-v4-flash-vs-gpt-4o","GPT-4o vs DeepSeek V4 Flash"]