DEV Community

fiercedash
fiercedash

Posted on

Why I Stopped Paying 40 More for the Same AI Outputs

Why I Stopped Paying 40× More for the Same AI Outputs

Three months ago I ran a tiny experiment on my side project — a Telegram bot that summarizes RSS feeds. I pointed it at GPT-4o for a week, then swapped to DeepSeek V4 Flash for a week. The bill dropped from $47 to $1.20. The summaries? Honestly, nobody in my group chat noticed the difference. That's the moment I started digging into this whole US-vs-China AI thing properly, and what I found made me a little angry at how much I'd been overpaying.

This is my honest breakdown as someone who builds with these things every day, runs a few side projects on a shoestring budget, and genuinely believes software should come with an Apache or MIT license stapled to it.


The Thing Nobody in Silicon Valley Wants to Admit

There's a quiet revolution happening in the open weights space, and most American developers I talk to have no idea. The Chinese labs — DeepSeek, Alibaba's Qwen team, Zhipu's GLM, Moonshot's Kimi — have been releasing models under permissive licenses (mostly Apache 2.0, with some MIT variants) that can run on a single consumer GPU. Meanwhile, OpenAI and Anthropic keep their weights locked behind a wall, and Google only recently started letting enterprise customers get a peek.

I don't have ideological problems with companies making money. I do have problems with vendor lock-in. When your entire product depends on one provider's API, one billing relationship, one policy change away from catastrophe, you're not building software — you're renting it. The Apache 2.0 license exists precisely because we learned this lesson the hard way with databases, operating systems, and web servers.

The Chinese open weights approach gives me something the US walled gardens never will: the ability to inspect, fine-tune, self-host, and actually own my stack. That's the lens I'm using for everything below.


Let's Talk Money First, Because the Numbers Are Insane

I pulled these straight from the public pricing pages earlier this month. I'm not rounding, I'm not editorializing. Look at the rightmost column to see how badly some of us have been getting fleeced.

Model Origin Input per million tokens Output per million tokens Relative cost
GPT-4o US $2.50 $10.00 40× more
Claude 3.5 Sonnet US $3.00 $15.00 60× more
Gemini 1.5 Pro US $1.25 $5.00 20× more
GPT-4o-mini US $0.15 $0.60 2.4× more
DeepSeek V4 Flash China $0.18 $0.25 Baseline
Qwen3-32B China $0.18 $0.28 1.1× more
GLM-5 China $0.73 $1.92 7.7× more
Kimi K2.5 China $0.59 $3.00 12× more

I keep re-reading that Claude row. Sixty times more expensive than DeepSeek for output. My personal benchmark for "is this price reasonable" used to be GPT-4o at $10. After living with the Chinese alternatives, $10/M output feels like a tax on being too lazy to switch.

The interesting wrinkle: even within the Chinese ecosystem, prices vary by an order of magnitude. DeepSeek and Qwen are aggressive on cost, GLM and Kimi charge a premium. If you're budget-conscious, the bottom two rows are where you should be looking.


Quality Is No Longer the Excuse It Used to Be

I remember in 2023 telling myself "yeah but the US models are better." In 2026 I can't say that with a straight face. Here are the community benchmark averages I've been tracking — your mileage will absolutely vary, but the directional signal is clear.

Reasoning Tasks (MMLU Family)

Model Score Output cost
Claude 3.5 Sonnet 89.0 $15.00
GPT-4o 88.7 $10.00
Qwen3.5-397B 87.5 $2.34
Kimi K2.5 87.0 $3.00
GLM-5 86.0 $1.92
DeepSeek V4 Flash 85.5 $0.25

The gap between Claude and DeepSeek is 3.5 points. The price gap is 60×. If you're solving math problems where those 3.5 points matter, fine, pay the tax. For 95% of what I do — extracting structured data, summarizing articles, generating boilerplate code — that gap is invisible to end users.

Code Generation (HumanEval Family)

Model Score Output cost
Claude 3.5 Sonnet 93.0 $15.00
GPT-4o 92.5 $10.00
DeepSeek V4 Flash 92.0 $0.25
Qwen3-Coder-30B 91.5 $0.35
DeepSeek Coder 91.0 $0.25

Here's where things get embarrassing for the closed-source crowd. DeepSeek V4 Flash is one point behind GPT-4o on coding benchmarks while charging two and a half cents per million output tokens. If you build tooling and haven't tried it, you're leaving money on the table.

Chinese Language Work (C-Eval Family)

Model Score Output cost
GLM-5 91.0 $1.92
Kimi K2.5 90.5 $3.00
Qwen3-32B 89.0 $0.28
GPT-4o 88.5 $10.00
DeepSeek V4 Flash 88.0 $0.25

Plot twist nobody in the West likes to acknowledge: Chinese models are better at Chinese. Of course they are. If you're serving Chinese customers or processing Chinese content, the answer isn't even a question.


The Actual Problem: API Access Is a Mess

Here's where I slam into a wall every time I try to evangelize these models to other developers. The quality and pricing are amazing. The developer experience is a nightmare.

Let me walk through what happened when I tried to sign up for DeepSeek directly. I needed a Chinese phone number. I tried Moonshot for Kimi — same story, plus the dashboard is in Mandarin. Qwen through Alibaba Cloud requires Alipay or a Chinese bank card. I have three US credit cards and a PayPal account. None of them worked.

The matrix of pain looks something like this:

What you need US providers Chinese providers directly Through Global API
Payment method Credit card, fine WeChat/Alipay, blocked for most Westerners PayPal, Visa, Mastercard
Account signup Email Chinese phone number required Email
API style OpenAI-compatible Every provider rolls their own OpenAI-compatible
Geography Global access Often geo-fenced or throttled Global
Docs language English Mostly Chinese English (and Chinese)
Support English Chinese-only Both
Currency USD CNY only USD

This is the entire reason services like Global API exist. They sit between you and the Chinese providers, accept your PayPal or credit card, expose a single OpenAI-style endpoint, and handle the Chinese side of the business. I was skeptical at first — feels like adding a middleman. Then I realized OpenAI is also a middleman, and at least Global API's middleman lets me choose between eight models instead of one.


What the Code Actually Looks Like

Since I'm a practical person, let me show you how trivially you can switch. Here's my standard pattern for a Python project where I want optionality without rewriting logic:

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["GLOBAL_API_KEY"],
    base_url="https://global-apis.com/v1",
)

def summarize(text: str, model: str = "deepseek-v4-flash") -> str:
    response = client.chat.completions.create(
        model=model,
        messages=[
            {
                "role": "system",
                "content": "Summarize the following in three bullets."
            },
            {"role": "user", "content": text},
        ],
        temperature=0.3,
    )
    return response.choices[0].message.content

# Same call, totally different model
if __name__ == "__main__":
    article = "Long article text goes here..."

    cheap_summary = summarize(article, model="deepseek-v4-flash")
    print(f"DeepSeek: {cheap_summary}\n")

    quality_summary = summarize(article, model="gpt-4o")
    print(f"GPT-4o: {quality_summary}")
Enter fullscreen mode Exit fullscreen mode

That's it. The base_url swap is the whole migration story. Because Global API mimics the OpenAI schema, I keep my existing openai Python SDK, my error handling, my retry logic, my streaming code. Nothing changes except the cost line on my invoice.

For batch processing jobs where I need to be extra frugal, I sometimes route to Qwen3-32B or DeepSeek Coder depending on the task:

def classify_code_snippet(code: str) -> str:
    response = client.chat.completions.create(
        model="qwen3-coder-30b",
        messages=[
            {
                "role": "system",
                "content": "Classify this code by language and intent. One line answer."
            },
            {"role": "user", "content": code},
        ],
        max_tokens=50,
        temperature=0,
    )
    return response.choices[0].message.content.strip()

# $0.35 per million output tokens vs $15 for Claude
Enter fullscreen mode Exit fullscreen mode

I'm running this on a queue that processes about 200K snippets per week. My old Claude bill was somewhere around $200/month. The Qwen version runs me under $5. Same quality of classification on the kind of metadata I care about.


Pairwise Verdicts From My Own Usage

Rather than restate the giant tables, let me give you the honest, subjective comparison I share with friends who ask me which model to use.

DeepSeek V4 Flash versus GPT-4o

This is my default recommendation for anyone shipping a product. V4 Flash wins on cost by 40× and on tokens-per-second in my latency tests (about 60 vs 50). GPT-4o has vision support, which V4 Flash lacks. GPT-4o also has a slight edge on weird, niche reasoning tasks — the kind of thing you hit once every hundred requests. For volume work, V4 Flash is the obvious answer.

Context windows are tied at 128K, which is plenty for almost anything I build.

Qwen3-32B versus GPT-4o-mini

Honestly, this one isn't close. Qwen3-32B is better at reasoning, better at code, better at Chinese, and cheaper. $0.28/M output versus $0.60/M. The "mini" tier from OpenAI exists to upsell you to GPT-4o, and once you've used Qwen3-32B through an OpenAI-compatible endpoint, there's no real reason to pay the OpenAI tax for this tier.

Kimi K2.5 versus Claude 3.5 Sonnet

This is the one I was most curious about because Claude has a reputation. Kimi K2.5 matches Claude on reasoning in my internal tests and wins on Chinese-language work by a mile. The cost is $3 vs $15 per million output tokens. Five times cheaper for comparable quality on the tasks I run.

I still keep Claude as a fallback for certain creative writing prompts where it has a distinctive style. But for production pipelines, Kimi handles 90% of what I'd otherwise send to Anthropic.


Why I'm Not Switching Back to Closed Source

Even if prices were equal, I'd still prefer the open weights ecosystem because of one fundamental property: optionality. With DeepSeek or Qwen, if I want to self-host for privacy reasons, I can. If I want to fine-tune on my own data, I can. If the provider disappears next year, I keep the weights under Apache 2.0 and run them myself. That's not theoretical — Qwen3-32B runs on a single A100 or even a beefy consumer GPU with quantization.

With GPT-4o, none of that is possible. I'm a tenant, not a customer. The day OpenAI decides to retire the model, deprecate the API, or change pricing, my product is hostage to their roadmap. The same goes for Claude and Gemini.

The "walled garden" metaphor is overused, but it fits. I've spent enough years in software to know that walls have a way of getting taller, not shorter, once you're inside one.


A Few Caveats Because I'm Not a Fanboy

The Chinese models aren't magic. A few honest notes from my experience:

  • Latency from US regions can be higher than GPT-4o because of routing. The 60 tokens/sec figure for DeepSeek is from my Frankfurt server; from Virginia I see closer to 45.
  • Tool calling support varies. DeepSeek V4 Flash supports it well; some smaller Qwen variants are quirky.
  • English instruction following is good but occasionally a touch literal in ways GPT-4o isn't. I notice this on edge cases.
  • Long-context performance degrades past 64K for some models in ways the leaderboards don't capture.

None of these are dealbreakers for me. They're just things to know.


My Current Routing Strategy

For the curious, here's how I split traffic in my main side project:

  • Bulk classification, extraction, summarization → DeepSeek V4 Flash (cheap, fast, good enough)
  • Code-heavy tasks → Qwen3-Coder-30B or DeepSeek Coder
  • Chinese content → GLM-5 or Kimi K2.5
  • Hard reasoning fallback → Claude 3.5 Sonnet via Global API (yes, they proxy that too)
  • Vision tasks → GPT-4o (still the king here)

The Claude and GPT-4o slots are maybe 5% of my total token volume. The bills reflect that — I've gone from roughly $300/month down to under $30 for the same product surface.


Where to Start If You're Curious

If you've read this far and you're tempted to try, my honest advice is to pick one model, run a small pilot for a week, and look at your own quality metrics. Don't trust my benchmarks or anyone else's — your domain is your domain.

The easiest way I've found to start is through Global API at global-apis.com/v1. The signup is normal email + PayPal, the endpoint is OpenAI-compatible so your existing code works, and you can switch between DeepSeek, Qwen, Kimi, GLM, and the usual US suspects without changing a line of integration code. That's the part that sold me — the open weights philosophy only matters if you can actually reach the models, and this

Top comments (0)