OpenAI GPT-4.1 vs Tencent: Hy4 — API Pricing, 150K Cache & Latency Benchmark
Side-by-side unit economics audit comparing OpenAI GPT-4.1 (openai-gpt-4-1: Input $2/1M, Output $8/1M, Warm Cache Read $1/1M) against Tencent: Hy4 (tencent/hy4: Input $0.417/1M, Output $1.2505/1M, Warm Cache Read $0.021/1M).
Activate 4-breakpoint prefix caching on OpenAI GPT-4.1 to cut input token costs from $2/1M down to $1/1M, or route async workloads via Batch API for 50% off.
Lock static system prompt prefixes on Tencent: Hy4 to pay $0.021/1M warm cache rates instead of $0.417/1M uncached input, plus eligible startup cloud credits.
In Etuki FinOps telemetry comparing OpenAI GPT-4.1 (API ID: openai-gpt-4-1) vs Tencent: Hy4 (API ID: tencent/hy4), Tencent: Hy4 offers lower standard uncached input pricing at $0.417/1M tokens, while Tencent: Hy4 leads in 10-turn 150K cache-pinned coding economics at $0.1159 per 10 turns (saving $1.6941 over OpenAI GPT-4.1). For latency-sensitive interactive agents, Tencent: Hy4 delivers 180ms faster P90 time-to-first-token (230ms vs 410ms).
| Specification / FinOps Dimension | OpenAI GPT-4.1 (openai-gpt-4-1) | Tencent: Hy4 (tencent/hy4) | Verified Advantage |
|---|---|---|---|
| Official Vendor API ID | openai-gpt-4-1 | tencent/hy4 | UMCE 563-Registry Locked |
| 563-Registry & Routing Eligibility | is_known: true | routable: true | is_known: true | routable: true | Both Merkle Verified |
| Standard Uncached Input (/1M tokens) | $2 / 1M | $0.417 / 1M | Tencent: Hy4 |
| Warm Prefix Cache Read (/1M tokens) | $1 / 1M | $0.021 / 1M | Tencent: Hy4 |
| Standard Output (/1M tokens) | $8 / 1M | $1.2505 / 1M | Tencent: Hy4 |
| Context Window Capacity | 1048K Tokens | 1049K Tokens | Tencent: Hy4 |
| 150K Prompt × 10 Turns (Unpinned Cold + 2K Out) | $3.1600 | $0.6505 | Tencent: Hy4 |
| 150K × 10 Turns Case A (100% Static Pinned) | $1.8100 (saves $1.3500) | $0.1159 (saves $0.5346) | Tencent: Hy4 (-$1.6941) |
| 150K × 10 Turns Case B (90% Static + 10% Tail) | $1.9450 (saves $1.2150) | $0.1693 (saves $0.4812) | Tencent: Hy4 |
| P50 / P90 First-Token Latency | 279ms / 410ms (98 tok/s) | 156ms / 230ms (138 tok/s) | Tencent: Hy4 (-180ms) |
1. Full-Turn Rate-Card Substitution for OpenAI GPT-4.1: At an uncached input rate of $2/1M, output rate of $8/1M, and warm cache read rate of $1/1M, running 10 consecutive 150,000-token coding agent turns (with 2,000 output tokens/turn) without prefix pinning costs $3.1600. Locking 100% static prefixes (Case A: 1 cold turn + 9 warm cached turns + 20K total output) reduces 10-turn spend to $1.8100 (saving $1.3500); under a 90% static prefix + 10% dynamic tail workload (Case B), 10-turn spend is $1.9450.
2. Full-Turn Rate-Card Substitution for Tencent: Hy4 & Winner Verdict: On Tencent: Hy4 ($0.417/1M input, $1.2505/1M output, $0.021/1M warm cache), 10 unpinned 150K turns cost $0.6505, dropping to $0.1159 in Case A and $0.1693 in Case B. Across every 10-turn 150K coding loop (including output tokens), Tencent: Hy4 delivers an additional $1.6941 Case-A cost advantage.
Production Workload TCO: 25,000 MAU • 50M Tokens/Mo (50% Cache Hit) • 2,000 GB Egress
💡 Optimal FinOps Verdict: Deploying Tencent: Hy4 saves $118.73/month ($1425/year) at 25,000 MAU & 50M monthly tokens (80% input / 20% output split with 50% prefix cache hit rate).