Compare the Top Foundation Models that integrate with OpenCode as of August 2026

This a list of Foundation Models that integrate with OpenCode. Use the filters on the left to add additional filters for products that have integrations with OpenCode. View the products that work with OpenCode in the table below.

What are Foundation Models for OpenCode?

Foundation models are large-scale artificial intelligence models trained on vast and diverse datasets that serve as the underlying technology for a wide range of AI applications. These models learn general-purpose capabilities such as language understanding, reasoning, image recognition, code generation, speech processing, and multimodal comprehension, allowing them to be adapted or fine-tuned for specific tasks across industries. Foundation models power applications including chatbots, AI agents, search, content generation, software development, scientific research, and business automation. Many are available through cloud APIs, open-source distributions, and enterprise AI platforms, supporting custom model development, retrieval-augmented generation (RAG), and domain-specific optimization. By providing reusable, general-purpose intelligence, foundation models enable organizations to accelerate AI development, reduce implementation costs, and build sophisticated AI-powered applications. Compare and read user reviews of the best Foundation Models for OpenCode currently available using the table below. This list is updated regularly.

  • 1
    Claude Opus 5

    Claude Opus 5

    Anthropic

    Claude Opus 5 is Anthropic’s advanced everyday AI model built for coding, knowledge work, problem-solving, visual outputs, and production AI workflows. The model delivers stronger performance than Opus 4.8 at the same base price and is positioned as a cost-effective alternative close to Claude Fable 5 frontier intelligence. Claude Opus 5 supports configurable effort settings so users can optimize for intelligence, speed, or token efficiency. It performs especially well on software engineering, automation, computer use, scientific research, and knowledge work evaluations. The model is available on Claude Max, Claude Pro, Claude API, Claude Code, and other Claude platforms, with Fast mode available at a higher price. Built for developers, researchers, enterprises, and everyday Claude users, Claude Opus 5 helps teams complete complex tasks with stronger verification, careful iteration, and practical cost efficiency.
    Starting Price: $5 per 1M tokens (input)
  • 2
    Claude Fable 5
    Claude Fable 5 is an advanced AI model from Anthropic designed to assist with software engineering, research, knowledge work, vision tasks, and complex reasoning. Built on the Mythos-class architecture, it delivers significantly improved performance across coding, analysis, and long-context workflows. The model can handle extended autonomous tasks while maintaining focus and consistency over large amounts of information. Claude Fable 5 integrates advanced reasoning, multimodal understanding, and memory capabilities to support professional and enterprise use cases. Anthropic has implemented specialized safeguards that automatically route certain high-risk cybersecurity, biology, chemistry, and model distillation requests to a different model. Claude Fable 5 helps organizations and professionals accelerate complex work while maintaining strong safety and governance controls.
    Starting Price: $10 per 1 million (input)
  • 3
    GPT-5.6 Luna
    GPT-5.6 Luna is the fast and affordable model in OpenAI’s GPT-5.6 series, built to bring strong capability to users and developers who need practical intelligence with lower overhead. In the new GPT-5.6 naming system, the number identifies the model generation, while Sol, Terra, and Luna identify durable capability tiers that can advance on their own cadence, giving people and developers clearer choices across intelligence, speed, and cost. Luna sits alongside Sol, the flagship model, and Terra, the balanced model for everyday work, as part of a family designed for broader access to next-generation AI. During the limited preview, GPT-5.6 models are initially available through the API and Codex to a select group of trusted partners and organizations, with plans for broader availability in ChatGPT, Codex, and the API. OpenAI developed GPT-5.6 Sol, Terra, and Luna with its most robust safeguards to date, with configurations matched to each model’s capabilities.
    Starting Price: $0.20 per 1M tokens (input)
  • 4
    GPT-5.6 Terra
    GPT-5.6 Terra is a balanced model in the GPT-5.6 series designed for everyday work, coding, agentic workflows, cybersecurity support, biology analysis, and enterprise automation. It sits between GPT-5.6 Sol, the flagship model, and GPT-5.6 Luna, the faster and lower-cost option. Terra is positioned to deliver competitive performance to GPT-5.5 while being significantly cheaper to run. The model supports improved reasoning, coding, tool coordination, long-horizon workflows, and legitimate defensive security work. It is part of a model family built with layered safeguards, including trained refusals, real-time misuse classifiers, account-level review, differentiated access, monitoring, and continued red-team testing. GPT-5.6 Terra helps developers, enterprises, and technical teams access strong AI capabilities with a more practical balance of intelligence, speed, and cost.
    Starting Price: $2 per 1M tokens (input)
  • 5
    Claude Mythos 5
    Claude Mythos 5 is Anthropic’s most advanced restricted-access AI model, designed for trusted cyberdefenders, infrastructure providers, and select research organizations. It uses the same underlying model as Claude Fable 5 but provides lifted safeguards in approved areas for specialized high-trust use cases. The model delivers exceptional capabilities in cybersecurity, software engineering, scientific research, long-context reasoning, vision, and autonomous task execution. Anthropic initially deployed Claude Mythos 5 through Project Glasswing in collaboration with the U.S. government to help protect critical software and infrastructure. The model also shows strong potential in life sciences, including protein design, molecular biology hypothesis generation, and genomics research. Claude Mythos 5 is built for organizations that need frontier AI capabilities under controlled, trusted-access conditions.
    Starting Price: $10 per 1 million (input)
  • 6
    Kimi K3

    Kimi K3

    Moonshot AI

    Kimi K3 is Moonshot AI’s most capable model, built for frontier intelligence scenarios such as software engineering, knowledge work, deep reasoning, and multimodal understanding. The model has 2.8 trillion parameters and uses Kimi Delta Attention, a hybrid linear attention mechanism, along with Attention Residuals for long-context performance. Kimi K3 supports a 1 million token context window, making it useful for analyzing large codebases, long documents, complex knowledge bases, and multi-step workflows. It includes native visual understanding for images and videos, with support for structured message formats, base64 image input, uploaded video files, and multimodal reasoning. Developers can use Kimi K3 through an OpenAI-compatible API with support for streaming, structured JSON output, partial mode, custom tools, dynamic tool loading, and automatic context caching.
    Starting Price: $3 per 1M tokens (input)
  • 7
    Gemini 3.5 Pro
    Gemini 3.5 Pro is Google’s anticipated next-generation Pro model in the Gemini 3.5 series, designed for advanced reasoning, coding, multimodal understanding, and agentic workflows. It is expected to build on Google’s Gemini 3 family with stronger performance for complex tasks that require planning, context handling, tool use, and deep problem solving. The model is aimed at users who need more power than faster Flash models for demanding development, research, automation, and enterprise AI use cases. Gemini 3.5 Pro is expected to support sophisticated workflows across text, code, files, multimodal inputs, and connected tools. Developers and organizations will likely use it through Google’s AI platforms for building assistants, agents, coding tools, analysis systems, and productivity applications. As an upcoming Pro-tier model, Gemini 3.5 Pro is positioned for high-value workloads where accuracy, reasoning quality, and advanced task execution matter more than maximum speed.
  • 8
    Muse Spark 1.1
    Muse Spark 1.1 is a multimodal reasoning model from Meta Superintelligence Labs built for agentic tasks, coding, computer use, tool use, and multimodal understanding. The model improves on the original Muse Spark with stronger performance in planning, orchestration, long-context work, coding workflows, and external app interactions. Muse Spark 1.1 can manage a 1 million token context window, remember earlier actions, retrieve important information, compact context, and delegate tasks across parallel subagents. It is designed to operate across tools, MCP servers, custom skills, browsers, native apps, scripts, images, video, PDFs, and audio-based workflows. Developers can access Muse Spark 1.1 through the new Meta Model API public preview, while users can try it in Thinking mode in the Meta AI app and on meta.ai.
    Starting Price: $1.25 per 1M tokens (input)
  • 9
    GPT-5.5

    GPT-5.5

    OpenAI

    GPT-5.5 is an advanced AI model designed to handle complex, real-world tasks with greater autonomy and efficiency. It quickly understands user intent and can execute multi-step workflows such as coding, research, data analysis, and document creation with minimal guidance. Instead of requiring step-by-step instructions, GPT-5.5 plans tasks, uses tools, evaluates outputs, and continues working until completion. It excels in knowledge work, software development, and analytical problem-solving, helping users move from idea to execution faster. The model is built to operate across tools and environments, making it highly effective for modern digital workflows. With strong reasoning and persistence, GPT-5.5 enables individuals and teams to complete demanding work more efficiently and accurately.
    Starting Price: $5 per 1M tokens (input)
  • 10
    Claude Opus 4.8
    Claude Opus 4.8 is a powerful AI model from Anthropic designed to deliver stronger coding, reasoning, agentic workflows, and advanced collaboration capabilities for developers, enterprises, and AI-powered productivity tasks. The model builds on Claude Opus 4.7 with improvements across coding benchmarks, practical knowledge work, alignment, and reliability while maintaining the same pricing structure. Claude Opus 4.8 introduces enhanced honesty and reasoning behavior, making it less likely to generate unsupported claims or overlook flaws during complex tasks such as software development and agent execution. The release also includes new features such as effort control settings, fast mode for lower-cost high-speed processing, and dynamic workflows in Claude Code that allow the system to coordinate hundreds of parallel subagents for large-scale tasks.
    Starting Price: $5 per 1M (input)
  • 11
    Muse Spark 1.2
    Muse Spark 1.2 is Meta’s coding-focused model update designed to power Muse Code and improve software engineering workflows. The model is built for code generation, complex debugging, codebase understanding, long-horizon development tasks, and end-to-end developer workflows. Muse Spark 1.2 was co-trained with Muse Code to improve performance inside the terminal coding agent environment. It supports planning, goal conditioning, context compaction, subagent coordination, and iterative coding workflows across large repositories. The model was trained with expanded coding compute, diverse development environments, self-improvement loops, and long-running engineering tasks. Built for AI developers and software teams, Muse Spark 1.2 helps agents plan, write, validate, debug, and optimize code with greater autonomy.
    Starting Price: $1.25 per 1M tokens (input)
  • 12
    Claude

    Claude

    Anthropic

    Claude is a next-generation AI assistant developed by Anthropic to help individuals and teams solve complex problems with safety, accuracy, and reliability at its core. It is designed to support a wide range of tasks, including writing, editing, coding, data analysis, and research. Claude allows users to create and iterate on documents, websites, graphics, and code directly within chat using collaborative tools like Artifacts. The platform supports file uploads, image analysis, and data visualization to enhance productivity and understanding. Claude is available across web, iOS, and Android, making it accessible wherever work happens. With built-in web search and extended reasoning capabilities, Claude helps users find information and think through challenging problems more effectively. Anthropic emphasizes security, privacy, and responsible AI development to ensure Claude can be trusted in professional and personal workflows.
    Starting Price: Free
  • 13
    GPT-4.1

    GPT-4.1

    OpenAI

    GPT-4.1 is an advanced AI model from OpenAI, designed to enhance performance across key tasks such as coding, instruction following, and long-context comprehension. With a large context window of up to 1 million tokens, GPT-4.1 can process and understand extensive datasets, making it ideal for tasks like software development, document analysis, and AI agent workflows. Available through the API, GPT-4.1 offers significant improvements over previous models, excelling at real-world applications where efficiency and accuracy are crucial.
    Starting Price: $2 per 1M tokens (input)
  • 14
    Claude Opus 4

    Claude Opus 4

    Anthropic

    Claude Opus 4 represents a revolutionary leap in AI model performance, setting a new standard for coding and reasoning capabilities. As the world’s best coding model, Opus 4 excels in handling long-running, complex tasks, and agent workflows. With sustained performance that can run for hours, it outperforms all prior models—including the Sonnet series—making it ideal for demanding coding projects, research, and AI agent applications. It’s the model of choice for organizations looking to enhance their software engineering, streamline workflows, and improve productivity with remarkable precision. Now available on Anthropic API, Amazon Bedrock, and Gemini Enterprise Agent Platform, Opus 4 offers unparalleled support for coding, debugging, and collaborative agent tasks.
    Starting Price: $15 / 1 million tokens (input)
  • 15
    Gemini 3 Pro
    Gemini 3 Pro is Google’s most advanced multimodal AI model, built for developers who want to bring ideas to life with intelligence, precision, and creativity. It delivers breakthrough performance across reasoning, coding, and multimodal understanding—surpassing Gemini 2.5 Pro in both speed and capability. The model excels in agentic workflows, enabling autonomous coding, debugging, and refactoring across entire projects with long-context awareness. With superior performance in image, video, and spatial reasoning, Gemini 3 Pro powers next-generation applications in development, robotics, XR, and document intelligence. Developers can access it through the Gemini API, Google AI Studio, or Gemini Enterprise Agent Platform, integrating seamlessly into existing tools and IDEs. Whether generating code, analyzing visuals, or building interactive apps from a single prompt, Gemini 3 Pro represents the future of intelligent, multimodal AI development.
    Starting Price: $19.99/month
  • 16
    Claude Opus 4.7
    Claude Opus 4.7 is the latest Anthropic AI model release designed to significantly improve performance in advanced software engineering and complex problem-solving tasks. It builds upon the previous Opus 4.6 model by delivering stronger results on difficult coding challenges and long-running workflows. The model is known for its ability to follow instructions precisely and verify its own outputs for greater reliability. It also introduces enhanced multimodal capabilities, particularly in processing high-resolution images with improved accuracy. Opus 4.7 supports more detailed visual tasks such as analyzing dense screenshots and extracting data from complex diagrams. In professional settings, it produces higher-quality outputs including documents, presentations, and user interfaces. The model includes updated safety features that detect and block high-risk cybersecurity-related requests.
    Starting Price: $5 per million tokens (input)
  • 17
    Claude Sonnet 4
    Claude Sonnet 4, the latest evolution of Anthropic’s language models, offers a significant upgrade in coding, reasoning, and performance. Designed for diverse use cases, Sonnet 4 builds upon the success of its predecessor, Claude Sonnet 3.7, delivering more precise responses and better task execution. With a state-of-the-art 72.7% performance on the SWE-bench, it stands out in agentic scenarios, offering enhanced steerability and clear reasoning capabilities. Whether handling software development, multi-feature app creation, or complex problem-solving, Claude Sonnet 4 ensures higher code quality, reduced errors, and a smoother development process.
    Starting Price: $3 / 1 million tokens (input)
  • 18
    Gemini 2.5 Pro
    Gemini 2.5 Pro is an advanced AI model designed to handle complex tasks with enhanced reasoning and coding capabilities. Leading common benchmarks, it excels in math, science, and coding, demonstrating strong performance in tasks like web app creation and code transformation. Built on the Gemini 2.5 foundation, it features a 1 million token context window, enabling it to process vast datasets from various sources such as text, images, and code repositories. Available now in Google AI Studio, Gemini 2.5 Pro is optimized for more sophisticated applications and supports advanced users with improved performance for complex problem-solving.
    Starting Price: $19.99/month
  • 19
    Claude Opus 4.6
    Claude Opus 4.6 is an advanced AI model developed by Anthropic, designed for high-level reasoning, coding, and knowledge work tasks. It introduces significant improvements in coding, debugging, and code review capabilities. The model can handle long, complex workflows and sustain agentic tasks with greater reliability. It features a 1 million token context window in beta, enabling it to process and retain large amounts of information. Claude Opus 4.6 is optimized for tasks such as financial analysis, research, and document creation. It also integrates with tools like Excel and PowerPoint for enhanced productivity. Overall, it is a state-of-the-art AI model built for complex, real-world professional applications.
  • 20
    Muse Spark
    Muse Spark is a multimodal AI reasoning model developed by Meta as part of its push toward personal superintelligence. It integrates text, images, and tools to deliver advanced reasoning and interactive capabilities. The model supports features like visual chain-of-thought and multi-agent orchestration. Users can leverage Muse Spark for tasks such as problem-solving, content creation, and real-world troubleshooting. Its Contemplating mode enables multiple AI agents to reason in parallel for improved performance. Muse Spark also demonstrates strong capabilities in areas like health insights and visual understanding. Overall, it represents a significant step toward more intelligent and personalized AI systems.
  • 21
    GPT-5.1 Pro
    GPT-5.1 Pro is the highest-performance version of the GPT-5.1 model family, designed for research-grade reasoning and advanced analytical workloads. It delivers deeper, more structured thinking, making it ideal for complex problem-solving across coding, science, finance, law, and technical research. Unlike the Instant and Thinking versions, GPT-5.1 Pro is built to maintain accuracy under heavy cognitive load, producing clearer logic and more reliable multi-step reasoning. Pro users also gain access to extended context windows, allowing significantly longer inputs and deeper information processing. While it supports the full range of ChatGPT features, GPT-5.1 Pro is optimized for precision, rigor, and high-stakes tasks. It is available exclusively to ChatGPT Pro and Business customers.
  • 22
    Claude Sonnet 4.6
    Claude Sonnet 4.6 is Anthropic’s most advanced Sonnet model to date, delivering significant upgrades across coding, computer use, long-context reasoning, agent planning, and knowledge work. It introduces a 1 million token context window in beta, allowing users to analyze entire codebases, lengthy contracts, or large research collections in a single session. The model demonstrates major improvements in instruction following, consistency, and reduced hallucinations compared to previous Sonnet versions. In developer testing, users strongly preferred Sonnet 4.6 over Sonnet 4.5 and even favored it over Opus 4.5 in many coding scenarios. Its enhanced computer-use capabilities enable it to interact with real software interfaces similarly to a human, improving automation for legacy systems without APIs. Sonnet 4.6 also performs strongly on major benchmarks, approaching Opus-level intelligence at a more accessible price point.
  • 23
    Kimi K2

    Kimi K2

    Moonshot AI

    Kimi K2 is a state-of-the-art open source large language model series built on a mixture-of-experts (MoE) architecture, featuring 1 trillion total parameters and 32 billion activated parameters for task-specific efficiency. Trained with the Muon optimizer on over 15.5 trillion tokens and stabilized by MuonClip’s attention-logit clamping, it delivers exceptional performance in frontier knowledge, reasoning, mathematics, coding, and general agentic workflows. Moonshot AI provides two variants, Kimi-K2-Base for research-level fine-tuning and Kimi-K2-Instruct pre-trained for immediate chat and tool-driven interactions, enabling both custom development and drop-in agentic capabilities. Benchmarks show it outperforms leading open source peers and rivals top proprietary models in coding tasks and complex task breakdowns, while its 128 K-token context length, tool-calling API compatibility, and support for industry-standard inference engines.
    Starting Price: Free
  • 24
    Kimi K2.5

    Kimi K2.5

    Moonshot AI

    Kimi K2.5 is a next-generation multimodal AI model designed for advanced reasoning, coding, and visual understanding tasks. It features a native multimodal architecture that supports both text and visual inputs, enabling image and video comprehension alongside natural language processing. Kimi K2.5 delivers open-source state-of-the-art performance in agent workflows, software development, and general intelligence tasks. The model offers ultra-long context support with a 256K token window, making it suitable for large documents and complex conversations. It includes long-thinking capabilities that allow multi-step reasoning and tool invocation for solving challenging problems. Kimi K2.5 is fully compatible with the OpenAI API format, allowing developers to switch seamlessly with minimal changes. With strong performance, flexibility, and developer-focused tooling, Kimi K2.5 is built for production-grade AI applications.
    Starting Price: Free
  • 25
    Kimi K2.6

    Kimi K2.6

    Moonshot AI

    Kimi K2.6 is a next-generation agentic AI model developed by Moonshot AI, designed to push forward real-world execution, coding, and multi-step reasoning beyond earlier K2 and K2.5 versions. It builds on a Mixture-of-Experts architecture and the multimodal, agent-first foundation of the Kimi series, combining language understanding, coding, and tool use into a single system capable of planning and executing complex workflows. It introduces deeper reasoning capabilities and significantly improved agent planning, allowing it to break down tasks, coordinate tools, and handle multi-file or multi-step problems with greater accuracy and efficiency. It supports advanced tool calling with high reliability, enabling integration with external systems such as web search or APIs, and includes built-in validation mechanisms to ensure correct execution formats.
    Starting Price: Free
  • 26
    MiMo-V2-Pro

    MiMo-V2-Pro

    Xiaomi Technology

    Xiaomi MiMo-V2-Pro is a flagship AI foundation model designed to power real-world agentic workflows and complex task execution. It is built to function as the core intelligence behind agent systems, enabling orchestration of multi-step processes and production-level tasks. The model demonstrates strong capabilities in coding, tool usage, and search-based tasks, performing competitively on global benchmarks. With its large-scale architecture and extended context window, it can handle long and complex interactions efficiently. MiMo-V2-Pro is optimized for practical applications, delivering reliable performance across development, automation, and enterprise workflows.
    Starting Price: $1/million tokens
  • 27
    GPT-5.5 Pro
    GPT-5.5 Pro is an advanced AI model designed to handle complex, real-world work with greater autonomy and efficiency. It understands user intent quickly and can execute multi-step tasks such as coding, research, data analysis, and document creation with minimal guidance. The model is built to plan, use tools, and refine its outputs until tasks are complete. It excels in knowledge work, software development, and analytical problem-solving. With strong reasoning and persistence, GPT-5.5 Pro can manage long-running workflows across tools and systems. It delivers high-quality results while maintaining speed and efficiency. Overall, it enables individuals and teams to complete demanding tasks faster and more accurately.
    Starting Price: $30 per 1M tokens (input)
  • 28
    GPT-5

    GPT-5

    OpenAI

    GPT-5 is OpenAI’s most advanced AI model, delivering smarter, faster, and more useful responses across a wide range of topics including math, science, finance, and law. It features built-in thinking capabilities that allow it to provide expert-level answers and perform complex reasoning. GPT-5 can handle long context lengths and generate detailed outputs, making it ideal for coding, research, and creative writing. The model includes a ‘verbosity’ parameter for customizable response length and improved personality control. It integrates with business tools like Google Drive and SharePoint to provide context-aware answers while respecting security permissions. Available to everyone, GPT-5 empowers users to collaborate with an AI assistant that feels like a knowledgeable colleague.
    Starting Price: $1.25 per 1M tokens
  • 29
    GPT-5.1

    GPT-5.1

    OpenAI

    GPT-5.1 is the latest update in the GPT-5 series, designed to make ChatGPT dramatically smarter and more conversational. The release introduces two distinct model variants: GPT-5.1 Instant, which is described as the most-used model and is now warmer, better at following instructions, and more intelligent; and GPT-5.1 Thinking, which is the advanced reasoning engine that’s been tuned to be easier to understand, faster on straightforward tasks, and more persistent on complex ones. Users' queries are now routed automatically to the variant best-suited to the task. The update emphasizes not just improved raw intelligence but also enhanced communication style; the models are tuned to be more natural, enjoyable to talk to, and better aligned with user intents. The system card addendum notes that GPT-5.1 Instant uses “adaptive reasoning” that lets it decide when to think more deeply before responding, while GPT-5.1 Thinking adapts its thinking time accurately to the question at hand.
  • 30
    GPT-5.2 Thinking
    GPT-5.2 Thinking is the highest-capability configuration in OpenAI’s GPT-5.2 model family, engineered for deep, expert-level reasoning, complex task execution, and advanced problem solving across long contexts and professional domains. Built on the foundational GPT-5.2 architecture with improvements in grounding, stability, and reasoning quality, this variant applies more compute and reasoning effort to generate responses that are more accurate, structured, and contextually rich when handling highly intricate workflows, multi-step analysis, and domain-specific challenges. GPT-5.2 Thinking excels at tasks that require sustained logical coherence, such as detailed research synthesis, advanced coding and debugging, complex data interpretation, strategic planning, and sophisticated technical writing, and it outperforms lighter variants on benchmarks that test professional skills and deep comprehension.
  • Previous
  • You're on page 1
  • 2
  • Next