[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"compare-gpt-4o-vs-grok-4":3},{"modelA":4,"modelB":9,"categories":14,"faq":58,"winsA":74,"winsB":75,"relatedArticles":76,"otherComparisons":96},{"name":5,"provider":6,"pricing":7,"highlights":8},"GPT-4o","OpenAI","$2.5\u002F$10","Legacy but still available; superseded by GPT-5 family",{"name":10,"provider":11,"pricing":12,"highlights":13},"Grok 4","xAI","$5\u002F$25","Top-5 Arena; strong reasoning & real-time X data",[15,19,25,31,36,41,46,49,54],{"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","128K","256K","b",{"key":26,"label":27,"valueA":28,"valueB":29,"winner":30},"pricingInput","Input Price ($\u002F1M)","$2.5","$5","a",{"key":32,"label":33,"valueA":34,"valueB":35,"winner":30},"pricingOutput","Output Price ($\u002F1M)","$10","$25",{"key":37,"label":38,"valueA":39,"valueB":40,"winner":30},"arena","Arena ELO","1340","1330",{"key":42,"label":43,"valueA":44,"valueB":45,"winner":18},"coding","Coding","30.8% SWE-bench","unknown",{"key":47,"label":48,"valueA":45,"valueB":45,"winner":18},"reasoning","Reasoning",{"key":50,"label":51,"valueA":52,"valueB":53,"winner":30},"speed","Speed (tokens\u002Fsec)","~100 t\u002Fs","~45 t\u002Fs",{"key":55,"label":56,"valueA":57,"valueB":57,"winner":18},"openSource","Open Source","No",[59,62,65,68,71],{"question":60,"answer":61},"Which is cheaper, GPT-4o or Grok 4?","GPT-4o is approximately 58% cheaper than Grok 4 per million tokens.",{"question":63,"answer":64},"Which is better for coding, GPT-4o or Grok 4?","GPT-4o scores 30.8% SWE-bench on coding benchmarks, while Grok 4 scores unknown.",{"question":66,"answer":67},"Which has a larger context window?","GPT-4o supports 128K context, while Grok 4 supports 256K.",{"question":69,"answer":70},"Is GPT-4o or Grok 4 open source?","GPT-4o is proprietary. Grok 4 is proprietary.",{"question":72,"answer":73},"Which ranks higher on the Chatbot Arena leaderboard?","GPT-4o ranks higher with ELO 1340 vs 1330.",4,1,[77,81,84,87,90,93],{"slug":78,"title":79,"language":80},"grok-4-5-rise-five-numbers-en","Grok 4.5’s rise comes down to 5 numbers","en",{"slug":82,"title":83,"language":80},"grok-4-5-one-prompt-agent-work-en","Grok 4.5 turns agent work into one prompt",{"slug":85,"title":86,"language":80},"grok-45-private-beta-tesla-spacex-en","Grok 4.5 enters private beta at Tesla and SpaceX",{"slug":88,"title":89,"language":80},"grok-imagine-1-5-turns-prompts-into-720p-video-en","Grok Imagine 1.5 turns prompts into 720p video",{"slug":91,"title":92,"language":80},"grok-ai-price-surge-liquidity-warning-en","Grok AI’s price surge is a liquidity warning, not a thesis",{"slug":94,"title":95,"language":80},"grok-build-goal-autonomous-coding-en","Grok Build Adds \u002Fgoal for Autonomous Coding",[97,102,107,112,117,122,127,132],{"slugA":98,"labelA":99,"slugB":100,"labelB":101},"claude-opus-45-vs-gpt-4o","GPT-4o vs Claude Opus 4.5","claude-opus-45-vs-grok-4","Grok 4 vs Claude Opus 4.5",{"slugA":103,"labelA":104,"slugB":105,"labelB":106},"gpt-4o-vs-llama-4-scout","GPT-4o vs Llama 4 Scout","grok-4-vs-llama-4-scout","Grok 4 vs Llama 4 Scout",{"slugA":108,"labelA":109,"slugB":110,"labelB":111},"claude-sonnet-46-vs-gpt-4o","GPT-4o vs Claude Sonnet 4.6","claude-sonnet-46-vs-grok-4","Grok 4 vs Claude Sonnet 4.6",{"slugA":113,"labelA":114,"slugB":115,"labelB":116},"claude-haiku-45-vs-gpt-4o","GPT-4o vs Claude Haiku 4.5","claude-haiku-45-vs-grok-4","Grok 4 vs Claude Haiku 4.5",{"slugA":118,"labelA":119,"slugB":120,"labelB":121},"gpt-4o-vs-qwen-36","GPT-4o vs Qwen 3.6","grok-4-vs-qwen-36","Grok 4 vs Qwen 3.6",{"slugA":123,"labelA":124,"slugB":125,"labelB":126},"claude-fable-5-vs-gpt-4o","GPT-4o vs Claude Fable 5","claude-fable-5-vs-grok-4","Grok 4 vs Claude Fable 5",{"slugA":128,"labelA":129,"slugB":130,"labelB":131},"gpt-4o-vs-kimi-k27-code","GPT-4o vs Kimi K2.7 Code","grok-4-vs-kimi-k27-code","Grok 4 vs Kimi K2.7 Code",{"slugA":133,"labelA":134,"slugB":135,"labelB":136},"deepseek-v4-flash-vs-gpt-4o","GPT-4o vs DeepSeek V4 Flash","deepseek-v4-flash-vs-grok-4","Grok 4 vs DeepSeek V4 Flash"]