Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B

    Comparison

    As of August 30, 2026, Qwen3.5-4B is 67% cheaper per million tokens than Qwen2.5-Coder 7B Instruct. Qwen2.5-Coder 7B Instruct is $0.30 / $0.30 per million input/output tokens versus Qwen3.5-4B at $0.08 / $0.12. Source: https://www.alibabacloud.com/help/en/model-studio/pricing

    Source: Qwen pricing (https://www.alibabacloud.com/help/en/model-studio/pricing)

    Qwen2.5-Coder 7B Instruct

    Qwen

    $0.60blended / 1M

    Input

    $0.30

    Output

    $0.30

    131.1K ctx|Open Source
    67%
    cheaper
    Better value

    Qwen3.5-4B

    Qwen

    $0.20blended / 1M

    Input

    $0.08

    Output

    $0.12

    32.8K ctx|Open Source
    Save $0.40 per million tokens by choosing Qwen3.5-4B over Qwen2.5-Coder 7B Instruct.

    Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B comparison

    Token pricing, specs, and benchmarks side by side

    Shared benchmarks

    Each bar is share of the current leader on that eval. Click a row to open the board.

    Qwen2.5-Coder 7B InstructQwen3.5-4B

    Score vs price

    MMLU-Pro. Left is cheaper. Up is a higher score. The line is the best score you can buy at each price.

    Best score at each priceQwen2.5-Coder 7B InstructQwen3.5-4B
    Metric
    Qwen2.5-Coder 7B Instruct
    Qwen3.5-4B
    Provider
    Provider
    Qwen
    Qwen
    License
    Open Source
    Open Source
    Release Date
    2024-09-19
    2026-03-02
    Pricing (per 1M tokens)
    Input Price+275%
    $0.30
    $0.08
    Output Price+150%
    $0.30
    $0.12
    Blended (1M + 1M)
    $0.60
    $0.20
    Model Details
    Context Window
    131.1K
    32.8K
    Max Output Tokens
    N/A
    N/A
    Knowledge Cutoff
    N/A
    N/A
    Throughput
    N/A
    N/A
    Benchmarks
    76.2%
    89.8%
    59.2%
    57%
    76.1%
    67.6%
    76.8%
    88.4%
    46.6%
    55.6%
    60.9%
    50.3%
    85.1%
    78.9%
    83.9%
    74%
    76.8%
    71%
    78%
    83.5%
    68%
    40.1%
    79.1%
    71.5%
    66.6%
    88.8%
    54.3%
    51.1%
    34%
    52.9%
    79.9%
    34%
    50.6%
    72.9%
    66.6%
    Benchmark Wins
    Qwen2.5-Coder 7B Instruct 0|2 Qwen3.5-4B

    Verdict

    Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B: the bottom line

    Qwen3.5-4B offers both lower pricing and stronger benchmark performance across the board, making it the clear value leader in this comparison.

    Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B FAQ

    Which is cheaper, Qwen2.5-Coder 7B Instruct or Qwen3.5-4B?

    As of August 30, 2026, Qwen3.5-4B is 67% cheaper on blended LLM API pricing. Qwen3.5-4B costs $0.08 per million input tokens and $0.12 per million output tokens ($0.20 blended 1M-in + 1M-out). Qwen2.5-Coder 7B Instruct costs $0.30 / $0.30 per million tokens ($0.60 blended). Sources: https://www.alibabacloud.com/help/en/model-studio/pricing and https://www.alibabacloud.com/help/en/model-studio/pricing. The cheapest LLM for your app still depends on how many output tokens you generate.

    How much does Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B cost per million tokens?

    Qwen2.5-Coder 7B Instruct Qwen API pricing is $0.30 input and $0.30 output per million tokens via Qwen. Qwen3.5-4B Qwen API pricing is $0.08 input and $0.12 output per million tokens via Qwen. Use those four numbers, not ChatGPT Plus or Claude Pro subscription prices, when you are comparing APIs.

    Which is better for coding, Qwen2.5-Coder 7B Instruct or Qwen3.5-4B?

    Qwen2.5-Coder 7B Instruct has a published LiveCodeBench score of 18.2%. Qwen3.5-4B does not have that eval on this page yet.

    What is the context window for Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B?

    Qwen2.5-Coder 7B Instruct supports a 131K token context window, while Qwen3.5-4B supports 33K tokens. Qwen2.5-Coder 7B Instruct offers a larger context window. Filling a larger window bills more input tokens, so the cheaper-per-million model can still cost more on long documents.

    Which model performs better on benchmarks, Qwen2.5-Coder 7B Instruct or Qwen3.5-4B?

    Qwen3.5-4B leads on 2 of 2 shared benchmarks versus Qwen2.5-Coder 7B Instruct's 0 wins. Check the comparison table for GPQA Diamond, SWE-bench, MMLU, HLE, and the other evals we track. Token price and benchmark score together are the usual LLM comparison, not either number alone.

    Is Qwen2.5-Coder 7B Instruct or Qwen3.5-4B better for production use?

    Both Qwen2.5-Coder 7B Instruct and Qwen3.5-4B are production API models. For cost-sensitive production traffic, Qwen3.5-4B has better economics on the blended 1M-in + 1M-out scale. For maximum capability, weight the benchmark table for your domain. Many production stacks route cheap models for drafts and a frontier model for the hard turn, which is usually cheaper than sending everything to the expensive API.

    Can I switch between Qwen2.5-Coder 7B Instruct and Qwen3.5-4B in my app?

    Yes. Call Qwen2.5-Coder 7B Instruct through Qwen and Qwen3.5-4B through Qwen with separate API keys, or through a gateway that already wraps both. Keep prompts in tokens, not characters, when you estimate the invoice. AnotherWrapper templates can swap providers without rewriting auth and billing.

    How accurate is this Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B pricing data?

    List rates are the latest published Qwen API pricing and Qwen API pricing, quoted per million tokens. Official rate sheets: https://www.alibabacloud.com/help/en/model-studio/pricing and https://www.alibabacloud.com/help/en/model-studio/pricing. Prompt caching, batch APIs, and committed-use discounts can change the invoice. Benchmark scores are from official publications and independent evals, updated as new numbers land.

    What is the output token limit for Qwen2.5-Coder 7B Instruct and Qwen3.5-4B?

    Qwen2.5-Coder 7B Instruct supports up to an unspecified number of output tokens per request, while Qwen3.5-4B supports up to an unspecified number of output tokens. Output tokens are usually the expensive half of API pricing, so a higher max output cap is a capability, not a discount.

    Which model has better throughput, Qwen2.5-Coder 7B Instruct or Qwen3.5-4B?

    Neither Qwen2.5-Coder 7B Instruct nor Qwen3.5-4B has published throughput data on this page yet. Throughput (tokens per second) and time-to-first-token are why two models with the same per-million-token price can still feel different in chat and agents.

    How do I switch the models in this Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B comparison?

    Use the model pickers at the top of this LLM comparison. Search any model in the index and the URL updates. Open Qwen2.5-Coder 7B Instruct or Qwen3.5-4B from the sidebar for the single-model API pricing page, or go back to the LLM pricing table to sort by cheapest blended cost.

    Qwen2.5-Coder 7B Instruct vs Qwen3.5-4B pricing

    This comparison covers API pricing, context window, throughput, and benchmark scores. Qwen2.5-Coder 7B Instruct costs $0.30/M input and $0.30/M output. Qwen3.5-4B costs $0.08/M input and $0.12/M output.

    Rank both on the LLM leaderboard, SWE-bench, and Humanity's Last Exam.

    The index

    All Large Language Models

    343 models across 36 providers. Search or jump to a lab — every model page stays linked here.

    Baidu

    2 models

    Inception

    1 models

    inclusionAI

    1 models

    LG AI Research

    1 models

    Liquid AI

    2 models

    Nous Research

    1 models

    OpenBMB

    1 models

    Sakana AI

    1 models

    Sarvam AI

    2 models

    Tencent

    1 models

    Thinking Machines

    1 models

    Unisound

    1 models

    Upstage

    1 models

    Next step

    You found the model. Now ship the product.

    Auth, billing, and the API layer are already decided. Fork 8 finished AI apps, or have us build the first version with you.