Skip to content

Commit

Permalink
gptel-anthropic: Update models constant (#483)
Browse files Browse the repository at this point in the history
gptel-anthropic.el (gptel--anthropic-models): Replace sources with
link to a comprehensive comparison table.  Reorder models to
reflect the order in that table.  Slightly tweak description of
claude-3-5-sonnet-20240620 to make it clear it is an earlier
version.
  • Loading branch information
benthamite authored Nov 24, 2024
1 parent 20e0794 commit 8fc6c28
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions gptel-anthropic.el
Original file line number Diff line number Diff line change
Expand Up @@ -212,21 +212,13 @@ files in the context."
:output-cost 15
:cutoff-date "2024-04")
(claude-3-5-sonnet-20240620
:description "Highest level of intelligence and capability"
:description "Highest level of intelligence and capability (earlier version)"
:capabilities (media tool cache)
:mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
:context-window 200
:input-cost 3
:output-cost 15
:cutoff-date "2024-04")
(claude-3-opus-20240229
:description "Top-level performance, intelligence, fluency, and understanding"
:capabilities (media tool cache)
:mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
:context-window 200
:input-cost 15
:output-cost 75
:cutoff-date "2023-08")
(claude-3-5-haiku-20241022
:description "Intelligence at blazing speeds"
:capabilities (media tool)
Expand All @@ -235,13 +227,13 @@ files in the context."
:input-cost 1.00
:output-cost 5.00
:cutoff-date "2024-07")
(claude-3-haiku-20240307
:description "Fast and most compact model for near-instant responsiveness"
:capabilities (media tool)
(claude-3-opus-20240229
:description "Top-level performance, intelligence, fluency, and understanding"
:capabilities (media tool cache)
:mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
:context-window 200
:input-cost 0.25
:output-cost 1.25
:input-cost 15
:output-cost 75
:cutoff-date "2023-08")
(claude-3-sonnet-20240229
:description "Balance of intelligence and speed (legacy model)"
Expand All @@ -250,6 +242,14 @@ files in the context."
:context-window 200
:input-cost 3
:output-cost 15
:cutoff-date "2023-08")
(claude-3-haiku-20240307
:description "Fast and most compact model for near-instant responsiveness"
:capabilities (media tool)
:mime-types ("image/jpeg" "image/png" "image/gif" "image/webp")
:context-window 200
:input-cost 0.25
:output-cost 1.25
:cutoff-date "2023-08"))
"List of available Anthropic models and associated properties.
Keys:
Expand All @@ -272,11 +272,9 @@ Keys:
include when using this model.
Information about the Anthropic models was obtained from the following
sources:
comparison table:
- <https://www.anthropic.com/pricing#anthropic-api>
- <https://www.anthropic.com/news/claude-3-5-sonnet>
- <https://assets.anthropic.com/m/61e7d27f8c8f5919/original/Claude-3-Model-Card.pdf>")
<https://docs.anthropic.com/en/docs/about-claude/models#model-comparison-table>")

;;;###autoload
(cl-defun gptel-make-anthropic
Expand Down

0 comments on commit 8fc6c28

Please sign in to comment.