# Which LLM writes the best code? Convex Chef model comparison

DevFeed: [Which LLM writes the best code? Convex Chef model comparison](<https://devfeed.tech/articles/which-llm-writes-the-best-code-convex-chef-model-comparison-81307.md>)

Original publisher: [Read original article](<https://stack.convex.dev/chef-model-exploration>)

Author: Stack

Published: 2025-04-28T21:59:01Z

Content type: comparison

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Claude](<https://devfeed.tech/topics/claude.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [chef](<https://devfeed.tech/tags/chef.md>), [claude](<https://devfeed.tech/tags/claude.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [convex](<https://devfeed.tech/tags/convex.md>), [developer-tool](<https://devfeed.tech/tags/developer-tool.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [llm](<https://devfeed.tech/tags/llm.md>), [model](<https://devfeed.tech/tags/model.md>), [model-comparison](<https://devfeed.tech/tags/model-comparison.md>), [perspectives](<https://devfeed.tech/tags/perspectives.md>)

## AI overview

Convex compared Claude 3.5 Sonnet, GPT-4.1, and Gemini 2.5 Pro for its Chef AI app builder, which checks generated backend code and feeds errors back to the model. Claude was selected as Chef's default for its instruction following, coding, and tool use; Gemini produced stronger UIs, while the article notes tradeoffs in cost, speed, and verbosity. Convex says it may change the default or choose models dynamically and points to its leaderboard and AI coding benchmarks.

## Source excerpt

Convex compared Claude 3.5 Sonnet, GPT-4.1, and Gemini 2.5 Pro to see which LLM works best for building full-stack apps with Convex Chef, the new AI Agent app developer tool. Claude stood out for its precise backend coding and function calling, while Gemini made impressive UIs, and GPT offered solid speed and value.