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

# cog vs union

cog and union share 8 technologies: net/http, axum, Tokio, tracing, tracing-subscriber, OpenTelemetry, tracing-opentelemetry, and opentelemetry-otlp. cog is written in Go and union in Rust.

- [replicate/cog](https://seerepo.com/r/replicate/cog): Containers for machine learning
- [unionlabs/union](https://seerepo.com/r/unionlabs/union): The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

## What they share and what sets them apart

- In common: net/http, axum, Tokio, tracing, tracing-subscriber, OpenTelemetry, tracing-opentelemetry, opentelemetry-otlp
- Only in cog: Sentry, github.com/tonistiigi/go-csvvalue, github.com/getkin/kin-openapi, github.com/xeipuuv/gojsonschema, jsonschema, structlog, Docker
- Only in union: async-graphql, async-graphql-axum, tower, Gorilla, cometbft-rpc, cosmos-client, depolama, sqlx-postgres, cosmossdk.io/store, cw-storage-plus, Postgres, moka, github.com/cosmos/cosmos-db, sqlx, github.com/cosmos/cosmos-sdk, cosmossdk.io/core, cosmossdk.io/x/upgrade, github.com/cometbft/cometbft/api, github.com/CosmWasm/wasmd, cosmossdk.io/api, wasmtime, Svelte, SvelteKit, Supabase, @effect/platform, SQLite, cliclack, console, Ratatui, crossterm, throbber-widgets-tui, access-managed, access-manager-types, bip32, ed25519-dalek, schemars, cosmossdk.io/log, github.com/rs/zerolog, cw-orch, Tailwind CSS, tailwind-merge, @number-flow/svelte, rehype-rewrite, rehype-stringify, remark, remark-parse, unified, vfile, @effect/opentelemetry

## Side by side

| | cog | union |
|---|---|---|
| Size | 114,111 lines written, 254 code files | 468,416 lines written, 1,876 code files |
| Who writes it | 0.8% of its commits signed by AI. With GitHub Copilot and Claude Code | 0% of its commits signed by AI. With CodeRabbit |
| Activity | Last push November 7, 2026, 2,234 commits, 9,498 stars | Last push July 25, 2026, 13,299 commits, 73,714 stars |
| Tests | 183 test files. 62.6% of its code files have a test that imports them | 120 test files. 10.2% 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, cog or union?

union, with 468,416 lines written; cog has 114,111.

The proof: [unionlabs/union's code at commit 031785b](https://github.com/unionlabs/union/tree/031785bb6dc6b957c624e62bc64c184409c97d7b)

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

union, with 73,714 stars; cog has 9,498.

The proof: [unionlabs/union on GitHub](https://github.com/unionlabs/union)

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

cog, with 183 test files; union has 120.

The proof: [replicate/cog's code at commit ee8ae12](https://github.com/replicate/cog/tree/ee8ae12ccf7dc01ae7b9106ff2b85af454e261a2)

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

cog: its last push was on November 7, 2026, and union's on July 25, 2026.

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

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

cog: an AI signed 0.8% of its commits, with GitHub Copilot and Claude Code.

## Sources

- replicate/cog: Read on November 15, 2026, at commit ee8ae12 (https://github.com/replicate/cog/tree/ee8ae12ccf7dc01ae7b9106ff2b85af454e261a2)
- unionlabs/union: Read on November 12, 2026, at commit 031785b (https://github.com/unionlabs/union/tree/031785bb6dc6b957c624e62bc64c184409c97d7b)

## 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.
