Skip to content

orchestration/planner.estimateCost

Type: action Module: convex/orchestration/planner.ts

{
assignments:
v.object({
model: string,
estimatedTokens: number,
agentId: string /* optional */,
}[],
),
}

Estimate the token and dollar cost for an orchestration plan before execution.