hercai
Version:
A powerful library for interacting with the Herc.ai API
15 lines (14 loc) • 380 B
TypeScript
export declare namespace RateLimit {
type Tier = 'Free' | 'Elite' | 'Plus' | 'Advanced' | 'Ultimate' | 'Business';
interface RetrieveByModel {
ratelimit: {
model: string;
limit: number;
};
tier: Tier;
}
type RetrieveByCategory = Record<Tier, Record<string, {
'RPM': number;
'RPD': number;
}>>;
}