Skip to content

WIP: Add --estimate to select commands.#4999

Draft
NullHypothesis wants to merge 1 commit into
masterfrom
cost-estimate-poc
Draft

WIP: Add --estimate to select commands.#4999
NullHypothesis wants to merge 1 commit into
masterfrom
cost-estimate-poc

Conversation

@NullHypothesis

@NullHypothesis NullHypothesis commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR implement a cost preview for agents. The idea is to add an --estimate flag to select flyctl commands, allowing agents to learn what a command would cost before actually running it. An example:

flyctl m run alpine --vm-cpus 4 --vm-memory 512 --vm-cpu-kind performance --estimate

Under the hood, the --estimate flag makes flyctl talk to a new ui-ex endpoint to retrieve pricing information.

This PR implement a cost preview for agents. The idea is to add an
`--estimate` flag to select flyctl commands, allowing agents to learn
what a command would cost before actually running it. An example:
```
flyctl m run alpine --vm-cpus 4 --vm-memory 512 --vm-cpu-kind performance --estimate
```

Under the hood, the `--estimate` flag makes flyctl talk to a new ui-ex
endpoint to retrieve pricing information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant