vacuitym

vacuitym

V2EX 第 501326 号会员,加入于 2020-07-29 10:58:42 +08:00
今日活跃度排名 6118
根据 vacuitym 的设置,主题列表只有在你登录之后才可查看
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
vacuitym 最近回复了
21 小时 57 分钟前
回复了 934831065ldc 创建的主题 OpenAI 使用 gpt4o,如何计算图片 token?
这边有写:

https://platform.openai.com/docs/guides/vision/calculating-costs

Image inputs are metered and charged in tokens, just as text inputs are. The token cost of a given image is determined by two factors: its size, and the detail option on each image_url block. All images with detail: low cost 85 tokens each. detail: high images are first scaled to fit within a 2048 x 2048 square, maintaining their aspect ratio. Then, they are scaled such that the shortest side of the image is 768px long. Finally, we count how many 512px squares the image consists of. Each of those squares costs 170 tokens. Another 85 tokens are always added to the final total.

Here are some examples demonstrating the above.

A 1024 x 1024 square image in detail: high mode costs 765 tokens
1024 is less than 2048, so there is no initial resize.
The shortest side is 1024, so we scale the image down to 768 x 768.
4 512px square tiles are needed to represent the image, so the final token cost is 170 * 4 + 85 = 765.
A 2048 x 4096 image in detail: high mode costs 1105 tokens
We scale down the image to 1024 x 2048 to fit within the 2048 square.
The shortest side is 1024, so we further scale down to 768 x 1536.
6 512px tiles are needed, so the final token cost is 170 * 6 + 85 = 1105.
A 4096 x 8192 image in detail: low most costs 85 tokens
Regardless of input size, low detail images are a fixed cost.
22 小时 13 分钟前
回复了 jackbrother 创建的主题 问与答 有没有懂 AI 的,帮忙看一下这个需求的报价
感觉这个好像用 openai 的 assistant 就可以实现,26w 可以支付好久 api 的费用了
1 天前
回复了 dabai091220 创建的主题 问与答 有没有聊天的 AI 推荐?
你可以在我的这个自定义一个 Assistant 陪你聊天: https://chat.vacuity.me/#/assistant
5 天前
回复了 DataPipe 创建的主题 OpenAI GPT-4o Claude 3 Llama3 等大模型一站式 AI 平台
@HFX3389 严格来说不算临时,但是确实遇到了一堆用户名乱七八糟的,然后批量注册的
5 天前
回复了 DataPipe 创建的主题 OpenAI GPT-4o Claude 3 Llama3 等大模型一站式 AI 平台
@rebecca554owen 被人用 gmail 的临时邮箱薅怕了
5 天前
回复了 chanlk 创建的主题 Apple iPhone15 Pro 大跳水!
已经发布 8 个月的手机,这价格不算跳水吧
6 天前
回复了 DataPipe 创建的主题 OpenAI GPT-4o Claude 3 Llama3 等大模型一站式 AI 平台
试试我的: https://chat.vacuity.me/
7 天前
回复了 VchentozV 创建的主题 OpenAI 有没有稳定,实时性高的 openai 共享?
@VchentozV 我自己用官方的 api 对接的,按使用量付费,邮箱注册,注册送额度。而且我用的不是中转 api ,可以保证速度和质量
7 天前
回复了 VchentozV 创建的主题 OpenAI 有没有稳定,实时性高的 openai 共享?
试试我的: https://chat.vacuity.me/
俄罗斯方块: https://idiom.aipolish.online/game2/
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3800 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 05:27 · PVG 13:27 · LAX 22:27 · JFK 01:27
Developed with CodeLauncher
♥ Do have faith in what you're doing.