Skip to content

Commit

Permalink
Reduce the rpm and tpm for VertexAI Anthropic models.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 694717545
  • Loading branch information
yifenglou authored and langfun authors committed Nov 9, 2024
1 parent 924ace2 commit 2dfd905
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions langfun/core/llms/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@
# Anthropic models hosted on VertexAI.
'claude-3-5-sonnet-v2@20241022': pg.Dict(
max_tokens=8192,
rpm=4000,
tpm=400000,
rpm=1000,
tpm=100000,
cost_per_1k_input_tokens=0.003,
cost_per_1k_output_tokens=0.015,
),
'claude-3-5-haiku@20241022': pg.Dict(
max_tokens=8192,
rpm=4000,
tpm=400000,
rpm=1000,
tpm=100000,
cost_per_1k_input_tokens=0.001,
cost_per_1k_output_tokens=0.005,
),
Expand Down

0 comments on commit 2dfd905

Please sign in to comment.