Best open-source AI models

Open-weight and open-source AI models you can run or fine-tune yourself — Llama, Mistral, Qwen, DeepSeek.

All models below are open-weight. Ranked by intelligence, with pricing reflecting hosted inference where available.

  1. 1

    Phi-4

    86.5Frontier
    Microsoft
    Context:
    16K
    MathFrontierOpen source
  2. 2

    DeepSeek V3

    84.0Frontier
    DeepSeek
    Context:
    128K
    Input:
    $0.27/1M
    Output:
    $1.1/1M
    MathAgenticFrontierOpen sourceCode
  3. 3

    DeepSeek R1

    76.9Strong
    DeepSeek
    Context:
    128K
    Input:
    $0.55/1M
    Output:
    $2.19/1M
    MathOpen sourceReasoning