Skip to content

Support multiple API tokens per profile with automatic rotation (e.g. Gemini free tokens)Β #300

@opastorello

Description

@opastorello

It would be very useful to have an option to configure multiple API tokens within the same profile and enable automatic token rotation.

A common use case is Gemini free-tier tokens, where users may have several tokens available (for example, 5–10 free tokens). Instead of creating multiple profiles or manually switching tokens, the system could rotate them automatically.

Proposed behavior

  • Allow adding multiple tokens to a single profile
  • Enable round-robin or failover rotation between tokens
  • Automatically switch tokens when:
    • Rate limits are hit
    • Quotas are exceeded
    • A token becomes temporarily unavailable
  • Optional visibility into:
    • Which token is currently active
    • Token usage and failures (basic metrics or logs)

Benefits

  • Better utilization of free-tier quotas
  • Improved reliability and uptime
  • Cleaner configuration (one profile instead of many)
  • Less manual intervention for users

This feature would greatly improve usability for providers like Gemini and any other API that supports multiple keys per account or project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions