Feature Request: Support OpenAI Flex Tier in Copilot CLI
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Describe the feature or problem you'd like to solve
Add support for selecting OpenAI's Flex tier (service_tier: flex) in the Copilot CLI model selector and configuration, allowing users to cut token usage costs by 50% for non-time-critical tasks.
Proposed solution
Motivation
OpenAI Flex tier costs 50% less than Standard tier and according to monitoring data from OpenRouter has roughly 30% higher E2E latency (e.g. 9.02s vs 11.56s for gpt-5.6-sol):
| Model | Output Price (Standard) | Output Price (Flex) | E2E Latency (Standard) | E2E Latency (Flex) |
|---|---|---|---|---|
gpt-6-astra |
$50 | $25 | 10.95s | 11.34s |
gpt-5.6-sol |
$20 | $10 | 9.02s | 11.56s |
For many agentic tasks small increases of latency do not significantly impact user experience.
Additionally, E2E latency for many agentic tasks depends more on tool call durations than on LLM response times (e.g. large C++ or Gradle builds, running extensive test suits, etc). Using Flex tier for these kinds of tasks would reduce cost without significantly impacting task completion time.
Therefore, offering Flex tier would allow some developers to perform roughly twice as many agentic tasks withing a given AI budget.
Proposed Solution
- Interactive Model Picker: When selecting an OpenAI model, present a tier selection prompt (Standard vs. Flex) alongside the reasoning effort selection.
- CLI Flags: Add
--tier <standard|flex>(or--service-tier <standard|flex>) for scripted runs and aliases.
Example prompts or workflows
No response
Additional context
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, den Copilot CLI-Modellauswahldialog, die Konfigurationsverarbeitung und die Erstellung von OpenAI-Anfragen zu finden. Verfolge, wie die Auswahl von Modell und Reasoning-Aufwand die Anfrage erreicht, und überprüfe anschließend, dass sowohl die interaktive Auswahl als auch ein Skript-Flag für die Stufe den angeforderten Standard- oder Flex-Service-Tier erzeugen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- api, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100