AI Code Generation Models: The Big List

AI Business' big list of AI code generation models

Ben Wodecki, Jr. Editor

August 1, 2023

4 Min Read
Computer code on a screen
Getty Images

ChatGPT wowed the public with its ability to generate text, with marketers and copywriters able to use it to aid their work. Emerging around the same time is another use for generative AI that could revolutionize software development: text-to-code.

Instead of painstakingly writing code line-by-line, developers may soon be able to simply describe what they want the program to do in natural language. AI systems like ChatGPT, Copilot and Ghostwriter will then take care of producing the required code.

AI Business explores the workings and abilities of these transformative AI systems that can code entire programs from the ground up based solely on text prompts.

Text to code

What are text-to-code AI models?

Text-to-code AI models use machine learning to generate snippets of code or entire functions. These models are trained on vast amounts of public code and are designed to aid human developers.

Text-to-code AI models take natural language inputs – plain English – and can turn it into code.

Examples of text-to-code AI models and applications



  • ServiceNow - Santa Clara-based enterprise workflows company

  • Hugging Face - Machine learning tools developer and home to one of the internet’s largest libraries of natural language processing AI models

Related:12 Language Models You Need to Know

First published: May 2023

StarCoder is a 15 billion-parameter AI model designed to generate code for the open-scientific AI research community.

StarCoder was trained on licensed data from GitHub spanning over 80 programming languages, and fine-tuning it on 35 billion Python tokens.

The resulting model outperforms Google’s PaLM 1 and Meta’s LLaMA at popular benchmarks despite its small size.

Access StarCoder:

Read more about Starcoder on AI Business:


Creator: OpenAI - New York-based AI research lab backed by Microsoft

First published: August 2021

Codex is a code generation model that powers GitHub Copilot (see below).

Proficient in more than a dozen programming languages, Codex can interpret simple commands in natural language and execute them.

More on OpenAI’s code generation capabilities:

Read more about Codex on AI Business:



  • GitHub - Microsoft-owned code hosting platform

  • Microsoft - Software giant behind Windows, 365

  • OpenAI - New York-based AI research lab backed by Microsoft

Related:The Essential List: AI Text-Generation Models and Apps

First published: October 2021

Current version: Copilot X

Copilot is a generative AI coding tool. It can take text inputs and queries and turn them into coding suggestions across dozens of languages, including Python, JavaScript, TypeScript, Ruby and Go.

The latest iteration, unveiled in March 2023, supports voice recognition, GPT-4-powered tags in pull request descriptions and a ChatGPT-style interface where devs can ask questions about business documentation.

Read more about Copilot X on AI Business:

Code Interpreter

Creator: OpenAI - New York-based AI research lab backed by Microsoft

First published: July 2023

It is the only plugin on this list – Code Interpreter is an add-on for ChatGPT, enabling users to use ChatGPT to generate and execute code. Without it, ChatGPT can only generate code snippets.

Code Interpreter is only available to subscribers of OpenAI’s premium offering, ChatGPT Plus. Users can write and execute Python code as well as upload a file and ask ChatGPT to analyze data, create charts, edit files and perform math.

Here’s an example of Code Interpreter on ChatGPT Plus creating code for a bot to monitor online prices of Pokémon cards.

Related:AI Image-Generation Models and Tools: The Ultimate List

Read more about Code Interpreter on AI Business:


Creator: Salesforce - Enterprise cloud giant

First published: May 2023

CodeT5 is a large language model for code understanding and generation tasks.

CodeT5 is a pre-trained encoder-decoder model built to perform tasks including code defect detection and clone detection, as well as generation tasks.

Read the CodeT5 research paper:

Access the CodeT5 code:


Creators: Researchers from Carnegie Mellon University - the full list of authors are in the paper.

First published: May 2022

Built using OpenAI’s GPT-2 language model, Polycoder was trained on a dataset of 249GB of code spanning 12 programming languages. 

It was designed as an open source alternative to OpenAI’s Codex (see above). While not as powerful as some of the code generation models on this list, Polycoder surpasses Codex at writing code in the programming language C.

Read the Polycoder paper:

Access the Polycoder code:

Replit Ghostwriter 

Creator: Replit - San Francisco-based startup and software development platform

First published: October 2022

Replit’s answer to GitHub Copilot (see above), Ghostwriter is an AI-powered programming tool to aid developers building software.

Ghostwriter can complete code, providing users with suggestions, as well as explain to the user code in plain English. It can also re-write and generate code based on natural language prompts.

In February 2023, Replit launched Ghostwriter Chat, adding conversational AI capabilities to the mix.

Try Replit Ghostwriter:


Tabine uses deep learning to aid code completions. Tabine supports over 50 programming languages and has a free one-user option.

For businesses, Tabine offers an enterprise offering, with the chipmaking giant Nvidia, Elon Musk’s rocket company SpaceX and sportswear maker Nike all using the platform.

Try Tabine:

Read more about:

ChatGPT / Generative AI

About the Author(s)

Ben Wodecki

Jr. Editor

Ben Wodecki is the Jr. Editor of AI Business, covering a wide range of AI content. Ben joined the team in March 2021 as assistant editor and was promoted to Jr. Editor. He has written for The New Statesman, Intellectual Property Magazine, and The Telegraph India, among others. He holds an MSc in Digital Journalism from Middlesex University.

Keep up with the ever-evolving AI landscape
Unlock exclusive AI content by subscribing to our newsletter!!

You May Also Like