Skip to main content
Use Fireworks AI models in GitHub Copilot Chat by adding a Custom Endpoint in VS Code (or other hosts that support Copilot custom models).
Fireworks offers 200+ models—copy the model id and token limits from the Model Library. Use endpoint URL https://api.fireworks.ai/inference/v1.

Prerequisites

  • A Fireworks API key
  • GitHub Copilot with access to Other Models and Custom Endpoint (availability depends on your Copilot plan)

Setup

1

Open model settings

In Copilot Chat, click the active model name at the bottom (often Auto). In the menu, click the gear icon next to Other Models.
Copilot Chat model picker with gear icon next to Other Models
2

Add a custom endpoint

In Language Models, click + Add Models… in the top right, then choose Custom Endpoint.
Add Models menu with Custom Endpoint selected
3

Name the endpoint group

Enter Fireworks AI as the group name and press Enter.
Prompt to enter group name Fireworks AI
4

Enter your API key

Paste your Fireworks API key (hidden by default) and press Enter to confirm.
Fireworks API key entry field
5

Choose Responses API

When asked for the default request/response format, select Responses API.
API type selection with Responses API highlighted
6

Configure the model template

A configuration file opens. Do not change the auto-generated header at the top—only fill in the model template below it.
Copilot custom endpoint config file with template section
7

Add model details and save

Fill in your model fields, then save (Ctrl+S on Windows/Linux, Cmd+S on macOS) and close the settings modal.Example for DeepSeek V4 Pro:
FieldValue
idaccounts/fireworks/models/deepseek-v4-pro
nameDeepSeek V4 Pro
urlhttps://api.fireworks.ai/inference/v1
toolCallingtrue
visionfalse
maxInputTokens1000000
maxOutputTokens384000
Completed model template with DeepSeek V4 Pro fields
Use the exact model id and token limits from the model page in the Model Library. Values differ per model.
8

Select your model in chat

Return to Copilot Chat, open the model picker (Auto), expand Other Models, and choose your model under Fireworks AI.
Model picker showing Fireworks AI custom model at bottom of Other Models