Skip to content

fix(api): cost tracking - #2537

Merged
nickscamara merged 1 commit into
mainfrom
tom/gpt-4.1
Dec 10, 2025
Merged

nickscamara merged 1 commit into
mainfrom
tom/gpt-4.1

Conversation

@amplitudesxd

@amplitudesxd amplitudesxd commented Dec 10, 2025

Copy link
Copy Markdown
Member

Summary by cubic

Updated generateBasicCompletion in the extract URL processor to use openai/gpt-4.1 instead of openai/gpt-4o.

This fixes cost tracking by passing the correct model ID to calculateCost, ensuring accurate token pricing and usage metrics.

Written for commit 0035f54. Summary will update automatically on new commits.

@nickscamara
nickscamara merged commit 0d5b9f2 into main Dec 10, 2025
7 checks passed

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

jerbao pushed a commit to jerbao/firecrawl-custom that referenced this pull request Aug 22, 2026
zeekay pushed a commit to Dream-AI-4444/firecrawl that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants