Comparison of 8 AI Coding Models on Real-World TypeScript Feature Implementation

Real-World AI Coding Model Comparison
A developer conducted a practical comparison of 8 AI coding models by having them implement the same real-world feature in an existing TypeScript project. The goal was to move beyond synthetic benchmarks and see how models perform when working with actual codebases.
The Test Setup
The project used was OpenCode Telegram Bot, an open-source TypeScript bot built with the grammY framework that provides Telegram interface to Opencode capabilities. The bot has i18n support and existing test coverage.
The task was implementing a /rename command that renames the current working session. This feature touches all application layers and requires handling multiple edge cases. The original implementation had been reverted, providing a clean baseline for evaluation.
Each model received the same prompt in two phases: first in planning mode (studying the codebase and forming an implementation plan), then in coding mode. All testing was done using Opencode with "thinking" mode and reasoning enabled.
Models Tested
- Claude 4.6 Sonnet ($3.00 input/$15.00 output per 1M tokens)
- Claude 4.6 Opus ($5.00/$25.00)
- GLM 5 ($1.00/$3.20)
- Kimi K2.5 ($0.60/$3.00)
- MiniMax M2.5 ($0.30/$1.20)
- GPT 5.3 Codex (high) ($1.75/$14.00)
- GPT 5.4 (high) ($2.50/$15.00)
- Gemini 3.1 Pro (high) ($2.00/$12.00)
Coding Index and Agentic Index data came from Artificial Analysis. All models were accessed through OpenCode Zen, a provider from the OpenCode team that tests models for compatibility with their tool.
Evaluation Methodology
Four metrics were used:
- API cost ($) - Total cost of all API calls during the task, including sub-agents
- Execution time (mm:ss) - Total model working time
- Implementation correctness (0-10) - How well the behavior matches requirements and edge cases
- Technical quality (0-10) - Engineering quality of the solution
For correctness and quality scores, the existing /rename implementation was used to derive detailed evaluation criteria covering command integration, main flow, error handling, cancellation, i18n, documentation, architecture, state management, tests, and tech debt. Evaluation was performed by GPT-5.3 Codex against a structured rubric, with multiple runs showing variance within ±0.5 points.
Key Findings
The results showed GPT-5.4 (high) achieving the highest implementation correctness score of 57 out of 69 on the Agentic Index. GLM 5 demonstrated strong cost-performance ratio at $1.00/$3.20 per 1M tokens with a Coding Index of 53. The experiment revealed that inexpensive open-source models from China are approaching proprietary ones in practical coding tasks, though benchmarks alone don't tell the full story.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Mind Keg MCP: Persistent Memory for Claude Code and MCP-Compatible Agents
Mind Keg MCP v0.1.1 is an open-source MCP server that provides persistent memory for Claude Code and other MCP-compatible agents. It stores learnings locally via SQLite and retrieves them via semantic search, allowing AI coding assistants to remember context between sessions.

Tacit: An LLM-First Programming Language Built with Claude Code and Opus 4.7
Tacit is an experimental LLM-first programming language designed and implemented using Claude Code and Opus 4.7. It strips away human conveniences to minimize token usage and ships with a primer that teaches mid-tier+ LLMs (Sonnet and above) how to write Tacit code.

Open-Source Claude Code Plugins for Agentic Commerce Protocols
OrcaQubits has released eight open-source Claude Code plugins that implement agentic commerce protocols including UCP, ACP, AP2, and A2A, with MIT licensing and support for platforms like Magento 2, BigCommerce, and WooCommerce.

TinySearch v0.2.0: Lightweight Web Search for Local LLMs Now Backed by SearXNG
TinySearch v0.2.0 switches from DuckDuckGo to SearXNG as search backend. It searches the web, crawls pages, and provides compact context (8k tokens) for local LLMs like Qwen3.5-9B.