Skip to content

Conversation

@newokaerinasai
Copy link

@newokaerinasai newokaerinasai commented Nov 24, 2025

This PR

Adds price estimation to the python client. The client shows a warning whenever the job price is too high.

@newokaerinasai newokaerinasai marked this pull request as draft November 24, 2025 15:48
@blainekasten blainekasten changed the base branch from main to next November 24, 2025 17:05
@blainekasten
Copy link
Contributor

@newokaerinasai fyi - I changed the target branch here to next. That's going to be the default way of developing on this library.

@newokaerinasai newokaerinasai changed the title add job price estimation MOSH-99: add job price estimation Nov 25, 2025
@newokaerinasai newokaerinasai marked this pull request as ready for review November 25, 2025 15:58
@linear
Copy link

linear bot commented Nov 25, 2025

MOSH-99 Add a user-facing pricing estimate tool in together-python

Based on the file size and/or other meta information from a file, get a rough token number and estimate pricing for a user.

Expected user experience:

  1. A user can get a pricing estimate by calling a python function by providing the right arguments (all required) — model name, training file, validation file, n evals, n epochs
  2. A user can get a pricing estimate using CLI, calling the function in chore: go live #1.
  3. When a user launches a job in CLI, display a pricing estimate in the confirmation sentence.

See the previous implementation for some example and context: https://github.com/togethercomputer/together-python/pull/23/files

@stainless-app stainless-app bot force-pushed the next branch 2 times, most recently from fb5e7bb to efc16ba Compare November 26, 2025 19:34
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.

3 participants