[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"compare-deepseek-v4-flash-0731-vs-grok-4":3},{"modelA":4,"modelB":9,"categories":14,"faq":54,"winsA":64,"winsB":65,"relatedArticles":66,"otherComparisons":86},{"name":5,"provider":6,"pricing":7,"highlights":8},"DeepSeek-V4-Flash-0731","DeepSeek","$0.00\u002F$0.00","An MIT-licensed MoE model with major agentic and coding gains, outperforming DeepSeek V4-Pro (Preview) on several benchmarks.",{"name":10,"provider":11,"pricing":12,"highlights":13},"Grok 4","xAI","$0.20\u002F$1","Top-5 Arena; strong reasoning & real-time X data",[15,19,25,30,34,38,42,45,49],{"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","uncertain","256K","b",{"key":26,"label":27,"valueA":28,"valueB":29,"winner":24},"pricingInput","Input Price ($\u002F1M)","N\u002FA","$0.2",{"key":31,"label":32,"valueA":28,"valueB":33,"winner":24},"pricingOutput","Output Price ($\u002F1M)","$1",{"key":35,"label":36,"valueA":28,"valueB":37,"winner":24},"arena","Arena ELO","1491",{"key":39,"label":40,"valueA":28,"valueB":41,"winner":18},"coding","Coding","unknown",{"key":43,"label":44,"valueA":28,"valueB":41,"winner":18},"reasoning","Reasoning",{"key":46,"label":47,"valueA":28,"valueB":48,"winner":24},"speed","Speed (tokens\u002Fsec)","~45 t\u002Fs",{"key":50,"label":51,"valueA":52,"valueB":53,"winner":18},"openSource","Open Source","Yes","No",[55,58,61],{"question":56,"answer":57},"Which is better for coding, DeepSeek-V4-Flash-0731 or Grok 4?","DeepSeek-V4-Flash-0731 scores N\u002FA on coding benchmarks, while Grok 4 scores unknown.",{"question":59,"answer":60},"Which has a larger context window?","DeepSeek-V4-Flash-0731 supports uncertain context, while Grok 4 supports 256K.",{"question":62,"answer":63},"Is DeepSeek-V4-Flash-0731 or Grok 4 open source?","DeepSeek-V4-Flash-0731 is open source. Grok 4 is proprietary.",0,5,[67,71,74,77,80,83],{"slug":68,"title":69,"language":70},"musk-grok-imagine-odyssey-film-bet-en","Musk’s Grok Imagine bets big on an Odyssey film","en",{"slug":72,"title":73,"language":70},"grok-build-live-previews-rewind-fixes-en","Grok Build adds live previews and rewind fixes",{"slug":75,"title":76,"language":70},"grok-4-5-cursor-launch-benchmarks-pricing-en","Grok 4.5 hits Cursor with $2\u002F$6 pricing",{"slug":78,"title":79,"language":70},"grok-4-5-rise-five-numbers-en","Grok 4.5’s rise comes down to 5 numbers",{"slug":81,"title":82,"language":70},"grok-4-5-one-prompt-agent-work-en","Grok 4.5 turns agent work into one prompt",{"slug":84,"title":85,"language":70},"grok-45-private-beta-tesla-spacex-en","Grok 4.5 enters private beta at Tesla and SpaceX",[87,92,97,102,107,112,117,122],{"slugA":88,"labelA":89,"slugB":90,"labelB":91},"claude-opus-45-vs-deepseek-v4-flash-0731","DeepSeek-V4-Flash-0731 vs Claude Opus 4.5","claude-opus-45-vs-grok-4","Grok 4 vs Claude Opus 4.5",{"slugA":93,"labelA":94,"slugB":95,"labelB":96},"deepseek-v4-flash-0731-vs-llama-4-scout","DeepSeek-V4-Flash-0731 vs Llama 4 Scout","grok-4-vs-llama-4-scout","Grok 4 vs Llama 4 Scout",{"slugA":98,"labelA":99,"slugB":100,"labelB":101},"claude-haiku-45-vs-deepseek-v4-flash-0731","DeepSeek-V4-Flash-0731 vs Claude Haiku 4.5","claude-haiku-45-vs-grok-4","Grok 4 vs Claude Haiku 4.5",{"slugA":103,"labelA":104,"slugB":105,"labelB":106},"deepseek-v4-flash-0731-vs-qwen-36","DeepSeek-V4-Flash-0731 vs Qwen 3.6","grok-4-vs-qwen-36","Grok 4 vs Qwen 3.6",{"slugA":108,"labelA":109,"slugB":110,"labelB":111},"deepseek-v4-flash-0731-vs-kimi-k27-code","DeepSeek-V4-Flash-0731 vs Kimi K2.7 Code","grok-4-vs-kimi-k27-code","Grok 4 vs Kimi K2.7 Code",{"slugA":113,"labelA":114,"slugB":115,"labelB":116},"deepseek-v4-flash-0731-vs-minimax-h3","DeepSeek-V4-Flash-0731 vs MiniMax H3","grok-4-vs-minimax-h3","Grok 4 vs MiniMax H3",{"slugA":118,"labelA":119,"slugB":120,"labelB":121},"deepseek-v4-flash-0731-vs-llama-4-maverick","DeepSeek-V4-Flash-0731 vs Llama 4 Maverick","grok-4-vs-llama-4-maverick","Grok 4 vs Llama 4 Maverick",{"slugA":123,"labelA":124,"slugB":125,"labelB":126},"deepseek-v4-flash-0731-vs-gpt-53-codex","DeepSeek-V4-Flash-0731 vs GPT-5.3-Codex","gpt-53-codex-vs-grok-4","Grok 4 vs GPT-5.3-Codex"]