November 3, 2026 · Together AI
Together Python SDK and CLI 3.1.0 add expiring secrets and GB200 clusters
Together Python SDK 3.1.0 and Together CLI 3.1.0 are now available.
tg beta jig deploy no longer stores your API key as a TOGETHER_API_KEY secret on new deployments. Existing deployments keep the secret they already have.
Sprocket 0.1.8 and later authenticate with the deployment's service token instead. Before you deploy with CLI 3.1.0, raise the sprocket pin in your image to 0.1.8 or later. If your own code reads TOGETHER_API_KEY, set it as a secret.
What's new:
- Deploy after
tg login:tg beta jig deploynow works with atg loginsession, so you don't need an API key to deploy a container. - Expiring secrets:
client.beta.jig.secrets.createandupdatetakettl_seconds, which sets how long a secret lives before it's deleted, from one to 14 days. Secrets return their deletion time asexpires_at. To set an expiry from the CLI, pass--ttltotg beta jig secrets set. --debugreplacesTOGETHER_DEBUG:tg beta jigno longer reads theTOGETHER_DEBUGenvironment variable. For debug output, pass--debug.- Idle timeout in the SDK:
ModelResourcesClient.createtakesinactive_timeout, the number of seconds a resource staysREADYwithout activity before it stops. To keep a resource from stopping for inactivity while you aren't running operations, callextend_expiry. ready_timeoutreplacestimeout:ModelResourcesClient.createnow takesready_timeout, which caps how long it waits for the resource to becomeREADY.timeoutstill works but shows aFutureWarning.- GB200 GPU clusters:
client.clusters.createandtg clusters createacceptGB200_SXMas a GPU type. - Applied credit in the SDK: Line items from
client.organization.usage.costs.list()now include a typedapplied_creditobject.