How to Set Up GitHub Copilot Free in VS Code

Set up GitHub Copilot Free in VS Code with a GitHub account, verify inline suggestions, check usage, and review the current privacy controls.

5 min read

GitHub Copilot Free setup in VS Code starts from the built-in Copilot menu, so you do not need to find and install it manually. Select Use AI Features, sign in with a GitHub account, and VS Code signs you up for Copilot Free if the account does not already have a Copilot subscription.

The free tier includes 2,000 inline code completions per month and a limited monthly allowance of GitHub AI Credits for chat, agents, and other metered Copilot features. No credit card is required. Model availability changes by feature and over time, so check the model picker instead of relying on a fixed list.

Once Copilot is active, learn /vscode/how-to-use-github-copilot-inline-suggestions-in-vs-code to start using code completions.

Sign in and activate Copilot Free

Open the Copilot sign-in flow

Look at the bottom of the VS Code window. Find the Copilot icon in the Status Bar (it looks like a small sparkle or Copilot logo). Hover over it and select Use AI Features.

If you do not see the Copilot icon, open the Command Palette with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS), run GitHub Copilot: Sign in, and follow the prompt.

Sign in with your GitHub account

A browser window opens. Sign in to your GitHub account and authorize VS Code. If you are not already signed into GitHub in your browser, enter your GitHub username and password.

After authorization, the browser tells you to return to VS Code. Close the browser tab.

Confirm the subscription tier

VS Code detects your Copilot subscription automatically:

  • If your GitHub account already has a paid Copilot plan (Pro, Pro+, Max, Business, or Enterprise), VS Code uses that subscription.
  • If your account has no Copilot subscription, you are enrolled in the Copilot Free plan automatically. No extra steps needed.

You will see the Copilot icon in the Status Bar change to indicate Copilot is active.

Verify Copilot is working

Open any code file and start typing. After a moment, dimmed ghost text should appear suggesting code completions. Press Tab to accept a suggestion.

If you see suggestions, Copilot is working. If not, check the troubleshooting section below.

What Copilot Free includes

FeatureFree plan limit
Inline code completions2,000 per month
Chat and agent interactionsLimited monthly AI Credits
Available modelsVaries by feature and current model catalog
Copilot CLI and local agent modeIncluded, with AI-credit usage
Cloud agentsNot included

The free plan is for individual use. Paid individual plans add unlimited completions and larger AI-credit allowances, while features such as cloud agents and third-party agents depend on the specific plan. Check GitHub's current Copilot plans before upgrading.

Run /init to teach Copilot about your project

After signing in, open the Chat view with Ctrl+Alt+I on Windows or Linux, or Ctrl+Cmd+I on macOS. Type /init and press Enter.

The /init command analyzes your codebase and creates custom instructions that tell Copilot about your project's conventions, structure, and coding style. This helps Copilot generate suggestions that fit your codebase.

The generated instructions are saved in your workspace and can be edited later. Learn more about managing them in the article on /vscode/how-to-use-custom-instructions-in-vs-code-with-agents-md-and-instructions-md.

Check your usage

Select the Copilot icon in the Status Bar to view your plan and usage. It shows your progress toward the limits included with the plan and the date each allowance resets.

For a detailed AI-credit breakdown, open GitHub billing settings, select AI usage, and review the models and credits used during the current period. Included AI Credits reset at 00:00 UTC on the first day of each calendar month.

What to do when you hit the limit

Inline suggestions and AI Credits are tracked separately. If you exhaust one allowance, the other may remain available. VS Code shows the affected feature and the reset date in the Copilot Status Bar menu.

To continue, wait for the displayed reset date or upgrade to a paid plan. Select the Copilot icon in the Status Bar and look for the upgrade action, or open GitHub Copilot settings.

Review privacy controls

Copilot Free telemetry is enabled when you activate the service. In addition, GitHub may use interactions from individual Copilot Free, Pro, Pro+, and Max accounts, including prompts, outputs, code snippets, and associated context, to train and improve AI models.

You can opt out of model training in GitHub Copilot settings by disabling Allow GitHub to use my data for AI model training. You can also set telemetry.telemetryLevel to off in VS Code and review public-code matching options in Copilot settings. Organization-managed accounts may have policies controlled by an administrator.

Switch to a different GitHub account

If your Copilot subscription is tied to a different GitHub account, sign out of your current account first. Select the Accounts menu in the Activity Bar, choose Sign out for your current account, then sign in again with the correct account using the Copilot setup steps above.

For work and personal accounts on the same machine, learn /vscode/how-to-use-vs-code-profiles-for-different-projects-and-tech-stacks to separate them with VS Code profiles.

Troubleshooting

No suggestions appear after sign-in. Open the Copilot menu from the Status Bar and check that inline suggestions are enabled. They can be disabled globally or for the active language. On a managed network, ask the administrator to verify the current GitHub Copilot network requirements instead of changing firewall rules yourself.

Chat says I do not have a subscription. Sign out from the Accounts menu in the Activity Bar and sign in again. Verify that your GitHub account shows an active Copilot subscription at github.com/settings/copilot.

I see "rate limited" or "quota exceeded." Open the Copilot Status Bar menu to identify which allowance is exhausted and note its reset date. Wait for the reset or upgrade if you need more usage sooner.

Rune AI

Rune AI

Key Insights

  • Select Use AI Features from the Copilot Status Bar menu to start.
  • Sign in with a GitHub account. Copilot Free does not require a credit card.
  • The free plan includes 2,000 code completions per month plus a limited AI-credit allowance.
  • VS Code shows usage progress and the allowance reset date in the Copilot Status Bar menu.
  • Individual Copilot interactions may be used for model training unless you opt out in GitHub settings.
RunePowered by Rune AI

Frequently Asked Questions

Do I need a credit card for GitHub Copilot Free?

No. GitHub Copilot Free does not require a credit card. You need a GitHub account. Verified students may qualify for the separate GitHub Copilot Student plan.

What happens when I reach a free-plan limit?

Inline suggestions and AI-credit features have separate allowances. VS Code shows your progress and reset date from the Copilot Status Bar menu. If an allowance is exhausted, wait for its reset or upgrade to a paid plan.

Can I switch from the free plan to a paid plan later?

Yes. Use the upgrade action in the Copilot Status Bar menu or manage the plan from your GitHub Copilot settings.

Conclusion

After setup, Copilot Free provides a monthly allowance for inline suggestions and AI-credit features such as chat and agents. Verify it with a suggestion, monitor usage from the Copilot Status Bar menu, and review the individual-plan privacy settings before using private code.