Commencer maintenant
Gemini Tools

Gemini Count Tokens

Utilisez Gemini Count Tokens avec Gemini Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Accès géré par Aident

Description du fournisseur

Counts the number of tokens in text using Gemini tokenization. Useful for estimating costs, checking input limits, and optimizing prompts before making API calls.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non requis pour cette Action gratuite

Entrées

  • textstring
    Obligatoire
    Text to count tokens for
  • modelstring
    Model to use for token counting. Must be a model that supports the countTokens method. Use the ListModels action to see available models and their supported methods.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur