市值: $2.5952T 0.03%
體積(24小時): $112.9335B -7.55%
  • 市值: $2.5952T 0.03%
  • 體積(24小時): $112.9335B -7.55%
  • 恐懼與貪婪指數:
  • 市值: $2.5952T 0.03%
加密
主題
加密植物
資訊
加密術
影片
頭號新聞
加密
主題
加密植物
資訊
加密術
影片
bitcoin
bitcoin

$87959.907984 USD

1.34%

ethereum
ethereum

$2920.497338 USD

3.04%

tether
tether

$0.999775 USD

0.00%

xrp
xrp

$2.237324 USD

8.12%

bnb
bnb

$860.243768 USD

0.90%

solana
solana

$138.089498 USD

5.43%

usd-coin
usd-coin

$0.999807 USD

0.01%

tron
tron

$0.272801 USD

-1.53%

dogecoin
dogecoin

$0.150904 USD

2.96%

cardano
cardano

$0.421635 USD

1.97%

hyperliquid
hyperliquid

$32.152445 USD

2.23%

bitcoin-cash
bitcoin-cash

$533.301069 USD

-1.94%

chainlink
chainlink

$12.953417 USD

2.68%

unus-sed-leo
unus-sed-leo

$9.535951 USD

0.73%

zcash
zcash

$521.483386 USD

-2.87%

加密貨幣新聞文章

引入新的 Anthropic 令牌計數 API

2024/11/09 01:58

使用 Claude 時請密切注意您的成本

引入新的 Anthropic 令牌計數 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.

Anthropic 在過去幾天悄悄發布了一些令人興奮的測試版功能。其中之一是能夠使用模型處理 PDF,該模型現在可以理解 PDF 文件中的文字和視覺內容。稍後我可能會寫一些相關內容。

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.

另一個令人興奮的測試版功能,也是本文的主題,是令牌計數的引入。至關重要的是,您可以在將使用者訊息、PDF 和圖像發送給 Claude 之前計算它們中的令牌。對於那些喜歡密切監控代幣使用成本的人來說,這是個好消息。

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

根據 Anthropic 的官方公告(連結在此),

“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.”

「令牌計數端點接受用於建立訊息的相同結構化輸入列表,包括對系統提示、工具、影像和 PDF 的支援。回應包含輸入令牌的總數。

And supports the following models,

並支援以下型號,

“Claude 3.5 SonnetClaude 3.5 HaikuClaude 3 HaikuClaude 3 Opus”

“克勞德 3.5 十四行詩克勞德 3.5 俳句克勞德 3 俳句克勞德 3 作品”

原始來源:towardsdatascience

免責聲明:info@kdj.com

所提供的資訊並非交易建議。 kDJ.com對任何基於本文提供的資訊進行的投資不承擔任何責任。加密貨幣波動性較大,建議您充分研究後謹慎投資!

如果您認為本網站使用的內容侵犯了您的版權,請立即聯絡我們(info@kdj.com),我們將及時刪除。

2026年05月02日 其他文章發表於