You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetch https://docs.github.com/en/copilot/reference/copilot-billing/model-multipliers-for-annual-plans and extract the model multipliers for GitHub Copilot to use as the basis for efficient token analysis.
Changes Made
.github/workflows/daily-model-inventory.md
New job: collect_copilot_billing_multipliers (runs in parallel with other collection jobs)
Adds an official pre-job step that scrapes the GitHub Copilot billing docs page to extract authoritative ET multipliers per model:
Fetches the docs page with Python's urllib (no API key required)
Parses the HTML table to extract Model, Current multiplier, and New multiplier columns
Stores as a build artifact copilot-billing-multipliers (7-day retention)
Updated agent prompt (Step 3): Instructs the agent to treat the docs table as the primary (authoritative) source of ET multipliers, preferring the New multiplier column for upcoming billing schedule comparisons.
New bash tools: Added cat and jq tools for the billing multipliers artifact.
Playwright CLI tool enabled: Added playwright: mode: cli for future interactive page scraping if needed.
Expected Improvements
The daily-model-inventory agent now has access to official, accurate multipliers from GitHub's docs instead of relying solely on inference heuristics
The New multiplier column captures upcoming price changes before they take effect, giving workflow authors advance notice for token-cost planning
Future runs will flag discrepancies between model_multipliers.json and the official docs table automatically
Validation
✅ daily-model-inventory compiled successfully (no errors, no warnings)
The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.
Create the pull request manually
# Download the patch from the workflow run
gh run download 25300633417 -n agent -D /tmp/agent-25300633417
# Create a new branch
git checkout -b q/model-inventory-billing-multipliers-43a98c51f46cf1da main
# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-25300633417/aw-q-model-inventory-billing-multipliers.patch
# Push the branch and create the pull request
git push origin q/model-inventory-billing-multipliers-43a98c51f46cf1da
gh pr create --title '[q] Add GitHub Copilot billing multipliers to daily-model-inventory workflow' --base main --head q/model-inventory-billing-multipliers-43a98c51f46cf1da --repo github/gh-aw
Q Workflow Optimization Report
Request
Fetch
https://docs.github.com/en/copilot/reference/copilot-billing/model-multipliers-for-annual-plansand extract the model multipliers for GitHub Copilot to use as the basis for efficient token analysis.Changes Made
.github/workflows/daily-model-inventory.mdNew job:
collect_copilot_billing_multipliers(runs in parallel with other collection jobs)Adds an official pre-job step that scrapes the GitHub Copilot billing docs page to extract authoritative ET multipliers per model:
urllib(no API key required)Model,Current multiplier, andNew multipliercolumnscopilot-billing-multipliers(7-day retention)**Example of extracted (redacted)
{ "source": "https://docs.github.com/en/copilot/reference/copilot-billing/model-multipliers-for-annual-plans", "headers": ["Model", "Current multiplier", "New multiplier"], "models": [ { "Model": "Claude Sonnet 4.6", "Current multiplier": "1", "New multiplier": "9" }, { "Model": "GPT-5 mini", "Current multiplier": "0", "New multiplier": "0.33" }, { "Model": "Claude Haiku 4.5", "Current multiplier": "0.33", "New multiplier": "0.33" } ] }Updated agent prompt (Step 3): Instructs the agent to treat the docs table as the primary (authoritative) source of ET multipliers, preferring the New multiplier column for upcoming billing schedule comparisons.
New bash tools: Added
catandjqtools for the billing multipliers artifact.Playwright CLI tool enabled: Added
playwright: mode: clifor future interactive page scraping if needed.Expected Improvements
model_multipliers.jsonand the official docs table automaticallyValidation
✅
daily-model-inventorycompiled successfully (no errors, no warnings)References
Triggered by issue comment on [model-inventory] Model alias inventory update - 2026-05-04 #30051 by
@pelikhanDocs page: https://docs.github.com/en/copilot/reference/copilot-billing/model-multipliers-for-annual-plans
Fixes [model-inventory] Model alias inventory update - 2026-05-04 #30051
Warning
Protected Files — Push Permission Denied
This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.
Protected files
The push was rejected because GitHub Actions does not have
workflowspermission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.Create the pull request manually