Skip to content

Commit 4b5191a

Browse files
sunbryeCopilotjc-clark
authored
Open-weight models in Copilot model picker (#61861)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent e8a29a4 commit 4b5191a

10 files changed

Lines changed: 62 additions & 1 deletion

File tree

content/copilot/reference/ai-models/model-hosting.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,20 @@ When using {% data variables.copilot.copilot_gemini %} models, input prompts and
9494

9595
{% data variables.copilot.copilot_mai_code_1_flash %} is a first-party Microsoft model hosted on Azure in {% data variables.product.github %}'s tenant.
9696

97+
## Open-weight models
98+
99+
Open-weight models have publicly available weights. {% data reusables.copilot.open-weight-model-hosting %}
100+
101+
### Moonshot AI models
102+
103+
Used for:
104+
105+
* {% data variables.copilot.copilot_kimi_k27_code %}
106+
107+
{% data variables.copilot.copilot_kimi_k27_code %} was developed by Moonshot AI. It is an open-weight model that may be less aligned than other {% data variables.product.prodname_copilot_short %} models, with an elevated risk of producing harmful content. {% data variables.product.github %}'s content filtering applies, but you should review the [{% data variables.copilot.copilot_kimi_k27_code %} model card](https://huggingface.co/moonshotai/Kimi-K2.7-Code) and conduct your own evaluations before enabling it.
108+
109+
When using {% data variables.copilot.copilot_kimi_k27_code %}, input prompts and output completions continue to run through {% data variables.product.prodname_copilot %}'s content filters for public code matching, when applied, along with those for harmful or offensive content.
110+
97111
## Inline suggestions
98112

99113
Inline suggestions, including ghost text and next edit suggestions, are powered by models hosted on Azure for {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} plans. {% data variables.copilot.copilot_free_short %} and {% data variables.copilot.copilot_student_short %} user models are hosted on Fireworks AI.

content/copilot/reference/ai-models/supported-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The following table shows which AI models are available in each {% data variable
161161
{% data reusables.copilot.available-models-per-plan %}
162162

163163
> [!NOTE]
164-
> If you're an organization or enterprise owner, you can enable or restrict access to specific models for your members. See [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-access-to-ai-models#setup-for-organization-and-enterprise-use).
164+
> * If you're an organization or enterprise owner, you can enable or restrict access to specific models for your members. See [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-access-to-ai-models#setup-for-organization-and-enterprise-use).
165165
166166
## Fallback and long-term support (LTS) models
167167

content/copilot/reference/copilot-billing/models-and-pricing.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ Anthropic models include a cache write cost in addition to cached input.
7777
| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} |
7878
| {% endif %}{% endfor %} |
7979

80+
### Moonshot AI
81+
82+
| Model | Release status | Category | Input | Cached input | Output |
83+
| --- | --- | --- | ---: | ---: | ---: |
84+
| {% for entry in tables.copilot.models-and-pricing %}{% if entry.provider == "moonshot_ai" %} |
85+
| {{ entry.model }} | {{ entry.release_status }} | {{ entry.category }} | {{ entry.input }} | {{ entry.cached_input }} | {{ entry.output }} |
86+
| {% endif %}{% endfor %} |
87+
8088
## Code completions
8189

8290
{% data reusables.copilot.tbb-completions %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
These models are hosted on US-based Azure AI Foundry infrastructure managed by {% data variables.product.github %} and Microsoft. Customer prompts and responses are not sent to the original model developers.

data/tables/copilot/model-comparison.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,9 @@
110110
task_area: General-purpose coding and writing
111111
excels_at: Fast, accurate code completions and explanations
112112
further_reading: 'Coming soon'
113+
114+
# Open-weight models
115+
- name: Kimi K2.7 Code
116+
task_area: General-purpose coding and agent tasks
117+
excels_at: Fast, reliable answers to lightweight coding questions
118+
further_reading: '[Kimi K2.7 Code model card](https://huggingface.co/moonshotai/Kimi-K2.7-Code)'

data/tables/copilot/model-release-status.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,8 @@
108108
- name: 'Raptor mini'
109109
provider: 'Fine-tuned GPT-5 mini'
110110
release_status: 'GA'
111+
112+
# Open-weight models
113+
- name: 'Kimi-K2.7-Code'
114+
provider: 'Moonshot AI'
115+
release_status: 'GA'

data/tables/copilot/model-supported-clients.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,15 @@
203203
xcode: true
204204
jetbrains: true
205205

206+
- name: Kimi-K2.7-Code
207+
dotcom: true
208+
cli: true
209+
vscode: true
210+
vs: true
211+
eclipse: false
212+
xcode: false
213+
jetbrains: true
214+
206215
- name: Raptor mini
207216
dotcom: false
208217
cli: false

data/tables/copilot/model-supported-plans.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,10 @@
165165
max: true
166166
business: false
167167
enterprise: false
168+
169+
- name: Kimi-K2.7-Code
170+
pro: true
171+
pro_plus: true
172+
max: true
173+
business: false
174+
enterprise: false

data/tables/copilot/models-and-pricing.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,3 +267,12 @@
267267
cached_input: $0.025
268268
output: $2.00
269269
notes: Uses GPT-5 mini pricing
270+
271+
# Open-weight models
272+
- model: 'Kimi K2.7 Code'
273+
provider: moonshot_ai
274+
release_status: GA
275+
category: Versatile
276+
input: $0.95
277+
cached_input: $0.19
278+
output: $4.00

data/variables/copilot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ copilot_qwen_25: 'Qwen2.5'
240240
copilot_mai_code_1_flash: 'MAI-Code-1-Flash'
241241
# Microsoft fine-tuned:
242242
copilot_raptor_mini: 'Raptor mini'
243+
# Open-weight models:
244+
copilot_kimi_k27_code: 'Kimi K2.7 Code'
243245

244246
## Current model used by Copilot cloud agent and Copilot CLI
245247
cca_current_model: '{% data variables.copilot.copilot_claude_opus_46 %}'

0 commit comments

Comments
 (0)