Skip to content

Anthropic custom pricing#80

Merged
stefanc-ai2 merged 2 commits into
mainfrom
anthropic-custom-pricing
Apr 25, 2026
Merged

Anthropic custom pricing#80
stefanc-ai2 merged 2 commits into
mainfrom
anthropic-custom-pricing

Conversation

@stefanc-ai2

@stefanc-ai2 stefanc-ai2 commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

https://github.com/allenai/nora-issues/issues/2760

  • Flat sonnet 4 pricing to get around unwanted LiteLLM's >200k token price discrimination.
  • Add haiku 3.5 pricing because of naming mismatch

@stefanc-ai2 stefanc-ai2 requested a review from mdarcy220 April 24, 2026 20:51
@stefanc-ai2 stefanc-ai2 self-assigned this Apr 24, 2026

@mdarcy220 mdarcy220 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.

Couple uncertainties on the custom sonnet price.

Also litellm 1.83.13 will have gpt-5.5 support which we need anyway; maybe we can add that here while we're updating costs? Either via litellm bump or gpt-5.5 custom (if bump breaks something). Else I could make a separate PR for it.

Comment thread src/agenteval/local_cost.py Outdated
Comment thread src/agenteval/local_cost.py Outdated
@stefanc-ai2 stefanc-ai2 requested a review from mdarcy220 April 25, 2026 02:06

@mdarcy220 mdarcy220 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.

thanks!

@stefanc-ai2 stefanc-ai2 merged commit b45d7ae into main Apr 25, 2026
4 checks passed
@stefanc-ai2 stefanc-ai2 deleted the anthropic-custom-pricing branch April 25, 2026 09:27
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