@conciergus/chat - v0.3.1
    Preparing search index...

    Function useCostAwareModel

    • Hook for cost-aware model switching

      Returns {
          selectCostOptimalModel: (
              requirements: {
                  capabilities?: any[];
                  maxTokens?: number;
                  budgetConstraint?: "low" | "medium" | "high";
              },
          ) => { modelId: string; estimatedCost: number; costSavings: number };
          getCostProjection: (
              modelId: string,
              estimatedTokens: number,
          ) => { cost: number; tier: "low" | "medium" | "high" };
      }