GitHub Copilot

no
Summary: Use Fireworks AI models in GitHub Copilot Chat via a custom endpoint

Original Documentation

Documentation Index#

Fetch the complete documentation index at: https://docs.fireworks.ai/llms.txt Use this file to discover all available pages before exploring further.

Use Fireworks AI models in GitHub Copilot Chat via a custom endpoint

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#

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

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

Add Models menu with Custom Endpoint selected

Enter Fireworks AI as the group name and press Enter.

Prompt to enter group name Fireworks AI

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

Fireworks API key entry field

When asked for the default request/response format, select Responses API.

API type selection with Responses API highlighted

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

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.

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

Link last verified June 7, 2026. View original ↗
Source: Fireworks AI Docs
Link last verified: 2026-06-07