Enterprise DNA Enterprise DNA
Directories / Models / Cheapest Coding

Cheapest models for coding

Ranked by input $/Mtoken, then output. Strong code generation and agent coding loops.

  1. 1
    Hy3 preview

    Tencent · 262,144 context

    Input

    $0.063/M

    Output

    $0.210/M

  2. 2
    DeepSeek V4 Flash

    DeepSeek · 1,048,576 context

    Input

    $0.098/M

    Output

    $0.196/M

  3. 3
    Mistral Small 3.2 24B

    Mistral · 131,072 context

    Input

    $0.100/M

    Output

    $0.300/M

  4. 4
    Llama 4 Scout

    Meta · 10,000,000 context

    Input

    $0.100/M

    Output

    $0.300/M

  5. 5
    MiMo-V2.5

    Xiaomi · 1,048,576 context

    Input

    $0.140/M

    Output

    $0.280/M

  6. 6
    GPT-4o-mini

    OpenAI · 128,000 context

    Input

    $0.150/M

    Output

    $0.600/M

  7. 7
    Llama 4 Maverick

    Meta · 1,048,576 context

    Input

    $0.200/M

    Output

    $0.800/M

  8. 8
    GPT-5.4 Nano

    OpenAI · 400,000 context

    Input

    $0.200/M

    Output

    $1.25/M

  9. 9
    DeepSeek V3

    DeepSeek · 131,072 context

    Input

    $0.200/M

    Output

    $0.800/M

  10. 10
    Nex-N2-Pro

    Nex Agi · 262,144 context

    Input

    $0.250/M

    Output

    $1.00/M

  11. 11
    DeepSeek V3.2

    DeepSeek · 163,840 context

    Input

    $0.269/M

    Output

    $0.400/M

  12. 12
    Qwen3 Coder 480B A35B

    Qwen · 1,048,576 context

    Input

    $0.300/M

    Output

    $1.00/M

  13. 13
    MiniMax M3

    Minimax · 1,048,576 context

    Input

    $0.300/M

    Output

    $1.20/M

  14. 14
    KAT-Coder-Pro V2

    Kwaipilot · 256,000 context

    Input

    $0.300/M

    Output

    $1.20/M

  15. 15
    Qwen3.7 Plus

    Qwen · 1,000,000 context

    Input

    $0.320/M

    Output

    $1.28/M

  16. 16
    DeepSeek V4 Pro

    DeepSeek · 1,048,576 context

    Input

    $0.435/M

    Output

    $0.870/M

  17. 17
    MiMo-V2.5-Pro

    Xiaomi · 1,048,576 context

    Input

    $0.435/M

    Output

    $0.870/M

  18. 18
    Kimi K2.6

    Moonshotai · 262,144 context

    Input

    $0.684/M

    Output

    $3.42/M

  19. 19
    R1

    DeepSeek · 163,840 context

    Input

    $0.700/M

    Output

    $2.50/M

  20. 20
    GPT-5.4 Mini

    OpenAI · 400,000 context

    Input

    $0.750/M

    Output

    $4.50/M

  21. 21
    Qwen3 Max

    Qwen · 262,144 context

    Input

    $0.780/M

    Output

    $3.90/M

  22. 22
    Kimi K2.7 Code

    Moonshotai · 262,144 context

    Input

    $0.850/M

    Output

    $3.80/M

  23. 23
    GLM 5.2

    Z Ai · 1,048,576 context

    Input

    $0.952/M

    Output

    $2.99/M

  24. 24
    GLM 5.1

    Z Ai · 202,752 context

    Input

    $0.966/M

    Output

    $3.04/M

  25. 25
    Claude Haiku 4.5

    Anthropic · 200,000 context

    Input

    $1.00/M

    Output

    $5.00/M

  26. 26
    GPT-5.6 Luna

    OpenAI · 1,050,000 context

    Input

    $1.00/M

    Output

    $6.00/M

  27. 27
    Muse Spark 1.1

    Meta · 1,048,576 context

    Input

    $1.25/M

    Output

    $4.25/M

  28. 28
    Gemini 2.5 Pro

    Google · 1,048,576 context

    Input

    $1.25/M

    Output

    $10.00/M

  29. 29
    Qwen3.7 Max

    Qwen · 1,000,000 context

    Input

    $1.48/M

    Output

    $4.42/M

  30. 30
    Gemini 3.5 Flash

    Google · 1,048,576 context

    Input

    $1.50/M

    Output

    $9.00/M

  31. 31
    Grok 4.5

    xAI · 500,000 context

    Input

    $2.00/M

    Output

    $6.00/M

  32. 32
    Mistral Large

    Mistral · 128,000 context

    Input

    $2.00/M

    Output

    $6.00/M

  33. 33
    o3

    OpenAI · 200,000 context

    Input

    $2.00/M

    Output

    $8.00/M

  34. 34
    Claude Sonnet 5

    Anthropic · 1,000,000 context

    Input

    $2.00/M

    Output

    $10.00/M

  35. 35
    Gemini 3.1 Pro Preview

    Google · 1,048,576 context

    Input

    $2.00/M

    Output

    $12.00/M

  36. 36
    GPT-4o

    OpenAI · 128,000 context

    Input

    $2.50/M

    Output

    $10.00/M

  37. 37
    GPT-5.6 Terra

    OpenAI · 1,050,000 context

    Input

    $2.50/M

    Output

    $15.00/M

  38. 38
    GPT-5.4

    OpenAI · 1,050,000 context

    Input

    $2.50/M

    Output

    $15.00/M

  39. 39
    Claude Sonnet 4.5

    Anthropic · 1,000,000 context

    Input

    $3.00/M

    Output

    $15.00/M

  40. 40
    Claude Sonnet 4

    Anthropic · 1,000,000 context

    Input

    $3.00/M

    Output

    $15.00/M