mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-31 05:32:01 +08:00
more cost calc
This commit is contained in:
parent
9bea877eb1
commit
33aece8e96
@ -160,7 +160,7 @@ export async function performGenerateLlmsTxt(
|
||||
|
||||
const { extract } = await generateCompletions({
|
||||
logger,
|
||||
model: getModel("gpt-4o-mini"),
|
||||
model: getModel("gpt-4o-mini", "openai"),
|
||||
options: {
|
||||
systemPrompt: "",
|
||||
mode: "llm",
|
||||
|
@ -187,6 +187,7 @@ export function calculateCost(
|
||||
) {
|
||||
const modelCosts = {
|
||||
"openai/o3-mini": { input_cost: 1.1, output_cost: 4.4 },
|
||||
"gpt-4o-mini": { input_cost: 0.15, output_cost: 0.6 },
|
||||
"openai/gpt-4o-mini": { input_cost: 0.15, output_cost: 0.6 },
|
||||
"openai/gpt-4o": { input_cost: 2.5, output_cost: 10 },
|
||||
"google/gemini-2.0-flash-001": { input_cost: 0.15, output_cost: 0.6 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user