JEV 中文指南 · 独立资料与开发者社区 官方信息请以 TypeSafe AI 为准
← 返回真实案例库

CASE FILE / 游戏与仿真

Jev已经在OpenRouter上了

Jev已经在OpenRouter上了!! 它才推出一天,TypSafe仍然有等待名单。 OpenRouter有它,这就是我们运行它的方式。 定价太疯狂了。每百万个代币0.042美元,输出免费。 如何使用: - 在OpenRouter上注册并添加一些积分 - 制作API密钥 - 调用决策端点:/api/Alpha/decisions - 将模型设置为~typesafe/jev-latest - 向其发送“状态”(正在发生的事情)和“问题”

作者:Ziwen @ziwenxu_
● ● ●CASE FILEGUIDE
Ziwen · @ziwenxu_

案例拆解

Jev已经在OpenRouter上了!! 它才推出一天,TypSafe仍然有等待名单。 OpenRouter有它,这就是我们运行它的方式。 定价太疯狂了。每百万个代币0.042美元,输出免费。 如何使用: - 在OpenRouter上注册并添加一些积分 - 制作API密钥 - 调用决策端点:/api/Alpha/decisions - 将模型设置为~typesafe/jev-latest - 向其发送“状态”(正在发生的事情)和“问题”(您想要决定的事情,以及选项) ChatGPT和Claude逐字逐句给您写答案。 杰夫根本不写。你给它提供选项,它会发回每个选项的可能性,以及它的信心程度。 我们得到了什么: - “我的卡被充值了两次”大约一秒钟就完成了100%的计费 - 我们将它连接到俄罗斯方块,它在大约半秒内完成每一个动作 - 整场比赛花费不到半美分 这里可以发生很多有趣的事情。

阅读 1,234喜欢 22转发 3

原帖内容

Jev is already on OpenRouter!! It's only been out a day and TypeSafe still has a waitlist. OpenRouter has it though, and that's how we've been running it. The pricing is insane. $0.042 per million tokens in, and output is free. How to use it: - Sign up on OpenRouter and add some credits - Make an API key - Call the decisions endpoint: /api/alpha/decisions - Set the model to ~typesafe/jev-latest - Send it a "state" (what's going on) and "questions" (what you want decided, plus the options) ChatGPT and Claude write you an answer word by word. Jev doesn't write at all. You give it the options and it sends back a probability for each one, plus how confident it is. What we got: - "My card was charged twice" went to billing, 100%, in about a second - We hooked it up to Tetris and it picked every move in about half a second - A whole game cost less than half a cent A lot of fun stuff can happen here.

这个案例说明了什么?

  • 游戏状态很适合做成固定选项的决策
  • JEV 负责选择,策略或 LLM 负责生成
  • 原帖通常有可玩的演示视频