Commit e868204
authored
fix: price Copilot utility model calls at zero (#29226)
Add zero-price entries for Copilot’s GPT-4o mini, GPT-4o, and GPT-4.1,
based on GitHub’s [utility-model
documentation](https://docs.github.com/en/copilot/concepts/models/utility-models#list-of-utility-models).
Keep GPT-5.4 nano’s existing rates: background utility calls are
unbilled, but GitHub also publishes [Copilot prices specifically for
GPT-5.4 nano’s billable
usage](https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing#openai).
AI Gateway cannot distinguish utility calls from billable usage by model
ID, so we retain Nano’s published rates. This overestimates costs for
its unbilled utility calls. No existing model prices are changed.
> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.1 parent b957e66 commit e868204
2 files changed
Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
65 | 90 | | |
66 | 91 | | |
67 | 92 | | |
| |||
0 commit comments