bitcoin
bitcoin

$98692.62 USD 

1.40%

ethereum
ethereum

$3351.12 USD 

2.01%

tether
tether

$1.00 USD 

0.09%

solana
solana

$259.97 USD 

7.01%

bnb
bnb

$628.20 USD 

1.42%

xrp
xrp

$1.47 USD 

29.96%

dogecoin
dogecoin

$0.397513 USD 

2.83%

usd-coin
usd-coin

$0.999824 USD 

-0.01%

cardano
cardano

$0.923291 USD 

15.59%

tron
tron

$0.200118 USD 

-0.07%

avalanche
avalanche

$39.27 USD 

12.02%

shiba-inu
shiba-inu

$0.000025 USD 

3.23%

toncoin
toncoin

$5.55 USD 

1.00%

sui
sui

$3.60 USD 

-0.60%

chainlink
chainlink

$15.53 USD 

2.88%

Cryptocurrency News Articles

Introducing the New Anthropic Token Counting API

Nov 09, 2024 at 01:58 am

Keep a closer eye on your costs when using Claude

Introducing the New Anthropic Token Counting API

Anthropic has quietly released some exciting beta features over the last couple of days. One of these was the ability to process PDFs with their models, which can now understand both text and visual content within PDF documents. I’ll maybe write up something on that at a later date.

The other exciting beta feature, and the subject of this article, was the introduction of token counting. Crucially, you can count the tokens in user messages, PDFs and images before you send them to Claude. This is excellent news for those who like to monitor their token usage costs closely.

According to the official announcement from Anthropic (link here),

“The token counting endpoint accepts the same structured list of inputs for creating a message, including support for system prompts, tools, images, and PDFs. The response contains the total number of input tokens.”

And supports the following models,

“Claude 3.5 SonnetClaude 3.5 HaikuClaude 3 HaikuClaude 3 Opus”

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Other articles published on Nov 22, 2024