From 1fbcb999ac45450d74ad3e3b2409274a50f5158e Mon Sep 17 00:00:00 2001 From: nulladdict Date: Thu, 5 Feb 2026 21:30:12 +0100 Subject: [PATCH] Update model sizes for github-copilot Add context size, sync input and output sizes with vscode --- providers/github-copilot/models/claude-haiku-4.5.toml | 5 +++-- providers/github-copilot/models/claude-opus-4.5.toml | 5 +++-- providers/github-copilot/models/claude-opus-4.6.toml | 3 ++- providers/github-copilot/models/claude-opus-41.toml | 1 + providers/github-copilot/models/claude-sonnet-4.5.toml | 5 +++-- providers/github-copilot/models/claude-sonnet-4.toml | 3 ++- providers/github-copilot/models/gemini-2.5-pro.toml | 1 + .../github-copilot/models/gemini-3-flash-preview.toml | 1 + providers/github-copilot/models/gemini-3-pro-preview.toml | 1 + providers/github-copilot/models/gpt-4.1.toml | 3 ++- providers/github-copilot/models/gpt-4o.toml | 5 +++-- providers/github-copilot/models/gpt-5-mini.toml | 3 ++- providers/github-copilot/models/gpt-5.1-codex-max.toml | 7 ++++--- providers/github-copilot/models/gpt-5.1-codex-mini.toml | 7 ++++--- providers/github-copilot/models/gpt-5.1-codex.toml | 7 ++++--- providers/github-copilot/models/gpt-5.1.toml | 7 ++++--- providers/github-copilot/models/gpt-5.2-codex.toml | 3 ++- providers/github-copilot/models/gpt-5.2.toml | 3 ++- providers/github-copilot/models/gpt-5.toml | 3 ++- providers/github-copilot/models/grok-code-fast-1.toml | 1 + 20 files changed, 47 insertions(+), 27 deletions(-) diff --git a/providers/github-copilot/models/claude-haiku-4.5.toml b/providers/github-copilot/models/claude-haiku-4.5.toml index f2602ebf1..ec597e19c 100644 --- a/providers/github-copilot/models/claude-haiku-4.5.toml +++ b/providers/github-copilot/models/claude-haiku-4.5.toml @@ -14,8 +14,9 @@ input = 0 output = 0 [limit] -context = 128_000 -output = 16_000 +context = 200_000 +input = 128_000 +output = 32_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/claude-opus-4.5.toml b/providers/github-copilot/models/claude-opus-4.5.toml index b16aba94d..f9b51706e 100644 --- a/providers/github-copilot/models/claude-opus-4.5.toml +++ b/providers/github-copilot/models/claude-opus-4.5.toml @@ -14,8 +14,9 @@ input = 0 output = 0 [limit] -context = 128_000 -output = 16_000 +context = 200_000 +input = 128_000 +output = 32_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/claude-opus-4.6.toml b/providers/github-copilot/models/claude-opus-4.6.toml index 3ae577998..1eff3ebb6 100644 --- a/providers/github-copilot/models/claude-opus-4.6.toml +++ b/providers/github-copilot/models/claude-opus-4.6.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 128_000 +context = 200_000 +input = 128_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/claude-opus-41.toml b/providers/github-copilot/models/claude-opus-41.toml index ebc6e5f1e..d656c3891 100644 --- a/providers/github-copilot/models/claude-opus-41.toml +++ b/providers/github-copilot/models/claude-opus-41.toml @@ -15,6 +15,7 @@ output = 0 [limit] context = 80_000 +input = 80_000 output = 16_000 [modalities] diff --git a/providers/github-copilot/models/claude-sonnet-4.5.toml b/providers/github-copilot/models/claude-sonnet-4.5.toml index cdb9c77f7..8a4db55b1 100644 --- a/providers/github-copilot/models/claude-sonnet-4.5.toml +++ b/providers/github-copilot/models/claude-sonnet-4.5.toml @@ -14,8 +14,9 @@ input = 0 output = 0 [limit] -context = 128_000 -output = 16_000 +context = 200_000 +input = 128_000 +output = 32_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/claude-sonnet-4.toml b/providers/github-copilot/models/claude-sonnet-4.toml index 1e38102e4..6785c00d4 100644 --- a/providers/github-copilot/models/claude-sonnet-4.toml +++ b/providers/github-copilot/models/claude-sonnet-4.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 128_000 +context = 216_000 +input = 128_000 output = 16_000 [modalities] diff --git a/providers/github-copilot/models/gemini-2.5-pro.toml b/providers/github-copilot/models/gemini-2.5-pro.toml index 04242860f..9eb1dfea7 100644 --- a/providers/github-copilot/models/gemini-2.5-pro.toml +++ b/providers/github-copilot/models/gemini-2.5-pro.toml @@ -15,6 +15,7 @@ output = 0 [limit] context = 128_000 +input = 109_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/gemini-3-flash-preview.toml b/providers/github-copilot/models/gemini-3-flash-preview.toml index 13da7d29e..020494f37 100644 --- a/providers/github-copilot/models/gemini-3-flash-preview.toml +++ b/providers/github-copilot/models/gemini-3-flash-preview.toml @@ -16,6 +16,7 @@ output = 0 [limit] context = 128_000 +input = 109_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/gemini-3-pro-preview.toml b/providers/github-copilot/models/gemini-3-pro-preview.toml index 7a2017133..40d0fbd26 100644 --- a/providers/github-copilot/models/gemini-3-pro-preview.toml +++ b/providers/github-copilot/models/gemini-3-pro-preview.toml @@ -16,6 +16,7 @@ output = 0 [limit] context = 128_000 +input = 109_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/gpt-4.1.toml b/providers/github-copilot/models/gpt-4.1.toml index 6050c6527..d0a76e395 100644 --- a/providers/github-copilot/models/gpt-4.1.toml +++ b/providers/github-copilot/models/gpt-4.1.toml @@ -15,7 +15,8 @@ output = 0 [limit] context = 128_000 -output = 16_384 +input = 111_000 +output = 16_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-4o.toml b/providers/github-copilot/models/gpt-4o.toml index d9b450683..15a8e349b 100644 --- a/providers/github-copilot/models/gpt-4o.toml +++ b/providers/github-copilot/models/gpt-4o.toml @@ -14,8 +14,9 @@ input = 0 output = 0 [limit] -context = 64_000 -output = 16_384 +context = 128_000 +input = 64_000 +output = 4_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-5-mini.toml b/providers/github-copilot/models/gpt-5-mini.toml index 19fdd42ee..62a90dd3f 100644 --- a/providers/github-copilot/models/gpt-5-mini.toml +++ b/providers/github-copilot/models/gpt-5-mini.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 128_000 +context = 264_000 +input = 128_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/gpt-5.1-codex-max.toml b/providers/github-copilot/models/gpt-5.1-codex-max.toml index 163f9b59e..70537486c 100644 --- a/providers/github-copilot/models/gpt-5.1-codex-max.toml +++ b/providers/github-copilot/models/gpt-5.1-codex-max.toml @@ -13,9 +13,10 @@ open_weights = false input = 0 output = 0 -[limit] -context = 128_000 -output = 128_000 +[limit] +context = 400_000 +input = 128_000 +output = 128_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-5.1-codex-mini.toml b/providers/github-copilot/models/gpt-5.1-codex-mini.toml index f06ee3c90..c88713095 100644 --- a/providers/github-copilot/models/gpt-5.1-codex-mini.toml +++ b/providers/github-copilot/models/gpt-5.1-codex-mini.toml @@ -13,9 +13,10 @@ open_weights = false input = 0 output = 0 -[limit] -context = 128_000 -output = 100_000 +[limit] +context = 400_000 +input = 128_000 +output = 128_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-5.1-codex.toml b/providers/github-copilot/models/gpt-5.1-codex.toml index 1ae930ee1..575559453 100644 --- a/providers/github-copilot/models/gpt-5.1-codex.toml +++ b/providers/github-copilot/models/gpt-5.1-codex.toml @@ -13,9 +13,10 @@ open_weights = false input = 0 output = 0 -[limit] -context = 128_000 -output = 128_000 +[limit] +context = 400_000 +input = 128_000 +output = 128_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-5.1.toml b/providers/github-copilot/models/gpt-5.1.toml index 412f83640..f3b2ce5c8 100644 --- a/providers/github-copilot/models/gpt-5.1.toml +++ b/providers/github-copilot/models/gpt-5.1.toml @@ -13,9 +13,10 @@ open_weights = false input = 0 output = 0 -[limit] -context = 128_000 -output = 128_000 +[limit] +context = 264_000 +input = 128_000 +output = 64_000 [modalities] input = ["text", "image"] diff --git a/providers/github-copilot/models/gpt-5.2-codex.toml b/providers/github-copilot/models/gpt-5.2-codex.toml index ccdb29d1c..c902857de 100644 --- a/providers/github-copilot/models/gpt-5.2-codex.toml +++ b/providers/github-copilot/models/gpt-5.2-codex.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 272_000 +context = 400_000 +input = 272_000 output = 128_000 [modalities] diff --git a/providers/github-copilot/models/gpt-5.2.toml b/providers/github-copilot/models/gpt-5.2.toml index 9671eb2a9..bee46cfe9 100644 --- a/providers/github-copilot/models/gpt-5.2.toml +++ b/providers/github-copilot/models/gpt-5.2.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 128_000 +context = 264_000 +input = 128_000 output = 64_000 [modalities] diff --git a/providers/github-copilot/models/gpt-5.toml b/providers/github-copilot/models/gpt-5.toml index 91242b6fe..8a83d2a5f 100644 --- a/providers/github-copilot/models/gpt-5.toml +++ b/providers/github-copilot/models/gpt-5.toml @@ -14,7 +14,8 @@ input = 0 output = 0 [limit] -context = 128_000 +context = 400_000 +input = 128_000 output = 128_000 [modalities] diff --git a/providers/github-copilot/models/grok-code-fast-1.toml b/providers/github-copilot/models/grok-code-fast-1.toml index 71efb2aec..c95a232ce 100644 --- a/providers/github-copilot/models/grok-code-fast-1.toml +++ b/providers/github-copilot/models/grok-code-fast-1.toml @@ -15,6 +15,7 @@ output = 0 [limit] context = 128_000 +input = 109_000 output = 64_000 [modalities]