Skip to content

Conversation

@newokaerinasai
Copy link
Contributor

@newokaerinasai newokaerinasai commented Dec 5, 2025

Note

Adds POST /fine-tunes/estimate-price to estimate fine-tuning job cost, token counts, and proceed eligibility.

  • Fine-tuning API:
    • New endpoint: POST /fine-tunes/estimate-price
      • Request: accepts training_file, model, optional validation_file, n_epochs, n_evals, training_method, training_type.
      • Responses:
        • 200: returns estimated_total_price, allowed_to_proceed, user_limit, estimated_train_token_count, estimated_eval_token_count.
        • 500: standardized error schema ErrorData.

Written by Cursor Bugbot for commit 9744faf. This will update automatically on new commits. Configure here.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

✱ Stainless preview builds

This PR will update the togetherai SDKs with the following commit message.

feat: ruslan/fix_price_estimation

Edit this comment to update it. It will appear in the SDK's changelogs.

togetherai-typescript studio · code · diff

Your SDK built successfully.
generate ⚠️build ✅lint ✅test ✅

npm install https://pkg.stainless.com/s/togetherai-typescript/e908407f249319b658d0ae8beb3b7554e2cf432c/dist.tar.gz
New diagnostics (2 note)
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
togetherai-go studio · code · diff

Your SDK built successfully.
generate ⚠️lint ✅test ✅

go get github.com/stainless-sdks/togetherai-go@51b2213071625095059f9b81fcd9634cc08b035a
New diagnostics (2 note)
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
togetherai-python studio · code · diff

Your SDK built successfully.
generate ⚠️build ✅lint ✅test ⏳

pip install https://pkg.stainless.com/s/togetherai-python/8bf257b42e2ec9d731ef322ec11e32c1e453a03d/together-2.0.0a9-py3-none-any.whl
New diagnostics (2 note)
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
togetherai-terraform studio · code · diff

Your SDK built successfully.
generate ❗lint ✅test ✅

New diagnostics (2 note)
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.
💡 Go/SchemaUnionDiscriminatorMissing: This union schema has more than one object variant, but no [`discriminator`](https://www.stainless.com/docs/reference/openapi-support#discriminator) property, so deserializing the union may be inefficient or ambiguous.

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
Last updated: 2025-12-05 20:26:05 UTC

@newokaerinasai newokaerinasai marked this pull request as ready for review December 8, 2025 18:14
@newokaerinasai newokaerinasai changed the title ruslan/fix_price_estimation Add price estimation to the openapi Dec 8, 2025
@newokaerinasai newokaerinasai merged commit c79a42f into main Dec 8, 2025
5 checks passed
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