Skip to content
GitHub Spark is being deprecated by August 31, 2026. Learn more about the upcoming changes and how to prepare.Read more

Your AI toolbox built into GitHub

Models, prompts, evals, and more. Everything you need to go from idea to shipped—without ever leaving GitHub.

/ai/models - logos

OpenAIAI21 LabsMistral AIMicrosoftMetaDeepSeekCoherexAI

Pick the right model, fast

Run side-by-side evaluations to compare outputs from industry-leading models in real time. No guesswork, just better results.

Manage prompts like code

Version, share, and reuse your prompts across projects. Treat AI inputs as first-class development assets, just like your source code.

Secure by design

Control which models your team can use, keep data and prompts private, and ensure everything runs within GitHub and Azure infrastructure.

Building with AI, made easy

Build, test, and ship AI—right from your GitHub workflow. Make direct API calls or integrate with the Azure AI SDK or any supported model SDK.

GitHub Models interface showing GPT-4o selected, configurable prompt settings, and a chat response about Paris attractions and the Eiffel Tower’s height in baguettes.

Build, test, and ship AI—right from your GitHub workflow. Make direct API calls or integrate with the Azure AI SDK or any supported model SDK.

Instantly access 40+ popular open source and proprietary models

Start building fast with plug-and-play code snippets

Stay in GitHub—no context switching required

Build better prompts together

Store, manage, and collaborate on AI prompts just like code, with built-in tools to track changes, preview diffs, and roll back anytime.

A GitHub diff showing a prompt.md file indicating the model and system prompt have changed.

Turn your AI vision into reality with GitHub Models

Go from prototype to production in a snap.

Learn more

Get started with GitHub Models

GitHub Models documentation View GitHub Models documentation

Learn how to set up, test, compare, and securely deploy with GitHub Models.

Learn about billing on GitHub Learn about billing for GitHub Models

If you want to use GitHub Models beyond the free usage included in your account, you can choose to opt-in to paid usage.

Explore models

Browse and try out different models from top providers.

Frequently Asked Questions

What is GitHub Models?

GitHub Models brings AI directly into the developer workflow by providing access to multiple leading models through a single API key. It allows teams to manage prompts as code, run side-by-side model evaluations, and move from testing to production within the same environment they already use.

Is GitHub Models different from GitHub Copilot?

Yes, GitHub Models is a separate product, outside of GitHub Copilot. GitHub Models is free for everyone to get started building AI with and can be leveraged directly within GitHub.

What is the Models playground?

GitHub Models includes a playground where you can explore a curated selection of AI models from providers like OpenAI, Meta, and Microsoft. There you can experiment with prompts, tweak parameters (such as temperature or max tokens), and see how different models respond, all in real time.

Can I bring my own model key?

Yes, you can bring your own API keys (BYOK) from different providers, such as OpenAI or Azure AI. Model inference runs directly through your provider, and usage is billed and tracked through your provider account. View the GitHub BYOK documentation.

How does GitHub Models billing work on GitHub?

Billing for GitHub Models is designed to be flexible and to allow you to use your preferred model providers, while also providing the ability to control your spending. Model usage is powered by the Azure OpenAI Service and billed through GitHub using the same global pay-as-you-go pricing as Azure OpenAI Service. Learn more about billing for GitHub Models.