github / github/copilot-cli

Support session cost in copilot --acp

Open
#4,363 0 comments 2 reactions 0 assignees View on GitHub
triage
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

In version 1.0.78, copilot acp provides data for token usage and context windows size, without cost.

### Proposed solution

By any chance can we have the cost field in the session update object too?
https://agentclientprotocol.com/rfds/session-usage#cost-field

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Copilot CLI implementation of ACP session updates and compare its existing token-usage and context-window data with the ACP session-usage cost-field specification linked in the issue. The work is done when session updates expose the requested cost data and the relevant behavior is covered by the project's tests.

Written by the indexing model from the issue text.

Assessment

Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.