Skip to content
GLM 5.4 is now on Model APIs: GPT-6 Sol class intelligence at up to 200 tok/s.
Learn more

Set expiration times for API and service-user tokens

You can now set a token lifetime when creating API tokens and service-user tokens in the dashboard. Workspace managers can also enforce maximum lifetimes for member tokens created in their workspace.

From the CLI, use modal token new --expires-in 7d to create a token that expires after seven days. See the token CLI reference for supported options.

Ship your first app in minutes

$30 / month free compute