lukax
Joined 15 years ago
Joined 15 years ago
This is written in Rust: https://github.com/deepseek-ai/deepseek-recipe
This DeepSeek Recipe is also mentioned here: https://zhuanlan.zhihu.com/p/2095560295930508953
const usePatch = model.modelID.includes("gpt-") && !model.modelID.includes("oss") && !model.modelID.includes("gpt-4")
Pi uses its own tools, like Armin wrote in the linked article.
E.g. for editing files with Claude models you should use Edit(file_path, old_string, new_string, replace_all) but with GPT models you should use apply_patch_call(patch) (where patch is a custom patch string with custom grammar).
It appears newer models are better at narive harness tool calls and worse at custom tools that look similar to default tools.
https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/
This looks like a new account from a PR agency focusing on AI labs.
Input (Cache Miss)
Previous: $0.14
New - Off-Peak: $0.22 (approx. 1.57x)
New - Peak: $0.44 (approx. 3.14x)
Input (Cache Hit)
Previous: $0.0028
New - Off-Peak: $0.007 (2.5x)
New - Peak: $0.014 (5x)
Output
Previous: $0.28
New - Off-Peak: $0.66 (approx. 2.35x)
New - Peak: $1.32 (approx. 4.71x)
---
DeepSeek-V4-Pro
Input (Cache Miss)
Previous: $0.435
New - Off-Peak: $0.66 (approx. 1.51x)
New - Peak: $1.32 (approx. 3.03x)
Input (Cache Hit)
Previous: $0.003625
New - Off-Peak: $0.022 (approx. 6.07x)
New - Peak: $0.044 (approx. 12.14x)
Output
Previous: $0.87
New - Off-Peak: $1.98 (approx. 2.27x)
New - Peak: $3.96 (approx. 4.55x)
https://lucumr.pocoo.org/2026/7/4/better-models-worse-tools/