Best Models for Reverse Engineering

    Models that read decompiler output, trace native code, and drive Ghidra, Hopper, and IDA through MCP — compared by price, context window, and tool support

    Compare
    Use Case
    Lounge Plan
    Capabilities
    Provider
    Status
    Input Price ($/M tokens)
    Output Price ($/M tokens)
    Context Size (tokens)
    21/290
    Models
    34/66
    Providers
    15
    Vision Models (filtered)
    21
    Tool-enabled (filtered)
    0
    Free Models (filtered)
    Features
    Baidu
    glm-5.2
    $1.40$4.40$0.26
    ByteDance
    glm-5.2
    $1.40$4.40$0.26
    CanopyWave
    glm-5.2
    $1.40$4.40$0.26
    NovitaAI
    glm-5.2
    $1.40$4.40$0.26
    Runware
    glm-5.2
    $0.80$2.55$0.16
    SCX.ai
    glm-5.2
    $0.60$2.12$0.15
    Tencent Cloud
    glm-5.2
    $1.40$4.40$0.26
    Z AI
    glm-5.2
    $1.40$4.40$0.26
    Moonshot AI
    kimi-k2.7-code
    $0.95$4.00$0.19
    NovitaAI
    kimi-k2.7-code
    $0.95$4.00$0.19
    SCX.ai
    kimi-k2.7-code
    $0.74$3.08$0.14
    Tencent Cloud
    kimi-k2.7-code
    $0.95$4.00$0.19
    Alibaba Cloud
    qwen3.7-plus
    $0.40$1.60$0.08
    Alibaba Cloud(cn-beijing)
    qwen3.7-plus
    $0.28$1.10$0.06
    Alibaba Cloud(eu-frankfurt)
    qwen3.7-plus
    $0.28$1.10$0.06
    Alibaba Cloud(singapore)
    qwen3.7-plus
    $0.40$1.60$0.08
    Alibaba Cloud(us-virginia)
    qwen3.7-plus
    $0.28$1.10$0.06
    Consensus Protocol
    minimax-m3
    $0.28$1.10$0.05
    MiniMax
    minimax-m3
    $0.60$2.40$0.12
    Tencent Cloud
    minimax-m3
    $0.30$1.20$0.06
    Together AI
    minimax-m3
    $0.30$1.20$0.06
    Anthropic
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    AWS Bedrock
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    AWS Bedrock(au)
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.50$27.50$0.55
    AWS Bedrock(eu)
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.50$27.50$0.55
    AWS Bedrock(global)
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    AWS Bedrock(jp)
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.50$27.50$0.55
    AWS Bedrock(us)
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.50$27.50$0.55
    Azure Anthropic
    claude-opus-4-8Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    Alibaba Cloud
    qwen3.7-max
    $2.50$7.50$0.50
    Alibaba Cloud(cn-beijing)
    qwen3.7-max
    $1.65$4.95$0.33
    Alibaba Cloud(eu-frankfurt)
    qwen3.7-max
    $1.65$4.95$0.33
    Alibaba Cloud(singapore)
    qwen3.7-max
    $2.50$7.50$0.50
    Alibaba Cloud(us-virginia)
    qwen3.7-max
    $1.65$4.95$0.33
    NovitaAI
    qwen3.7-max
    $1.25$3.75$0.25
    xAI
    grok-build-0-1
    $1.00$2.00$0.20
    AWS Bedrock
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.25$2.50$0.20
    AWS Bedrock(global)
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.25$2.50$0.20
    AWS Bedrock(us)
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.38$2.75$0.22
    AWS Bedrock(us-west-2)
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.38$2.75$0.22
    Azure AI Foundry
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.25$2.50$0.20
    xAI
    grok-4-3Plus: needs a Lounge Plus or Pro membership
    $1.25$2.50$0.20
    Alibaba Cloud
    deepseek-v4-pro
    $2.40$4.80$0.20
    Alibaba Cloud(cn-beijing)
    deepseek-v4-pro
    $1.65$3.30$0.14
    Alibaba Cloud(eu-frankfurt)
    deepseek-v4-pro
    $2.40$4.80$0.20
    Alibaba Cloud(singapore)
    deepseek-v4-pro
    $2.40$4.80$0.20
    Alibaba Cloud(us-virginia)
    deepseek-v4-pro
    $2.40$4.80$0.20
    Baidu
    deepseek-v4-pro
    $1.32$3.96$0.04
    ByteDance
    deepseek-v4-pro
    $1.32$3.96$0.04
    CanopyWave
    deepseek-v4-pro
    $1.74$3.48$0.01
    Page 2 of 3

    Newsletter

    Stay ahead of the curve

    Insights on LLM routing, new model launches and cost optimization, sent to your inbox.

    • New models and providers, rounded up
    • Tips to cut LLM costs
    • Major product launches

    No spam. Unsubscribe anytime.

    System status
    AICPA SOC for Service Organizations badgeSOC 2 Type II
    compliant

    Product

  1. Features
  2. AI Gateway
  3. Observability
  4. Models
  5. Providers
  6. Rankings
  7. Add Provider
  8. Partners
  9. Lounge
  10. Changelog
  11. DevPass
  12. Compare Models
  13. Enterprise
  14. Resources

    • Legal Overview
    • Apps
    • Templates
    • Agents
    • MCP Server
    • Use Cases
    • Blog
    • Documentation
    • Developer resources
    • Integrations
    • Guides
    • Brand Assets
    • Token Cost Calculator
    • Copilot Cost Calculator
    • Referral Program
    • GitHub
    • Discord
    • Twitter
    • About
    • Contact Us

    Compliance

    • Trust Center
    • Security Portal
    • Terms
    • Privacy Policy
    • Provider Information
    • Sub-processors
    • SOC 2 Type II
    • Status

    Compare

    • All Comparisons
    • GitHub Copilot
    • OpenRouter
    • LiteLLM
    • Portkey
    • AWS Bedrock
    • Microsoft Foundry
    • Vercel AI Gateway
    • OpenRouter Alternatives
    • LiteLLM Alternatives
    • Migration Guides

    Models

    • Text Generation
    • Text to Image
    • Image to Image
    • Video Generation
    • Embeddings
    • Decisions
    • Vision
    • Reasoning
    • Tool Calling
    • Web Search
    • Discounted
    • Best for Roleplay
    • Best for Coding
    • Best for Creative Writing
    • Best for Translation
    • Best for Math
    • Best for Cyber Security
    • Best for Reverse Engineering
    • Long Context
    • Cheapest
    • Open Source

    Providers

    • OpenAI
    • Anthropic
    • Google AI Studio
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • Runpod
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Mantle
    • Azure
    • Azure AI Foundry
    • Azure Anthropic
    • Z AI
    • Moonshot AI
    • Baidu
    • Perplexity
    • Nebius AI
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • SCX.ai (Turbo)
    • SCX.ai
    • ByteDance
    • MiniMax
    • EmberCloud
    • Meta
    • Meta Contributor
    • Sakana AI
    • Xiaomi
    • DeepInfra
    • ElevenLabs
    • Gonka24
    • Fireworks AI
    • RanoAI
    • Consensus Protocol
    • Tencent Cloud
    • TypeSafe AI

    © 2026 LLM Gateway. All rights reserved.

    Reverse engineering with an AI agent is now a mainstream workflow: tools like REA (Reverse Engineer Anything, 380K+ GitHub stars) give Claude Code, Codex, Cursor, OpenCode, and Qwen Code an MCP server that inspects native binaries, Electron and JavaScript apps, .NET assemblies, firmware, and Unity IL2CPP metadata, with Ghidra, Hopper, or IDA doing the heavy lifting. The model's job is to read pseudocode and strings, name functions, follow cross-references, and turn evidence into an explanation or a working reimplementation. That takes strong code reasoning, a long context window for decompiler output, and reliable tool calling.

    It also takes a model that does not stop halfway. Since October 21, 2026, users have reported that Claude Opus 5.5 cuts off reverse-engineering requests mid-answer, and ChatGPT applies a similar refusal layer to decompilation and exploit questions. Models from DeepSeek, Moonshot (Kimi), Z.ai (GLM), Alibaba (Qwen), MiniMax, Xiaomi, and ByteDance have no such classifier, and several of them — DeepSeek V4 Pro, Kimi K3.1 Pro, GLM-5.2 — carry million-token windows that hold an entire Ghidra export. Every model on this page supports tool calling and is available through one OpenAI- and Anthropic-compatible endpoint, so you can point your existing agent at the gateway and keep the same REA setup.

    Frequently asked questions

    What is the best AI model for reverse engineering?

    DeepSeek V4 Pro and Kimi K3.1 Pro are the strongest Chinese-lab choices: both reason well over decompiler pseudocode, support tool calling for Ghidra and Hopper bridges, and hold a 1M-token context. GLM-5.2 and Qwen3.7 Max are close behind, and DeepSeek V4.1 Flash is the budget pick at $0.15 per million input tokens for bulk function naming and string analysis. Among Western models, Grok 4.3 and Gemini 3.1 Pro complete most RE tasks; Claude Opus 5.5 is currently reported to halt them.

    Does Claude refuse reverse engineering now?

    Reports started on October 21, 2026 on r/Claude, covered by Kotaku and others: Claude Opus 5.5 begins analysing a target, then a safety guardrail stops the response mid-sentence and it will not reproduce the write-up even when reworded. Anthropic has not announced a change. Opus 5.5 launched on September 22, 2026 with safeguards that cover cybersecurity, and Anthropic's launch notes say interrupted cyber tasks in testing were completed by Claude Opus 4.8, which is why Opus 4.8 is on this list.

    Can I use REA with these models?

    Yes. REA (npx rea-agents setup) registers an MCP server with Claude Code, Codex, Cursor, Gemini CLI, OpenCode, Qwen Code, and other agents. Point that agent at LLM Gateway — https://api.llmgateway.io/v1 for OpenAI-compatible clients, or the Anthropic-compatible endpoint for Claude Code — with your gateway key and a model ID such as deepseek-v4-pro or kimi-k3.1-pro. REA's tools and skill stay the same; only the model behind the agent changes.

    Is AI-assisted reverse engineering legal?

    Often, within limits. Analysing your own code, open-source software, malware in a sandbox, and CTF challenges is generally permitted; interoperability and security research have explicit exemptions in many jurisdictions. Copying closed-source code into a product, circumventing DRM, or probing systems you do not own is usually where it stops being legal. Check the licence and the law where you are before you publish results.

    • DevPass
    • Lounge
    • Models
    • Docs
    • Pricing
    • DevPass
    • Lounge
    • Pricing
    • Docs
    • Models
      • AI Gateway
      • DevPass
      • Lounge
      • Observability
      • Enterprise
      • Blog
      • Changelog
      • Integrations
      • Reliability
      • Features
      • Guardrails
      • Providers
      • Partners
      • Rankings
      • Apps
      • Models
      • Model Timeline
      • Compare
      • Token Cost Calculator
      • Referral Program
      • MCP Server
      • CLI
      • Agents
      • AI SDK Provider
      • Agent Skills
      • Templates
      • Guides
    Log InGet Started
    1.7k