惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Hacker News
The Hacker News
C
Cisco Blogs
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
S
Security Affairs
PCI Perspectives
PCI Perspectives
The Last Watchdog
The Last Watchdog
AWS News Blog
AWS News Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
News and Events Feed by Topic
W
WeLiveSecurity
T
Tenable Blog
L
LINUX DO - 最新话题
T
Tor Project blog
Help Net Security
Help Net Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Proofpoint News Feed
爱范儿
爱范儿
O
OpenAI News
Hacker News - Newest:
Hacker News - Newest: "LLM"
Y
Y Combinator Blog
I
Intezer
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
Recent Announcements
Recent Announcements
Google DeepMind News
Google DeepMind News
S
Securelist
P
Privacy International News Feed
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
量子位
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
T
Threat Research - Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Scott Helme
Scott Helme
H
Help Net Security
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
Spread Privacy
Spread Privacy
Know Your Adversary
Know Your Adversary
I
InfoQ
TaoSecurity Blog
TaoSecurity Blog
Blog — PlanetScale
Blog — PlanetScale
N
News | PayPal Newsroom
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Why Chinese AI Models Are 95% Cheaper — The Economics Explained
Mattias chaw · 2026-06-20 · via DEV Community

When DeepSeek launched V3 at $0.27 per million input tokens, the developer world collectively did a double take. At the time, GPT-4o was charging $2.50 per million input tokens — roughly 9x more. Today, the gap has widened further. Chinese frontier models routinely operate at $0.10–$0.50 per million tokens while their Western counterparts hover at $2.00–$15.00.

This isn't a temporary discount strategy. It isn't loss-leader pricing to capture market share. The 90–95% price gap reflects structural cost advantages baked into the Chinese AI ecosystem at every layer of the stack. Let me walk through exactly why.

The Numbers Don't Lie

Here's what we're actually looking at, pricing as of mid-2026:

Model Input/M tokens Output/M tokens Provider
GPT-4o $2.50 $10.00 OpenAI
Claude Opus 4 $15.00 $75.00 Anthropic
Gemini 2.5 Pro $1.25 $10.00 Google
DeepSeek V4 $0.27 $1.10 DeepSeek
GLM-4.7 $0.14 $0.56 Zhipu
Qwen3-Max $0.28 $1.12 Alibaba
Moonshot-v1 $0.06 $0.24 Moonshot AI

DeepSeek V4 scores within 3% of GPT-4o on MMLU-Pro. GLM-4.7 beats Claude Sonnet on MATH benchmarks. And you're paying somewhere between one-tenth and one-fiftieth the price.

The question isn't whether Chinese labs are selling at a loss. They are, in many cases, profitable. Here's why.

Reason 1: Mixture-of-Experts Changes the Unit Economics

This is the single biggest factor, and most people gloss over it. The majority of frontier Chinese models use a Mixture-of-Experts (MoE) architecture rather than dense transformers.

A dense model like GPT-4o activates every single parameter on every token. If the model has 1.7 trillion parameters, all 1.7T fire on every forward pass. That means your inference cost scales linearly with total parameter count.

MoE flips this. DeepSeek V3 has 671B total parameters but only 37B are activated per token. That's 5.5% of the full model. V4 pushes this even further — over 1T total parameters with roughly the same activated parameter budget as V3, achieved through finer-grained expert routing.

The math is straightforward. Inference cost per token is dominated by the number of floating-point operations on the critical path. With dense models, every parameter participates. With MoE, only a fraction does. You get the quality of a massive model at the inference cost of a much smaller one.

# Rough FLOPs comparison per generated token
# Dense model (GPT-4o class, ~1.7T params)
dense_flops_per_token = 1_700_000_000_000 * 2  # ~3.4T FLOPs

# MoE model (DeepSeek V4 class, ~37B activated)
moe_flops_per_token = 37_000_000_000 * 2  # ~74B FLOPs

# That's a 46x difference in raw compute
print(f"MoE uses {moe_flops_per_token/dense_flops_per_token*100:.1f}% of dense FLOPs")
# Output: MoE uses 2.2% of dense FLOPs

Now, real-world pricing doesn't perfectly track FLOPs — there's memory bandwidth, batching efficiency, and margin. But the architectural headroom is enormous. Chinese labs effectively decoupled model capacity from inference cost, and that alone explains maybe 60% of the price gap.

Reason 2: Training Efficiency Is No Longer a Cost Problem

Training frontier models used to mean "$100M+ or go home." Chinese labs have systematically attacked every line item.

Data curation over brute force. Western labs trained on "the entire internet" and filtered later. Chinese teams, especially DeepSeek, developed sophisticated data pipelines that filter and deduplicate before training. DeepSeek V3 trained on 14.8T curated tokens — far less than the 40T+ tokens Meta used for Llama 4. Better data means fewer tokens needed, which means fewer GPU-hours.

FP8 mixed-precision training. DeepSeek was among the first to successfully train a frontier model using FP8 throughout. Most Western labs used BF16/FP16 until very recently. Halving the precision halves the memory requirement and roughly doubles training throughput.

Multi-token prediction. DeepSeek V3's training objective isn't just "predict the next token." It predicts the next 2–4 tokens simultaneously using auxiliary prediction heads. This gives you a stronger training signal per sample and reduces token inefficiency during pre-training.

Auxiliary-loss-free load balancing. Traditional MoE training adds an auxiliary loss term to keep experts balanced, which slightly degrades model quality. DeepSeek developed a bias-based routing mechanism that maintains expert balance without the quality penalty. Less wasted training compute.

None of these are exotic. They're smart engineering choices that compound into 3–5x training cost reduction.

Reason 3: The Hardware Story Is More Nuanced Than You Think

The standard narrative is "Chinese labs train on weaker hardware, therefore they must spend more." The reality in 2026 is closer to the opposite.

H20 GPUs, the export-compliant chips NVIDIA ships to China, have roughly 80% of the H100's raw FLOPS but identical memory bandwidth (4 TB/s with HBM3). For inference — which is dominated by memory bandwidth, not compute — H20 is basically an H100 at two-thirds the acquisition cost.

Chinese cloud providers charge $0.80–$1.20 per H20-hour. AWS charges $3–$5 per H100-hour. Same memory bandwidth. Same inference throughput. Half to one-third the cost. That flows directly to API pricing.

On the training side, Chinese firms have gotten creative with interconnect. DeepSeek uses custom NVLink-like interconnects that achieve >90% of the scaling efficiency you'd get from the full NVIDIA stack, without paying the NVIDIA tax.

Reason 4: Labor Costs Create a Genuine Moat

This is uncomfortable but true. A senior ML research scientist in San Francisco costs $400K–$700K fully loaded. Their counterpart in Beijing or Hangzhou costs $100K–$250K. The talent pool is comparable — many studied at the same top CS programs — but the local market hasn't been bid up by FAANG compensation arms races.

DeepSeek operates with roughly 150 researchers. Comparable Western labs run 300–500. The output quality is similar because DeepSeek aggressively hires top performers and runs lean. More researchers doesn't linearly improve model quality beyond a certain point.

Reason 5: Government Subsidies Provide a Tailwind

The Chinese government has designated AI as a strategic priority industry since 2017. What this means in practice:

  • Tax holidays for AI firms: 0% corporate tax for the first 3–5 profitable years
  • Subsidized electricity for data centers ($0.04–$0.06/kWh vs $0.08–$0.12/kWh in most US regions)
  • Government-backed compute clusters available at below-market rates
  • Municipal-level incentives: free office space, hiring subsidies, R&D grants

These aren't transformative individually, but collectively they reduce operating costs by 20–30%. When you're already running a lean operation powered by efficient architecture, that 20–30% goes straight to pricing advantage.

What This Means for Developers

The implication is straightforward: Chinese AI APIs are not a budget option. They are frequently better for specific use cases and happen to cost 90%+ less.

import openai

# Example: switching between providers with identical API format
client = openai.OpenAI(
    base_url="https://api.aiwave.live/v1",
    api_key="your-key"
)

models = [
    "deepseek/deepseek-v4",
    "zhipu/glm-4.7",
    "qwen/qwen3-max",
    "moonshot/moonshot-v1-auto"
]

for model in models:
    response = client.chat.completions.create(
        model=model,
        messages=[{
            "role": "user",
            "content": "Explain MoE architecture in one paragraph."
        }]
    )
    cost = (response.usage.prompt_tokens * 0.27 / 1_000_000 +
            response.usage.completion_tokens * 1.10 / 1_000_000)
    print(f"{model}: ${cost:.6f}")
    # Typical output: each call costs $0.0002-$0.0015

A million API calls that would cost $2,000 on GPT-4o can run for $85 on DeepSeek V4. Not "slightly cheaper." Two orders of magnitude.

The Caveats You Should Actually Worry About

The pricing advantage is real, but don't switch blindly. Here's what matters:

Latency at peak hours. Chinese APIs can see 2–5 second response times during Asia business hours (UTC+8 mornings). Western providers are more consistent globally.

Content filtering. Chinese models have built-in safety filters. For most technical content this is a non-issue. For politically adjacent topics, responses get truncated. Test your use case.

Data residency. Your prompts are processed in Chinese data centers. If you're in healthcare, finance, or defense, check your compliance requirements.

Rate limits on free tiers. Self-hosted open-weight models (DeepSeek, Qwen) have generous free tiers. But the managed API services throttle aggressively unless you're on a paid plan.

None of these are dealbreakers. They're just things to know before you commit.

Let's Talk About Anthropic Specifically

Claude Opus 4 charges $15.00/$75.00 per million tokens. For the same task — say, a code review on a 2,000-line PR with a 500-token response — you'd pay roughly $0.05 on Claude Opus 4 versus $0.0015 on DeepSeek V4. That's a 33x difference for output quality within 5% on most benchmarks.

Anthropic justifies this with safety research and constitutional AI. Whether that's worth 33x is your call. But the pricing delta is not subtle.

The Bottom Line

Chinese AI models aren't cheaper because they're worse. They're cheaper because the entire cost structure — architecture, hardware, labor, energy — operates at a fundamentally lower baseline. Western labs have more revenue per customer but their unit economics are brutal. Chinese labs have the opposite profile: lower margins but the unit math works because the denominator is so small.

The 95% discount isn't a pricing strategy. It's structural. And it's not going away.


If you want to try these models without managing multiple API keys, AIWave provides a single OpenAI-compatible endpoint with access to 50+ Chinese and international models. One API key, one codebase, zero migration pain.