Source: https://seerepo.com/compare/openai/codex/vs/replicate/cog
Markdown source: https://seerepo.com/compare/openai/codex/vs/replicate/cog.md
Description: codex and cog share 8 technologies: axum, Sentry, Tokio, tracing, tracing-subscriber, OpenTelemetry, tracing-opentelemetry, and opentelemetry-otlp. codex is written in Rust and cog in Go.

# codex vs cog

codex and cog share 8 technologies: axum, Sentry, Tokio, tracing, tracing-subscriber, OpenTelemetry, tracing-opentelemetry, and opentelemetry-otlp. codex is written in Rust and cog in Go.

- [openai/codex](https://seerepo.com/r/openai/codex): Lightweight coding agent that runs in your terminal
- [replicate/cog](https://seerepo.com/r/replicate/cog): Containers for machine learning

## What they share and what sets them apart

- In common: axum, Sentry, Tokio, tracing, tracing-subscriber, OpenTelemetry, tracing-opentelemetry, opentelemetry-otlp
- Only in codex: codex-attachment-store, codex-cloud-tasks-client, codex-queue-extension, codex-thread-store, codex-utils-cache, sqlx-sqlite, sqlx, libsqlite3-sys, lru, SQLite, rama-http, rama-core, tiny_http, rama-http-backend, tower, objc2-app-kit, objc2-foundation, two-face, codex-tui, Ratatui, crossterm, ansi-to-tui, sqlx-macros, codex-aws-auth, codex-keyring-store, codex-login, codex-user-verification, codex-websocket-auth, codex-workload-identity, oauth2, keyring, jsonwebtoken, ed25519-dalek, hmac, objc2-local-authentication, codex-agent-graph-store, codex-agent-identity, codex-agent-message-board-client, codex-agent-message-board-extension, codex-agent-message-board-host, codex-agent-roles, codex-chatgpt, codex-client, codex-code-mode-runtime, codex-collaboration-mode-templates, codex-context-fragments, codex-core-plugin-common, codex-extension-api, codex-external-agent-migration, codex-guardian-context, codex-guardian-reviewer, codex-image-generation-extension, codex-lmstudio, codex-mcp, codex-mcp-extension, codex-memories-extension, codex-memories-read, codex-memories-write, codex-message-board-mcp, codex-model-provider, codex-model-provider-info, codex-models-manager, codex-ollama, codex-plugin-host, codex-prompts, codex-protocol, codex-response-debug-context, codex-runtime-agent-instance, codex-skills, codex-skills-extension, codex-tools, codex-web-search-extension, openai-codex-cli-bin, rmcp, mxc-sdk, bm25, codex-mermaid, codex-utils-image, codex-utils-template, png, image, pulldown-cmark, zip, linkify, quick-xml, symphonia, schemars, Pydantic, codex-otel-trace-websocket, codex-rollout-trace, tracelogging, log, tracing-appender, opentelemetry-appender-tracing, opentelemetry-http
- Only in cog: net/http, github.com/tonistiigi/go-csvvalue, github.com/getkin/kin-openapi, github.com/xeipuuv/gojsonschema, jsonschema, structlog, Docker

## Side by side

| | codex | cog |
|---|---|---|
| Size | 2,400,707 lines written, 4,321 code files | 114,111 lines written, 254 code files |
| Who writes it | 2.7% of its commits signed by AI. With Codex, Claude Code, and GitHub Copilot | 0.8% of its commits signed by AI. With GitHub Copilot and Claude Code |
| Activity | Last push November 12, 2026, 13,452 commits, 134,947 stars | Last push November 7, 2026, 2,234 commits, 9,498 stars |
| Tests | 2,531 test files. 52% of its code files have a test that imports them | 183 test files. 62.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, codex or cog?

codex, with 2,400,707 lines written; cog has 114,111.

The proof: [openai/codex's code at commit 6bfdc75](https://github.com/openai/codex/tree/6bfdc75f0d9e6fae313234f694839866d7c63c39)

### Which has more GitHub stars, codex or cog?

codex, with 134,947 stars; cog has 9,498.

The proof: [openai/codex on GitHub](https://github.com/openai/codex)

### Which has more tests, codex or cog?

codex, with 2,531 test files; cog has 183.

The proof: [openai/codex's code at commit 6bfdc75](https://github.com/openai/codex/tree/6bfdc75f0d9e6fae313234f694839866d7c63c39)

### Which was updated more recently, codex or cog?

codex: its last push was on November 12, 2026, and cog's on November 7, 2026.

The proof: [openai/codex's commits on GitHub](https://github.com/openai/codex/commits)

### Which has more commits signed by AI, codex or cog?

codex: an AI signed 2.7% of its commits, with Codex, Claude Code, and GitHub Copilot; in cog, 0.8%.

The proof: [the commits each tool signed in openai/codex](https://seerepo.com/r/openai/codex/ai)

## Sources

- openai/codex: Read on November 12, 2026, at commit 6bfdc75 (https://github.com/openai/codex/tree/6bfdc75f0d9e6fae313234f694839866d7c63c39)
- replicate/cog: Read on November 15, 2026, at commit ee8ae12 (https://github.com/replicate/cog/tree/ee8ae12ccf7dc01ae7b9106ff2b85af454e261a2)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
