{children}
)
}
function GroupPricingGuide({ open, onOpenChange }: GroupPricingGuideProps) {
const { t } = useTranslation()
return (
{t('User group')} {': '} {t( 'Assigned by administrators and used to represent a user level, such as default or vip.' )}
{t('Token group')} {': '} {t( 'Selected when creating a token and used as the default billing group for API calls.' )}
{t('Ratio')} {': '} {t( 'A billing multiplier. Lower ratios mean lower API call costs.' )}
{t('User selectable')} {': '} {t( 'When enabled, users can pick this group when creating tokens.' )}
{t( 'Use the pricing group table to manage the ratio and whether the group appears in the token creation dropdown.' )}
{t( 'Users only see groups marked as user selectable. Non-selectable groups can still be assigned by administrators.' )}
{t( 'When a token uses the auto group, the system tries groups from top to bottom until it finds an available group.' )}
{t( 'If default auto group is enabled, newly created tokens start with auto instead of an empty group.' )}
{t( 'Special ratios override the token group ratio for specific user group and token group combinations.' )}
{t( 'Only configured combinations are overridden. All other calls keep the token group base ratio.' )}
{t( 'Special usable group rules can add, remove, or append selectable token groups for a specific user group.' )}
{t( 'Use +: to add a group, -: to remove a default selectable group, or no prefix to append a group.' )}