InCoder

Open-source code infilling model — generates code in the middle of existing functions, not just at the end.

Code & Dev Tools Open Source Has API Open Source
Researched · Published · Reviewed
RECATOOLS Score
4.2 / 10
Capability
4
Value for money
6
Ease of use
3
ASEAN readiness
5
API quality
4
Founded
2022
HQ
Menlo Park, California
Users
50k+ downloads
Launched
Jun 2022
Developer
Meta / FAIR

Overview

InCoder is a generative model for code, developed by Facebook AI Research (FAIR) and released in 2022, that was specifically designed for code infilling — generating code that fills a gap in the middle of existing code, given both what comes before and after the blank. This 'fill in the middle' capability was novel at the time and addressed a major limitation of left-to-right code generation models.

The model was trained on a mixture of code from GitHub and GitLab in 28 programming languages, and supports generation, editing, and documentation generation in addition to infilling. The architecture uses a causal masking approach that trains the model to understand code in bidirectional context, enabling coherent gap completion.

InCoder influenced the design of subsequent code models, and the infill training methodology was adopted by Salesforce's CodeGen, Phi, and others. For IDE integration tasks where the cursor is positioned in the middle of a function rather than at the end, InCoder's approach is more suitable than pure left-to-right models.

Advertisement

Pricing

Pricing shown for reference only. These figures reflect RECATOOLS research as of 8 May 2026 and may be out of date or incomplete. This is not financial or purchasing advice — always confirm the current price on the provider’s official website before making any decision.

Free
Free
Fully free

Use cases

Research into bidirectional code generation and fill-in-the-middle training approaches Building an offline code editing tool for isolated development environments Studying the history of AI code generation model capabilities over time
Advertisement

ASEAN Perspective

InCoder in Southeast Asia

ASEAN-region availability and pricing notes coming soon. Drop the editorial team a note via /contact/ if you can supply local context (Singapore/Malaysia/Indonesia/Thailand/Vietnam).

RECATOOLS Verdict

InCoder is a Meta AI research model for code generation and infilling, released as open weights on Hugging Face, notable historically for bidirectional infilling rather than left-to-right completion. It suits researchers and ML engineers studying code models or needing a self-hostable baseline, not developers looking for a day-to-day coding assistant.

The honest caveat is that InCoder is an older, relatively small research artifact long surpassed by Code Llama, StarCoder, DeepSeek-Coder, and current commercial assistants on both quality and tooling. There is no hosted product, no polished UX, and no support; you bring your own inference. Useful for research and reproducibility, not for production coding.

Independent AI-assisted assessment by RECATOOLS.

Notable facts

  • InCoder was the first large code model to demonstrate that left-to-right generation was not the optimal paradigm for real-world code editing tasks.
  • The model achieved state-of-the-art fill-in-the-middle scores on the HumanEval infilling benchmark at its release in 2022.
  • Facebook AI Research released InCoder months before GitHub Copilot's general availability, when the concept of AI code completion was still novel to most developers.

Frequently asked questions

Is InCoder free?
Yes. CC BY-NC licence — free for non-commercial use.
Can InCoder be used commercially?
No. The CC BY-NC licence restricts commercial use.
What is code infilling?
Generating code that fits between a given prefix (what comes before) and suffix (what comes after) in an existing codebase.
How many languages does InCoder support?
28 programming languages including Python, JavaScript, Java, C++, and more.
How does InCoder compare to StarCoder?
StarCoder is newer and generally more capable. InCoder was an earlier research model that demonstrated the infill concept.

About this listing

Researched on
Published on
Last reviewed

This entry was compiled from publicly available data including InCoder's official website, press releases, documentation, and reputable third-party publications. RECATOOLS is not affiliated with InCoder unless explicitly stated.

Data accuracy

Third-party AI tools update their pricing, features, availability, and policies frequently. Information here may be outdated by the time you read this — we make reasonable efforts to keep listings current, but cannot guarantee absolute accuracy.

For the latest details, please refer to InCoder directly →

Spotted something out of date? Suggest an update →

Advertisement