Cost and risk of a token

What limits the spending of a program, and what does not

Updated

API documentation pages
  1. Getting started
  2. Tokens
  3. Errors
  4. Operations
  5. Deletion
  6. Cost and risk
  7. Changelog

What a token costs you is limited only by the rate limits, the server limit of your account and the credit you have left. There is no spending cap per token.

What a program can spend#

  • Servers and volumes are charged as in the console, from the moment they exist.
  • Creating checks that your credit covers one hour of the new resource. It does not reserve money: several servers created at once each pass that check.
  • When the credit runs out, servers of the account are stopped and may be deleted under the usual rules.

Give each program only what it needs#

  • AI agents and CI: a token without the delete level and without server passwords. A confirmation prompt in your own tool is not a safety check: a program can answer it.
  • Read only: for dashboards and monitoring, read levels only.
  • One token per program and per place, so revoking one stops one thing.
  • Turn on deletion protection for servers that must not go.
  • Keep copies of important data outside XVer: backups are deleted with their server.

If a token leaks#

Revoke it at once on the API token page. Read Account > Command history to see what it did. A token keeps working until it is revoked or ends, at most a year.