Code Migration

    🏆 Leaderboard

    As of August 20, 2026, Claude Opus 5 is #1 for Code Migration at 57.5%. Ranked by the Code Migration score 43 models in this index have a published Code Migration score. Code Migration leaderboard with live API prices. Code Migration — Vals.ai eval for porting and modernizing existing codebases.

    Updated August 20, 2026282 models33 providers
    Claude Opus 5
    Anthropic · Proprietary
    57.5%$30.00
    Claude Fable 5
    Anthropic · Proprietary
    55.1%$60.00
    GPT-5.6 Sol
    OpenAI · Proprietary
    52.9%$35.00
    Claude Opus 4.8
    Anthropic · Proprietary
    47.3%$30.00
    GPT-5.5
    OpenAI · Proprietary
    45.2%$35.00
    Grok 4.6
    xAI · Proprietary
    44.6%$8.00
    GPT-5.6 Luna
    OpenAI · Proprietary
    44.5%$1.40
    Claude Sonnet 5
    Anthropic · Proprietary
    44.4%$12.00
    Claude Opus 4.7
    Anthropic · Proprietary
    43.9%$30.00
    DeepSeek-V4-Pro-0813OSS
    DeepSeek · Open Source
    41.5%$5.28
    Claude Sonnet 4.6
    Anthropic · Proprietary
    39.9%$18.00
    DeepSeek-V4-Flash-0731OSS
    DeepSeek · Open Source
    38.6%$1.76
    GLM-5.2OSS
    Z AI · Open Source
    37.9%$5.80
    Grok 4.5
    xAI · Proprietary
    36.6%$8.00
    GPT-5.6 Terra
    OpenAI · Proprietary
    36.4%$14.00
    GPT-5.4
    OpenAI · Proprietary
    35.0%$17.50
    Gemini 3.7 Flash
    Google · Proprietary
    34.8%$4.50
    Muse Spark 1.1
    Meta · Proprietary
    31.1%$5.50
    Gemini 3.6 Flash
    Google · Proprietary
    30.9%$4.50
    Muse Spark 1.2
    Meta · Proprietary
    29.9%$5.50
    Kimi K2.6OSS
    Moonshot AI · Open Source
    27.8%$4.93
    Gemini 3.5 Flash
    Google · Proprietary
    26.8%$10.50
    GLM-5.1OSS
    Z AI · Open Source
    25.8%$5.80
    Kimi K2.7 CodeOSS
    Moonshot AI · Open Source
    25.4%$4.93
    Qwen3.8 MaxOSS
    Qwen · Open Source
    24.0%$8.00
    MiMo-V2.5-ProOSS
    Xiaomi · Open Source
    21.6%$1.30
    MiniMax M3OSS
    MiniMax · Open Source
    19.9%$1.50
    Gemini 3.1 Pro
    Google · Proprietary
    17.3%$17.50
    Kimi K3OSS
    Moonshot AI · Open Source
    16.1%$18.00
    GPT-5.4 nano
    OpenAI · Proprietary
    14.5%$1.45
    MiMo-V2.5OSS
    Xiaomi · Open Source
    14.2%$0.50
    Inkling-SmallOSS
    Thinking Machines · Open Source · via Thinking Machines Lab
    13.7%$1.50
    Qwen3.7 Max
    Qwen · Proprietary
    13.1%$5.00
    GPT-5.4 mini
    OpenAI · Proprietary
    12.9%$5.25
    Qwen3.7-Plus
    Qwen · Proprietary
    12.9%$1.60
    Qwen3.6 Plus
    Qwen · Proprietary
    11.1%$3.50
    MiniMax M2.7OSS
    MiniMax · Open Source
    8.7%$1.50
    Grok 4.3
    xAI · Proprietary
    6.8%$3.75
    Gemini 3 Flash
    Google · Proprietary
    6.4%$3.50
    Gemini 3.5 Flash-Lite
    Google · Proprietary
    6.2%$2.80
    Mistral Medium 3.5OSS
    Mistral · Open Source · via Mistral AI
    5.1%$9.00
    Nemotron 3 Ultra (550B A55B)OSS
    NVIDIA · Open Source · via OpenRouter
    4.9%$2.70
    Gemini 3.1 Flash-Lite
    Google · Proprietary
    4.6%$1.75
    ChatGPT-4o Latest
    OpenAI · Proprietary
    $12.50
    Claude 3 Haiku
    Anthropic · Proprietary
    $1.50
    Claude 3 Opus
    Anthropic · Proprietary
    $90.00
    Claude 3 Sonnet
    Anthropic · Proprietary
    $18.00
    Claude 3.5 Haiku
    Anthropic · Proprietary
    $4.80
    Claude 3.5 Sonnet
    Anthropic · Proprietary
    $18.00
    Claude 3.5 Sonnet
    Anthropic · Proprietary
    $18.00
    Showing 150 of 282 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.

    The index

    All Large Language Models

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

    Baidu

    1 models

    Inception

    1 models

    inclusionAI

    1 models

    LG AI Research

    1 models

    Nous Research

    1 models

    Sakana AI

    1 models

    StepFun

    1 models

    Tencent

    1 models

    Thinking Machines

    1 models

    Unisound

    1 models

    Upstage

    1 models

    Which model leads Code Migration right now?

    As of August 20, 2026, Claude Opus 5 by Anthropic is #1 for Code Migration at 57.5%. Ranked by the Code Migration score This board also tracks Code Migration. Next on the same board: Claude Fable 5 and GPT-5.6 Sol. This code migration leaderboard ranks models by Code Migration. Scores come from public evals. Prices are the live API rates in the table above.

    Sources: OpenAI API pricing (https://developers.openai.com/api/docs/pricing); Anthropic Claude API pricing (https://platform.claude.com/docs/en/about-claude/pricing); Gemini API pricing (https://ai.google.dev/gemini-api/docs/pricing)

    Top 8 for code migration. Ranked by the Code Migration score Input and output are dollars per million tokens.
    RankModelCode MigrationInput /MOutput /M
    1Claude Opus 557.5%$5.00$25.00
    2Claude Fable 555.1%$10.00$50.00
    3GPT-5.6 Sol52.9%$5.00$30.00
    4Claude Opus 4.847.3%$5.00$25.00
    5GPT-5.545.2%$5.00$30.00
    6Grok 4.644.6%$2.00$6.00
    7GPT-5.6 Luna44.5%$0.20$1.20
    8Claude Sonnet 544.4%$2.00$10.00

    Code Migration FAQ

    Who ranks #1 on the Code Migration leaderboard?

    As of August 20, 2026, Claude Opus 5 by Anthropic ranks #1 on Code Migration at 57.5%. API pricing is $5.00/M input and $25.00/M output.

    What are the top models on Code Migration?

    The current Code Migration ranking as of August 20, 2026 is 1. Claude Opus 5 at 57.5%; 2. Claude Fable 5 at 55.1%; 3. GPT-5.6 Sol at 52.9%.

    Which code migration model is the cheapest?

    MiMo-V2.5 is the cheapest scored model on this code migration leaderboard at $0.17/M input and $0.34/M output ($0.50 blended). Claude Opus 5 still leads Code Migration at 57.5%.

    Should I always pick the #1 Code Migration model?

    Not automatically. Claude Opus 5 leads Code Migration, but a cheaper scored model can be the better production choice if the quality gap is small. Use the table to weigh Code Migration against input/output price, context window, and related evals.

    How often is the Code Migration leaderboard updated?

    Scores and API prices on this page are refreshed from published evals and provider rates. The snapshot is labeled August 20, 2026. Treat it as a current index, not a one-off blog post.

    What is Code Migration?

    Code Migration — Vals.ai eval for porting and modernizing existing codebases. This page ranks models that have published a Code Migration score, with live API token prices on the same row.

    Where is the Code Migration leaderboard?

    This page is the Code Migration leaderboard. Models are sorted by Code Migration, with input and output token prices on the same row so you can weigh score against cost. Official boards often omit price; that comparison is the point of this index.

    How is this Code Migration ranking different from the official board?

    Official eval pages own the methodology. This page keeps the published Code Migration score next to live API $/M so you can pick a production SKU, not only a trophy number.