---
title: "Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini"
description: "Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website."
url: "https://swe.quest/articles/testing-ai-coding-agents-2025-cursor-vs-claude-openai-and-gemini-4ba683d74eb76f3f"
canonical: "https://render.com/blog/ai-coding-agents-benchmark"
source: "Render"
published: "2025-08-12"
difficulty: "medium"
kind: "Research"
reading_minutes: 16
tags: ["ai-coding","ai-agents","developer-tools","evals"]
---

# Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini

A post on [Render](https://swe.quest/sources/render.md), published 2025-08-12, 16 min read, Research. Original: [https://render.com/blog/ai-coding-agents-benchmark](https://render.com/blog/ai-coding-agents-benchmark)

## Summary

Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website. Cursor scored highest overall (8/10 average), producing the most complete app, including Docker Compose and a SQL migration, and following codebase-specific patterns. Gemini CLI excelled at large-context refactors but struggled on the greenfield build. Codex's model produced accurate, idiomatic code but was held back by setup friction and a weaker CLI UX. All tools faltered on novel or obscure libraries without targeted guidance, so experienced engineers still need to audit the output.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Keywords

Cursor, Claude Code, Gemini CLI, OpenAI Codex, Next.js, Render MCP, go-quartz, Astro

## Related posts

- [Reusable Prompts: The Future of Starter Templates](https://swe.quest/articles/reusable-prompts-the-future-of-starter-templates-17f509f51c905431.md): Neon · 2026-01-08 · Medium · 11 min read · AI for coding, AI agents, Developer productivity
  Starter templates can be complemented by reusable, atomic setup "recipes": Markdown prompts that AI coding agents apply to existing codebases, modeled on shadcn/ui's copy-the-code philosophy.
- [Agentic coding at ClickHouse](https://swe.quest/articles/agentic-coding-at-clickhouse-8afb95a1baae3481.md): ClickHouse · 2026-04-01 · Medium · 32 min read · AI for coding, AI agents, Code review, Developer productivity, C & C++
  ClickHouse uses coding agents, mainly Claude Code with Opus 4.6 and Codex CLI as a fallback, for daily work on its large C++ codebase, which the author says became practical with Claude Opus 4.5 in November 2025.
- [CoderForge-Preview: SOTA open dataset for training efficient coding agents](https://swe.quest/articles/coderforge-preview-sota-open-dataset-for-training-efficient-coding-agents-83e1f3c7a7bdb67a.md): Together AI · 2026-02-25 · Hard · 14 min read · Model training, AI for coding, AI agents, Evaluation, LLMs
  CoderForge-Preview is an open dataset of 258K test-verified coding agent trajectories (155K passing) covering 51K tasks across 1,655 repositories from R2E-Gym, SWE-Smith and SWE-Rebench.
- [Our Transformers Code Agent beats the GAIA benchmark 🏅](https://swe.quest/articles/our-transformers-code-agent-beats-the-gaia-benchmark-6fa8664c9f76e83d.md): Hugging Face · 2024-07-01 · Medium · 12 min read · AI agents, Evaluation, LLMs, Sandboxing & isolation
  A ReactCodeAgent built with Transformers Agents and GPT-4o scored 44.2% on the GAIA validation set, ranking first, and 33.3% on the test set, ranking second overall with the best Level 3 score.
- [How we make Together AI easy for coding agents to use](https://swe.quest/articles/how-we-make-together-ai-easy-for-coding-agents-to-use-b80d8f2951e810be.md): Together AI · 2026-11-16 · Medium · 13 min read · Evaluation, AI agents, AI for coding, Documentation, API design
  Together AI runs agent evals to measure how well coding agents use its platform, executing each realistic task prompt under baseline, docs-MCP and skills configurations across three models in sandboxes, with a proxy recording API calls and an LLM judge scoring pass/incomplete/fail.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
