MathCode 0.2.0 Released, API Costs Reduced by 90%

iconKuCoinFlash
Share
Share IconShare IconShare IconShare IconShare IconShare IconCopy
AI summary iconSummary

expand icon
MathCode 0.2.0 is now live, reducing API costs by 90% for AI and crypto news projects. The update enhances cache hit rates with prefix-cache diagnostics and policy controls, introduces multi-breakpoint caching, dynamic effort adjustment, and improved task management. Token budget limits are now supported, with integration into the Kimina Lean Server for faster deployment. New token listings may benefit from this efficiency boost.
ME AI News: According to monitoring by Beating, the Math-AI team has released MathCode 0.2.0, a mathematical formalism and theorem-proving AI agent that reduces API costs by up to 90% through prefix cache request shaping and policy controls. The new version optimizes prompt structure stability to improve prompt cache hit rates, addressing the high overhead of large models in long-form proofs and multi-turn interactions. In theorem-proving scenarios, models frequently access extensive code and axiom libraries. MathCode 0.2.0 introduces prefix-cache request-shape diagnostics and policy controls: the system masks prompt header ownership to ensure structural stability, adds multi-breakpoint caching `MATHCODE_CACHE_MULTI_BREAKPOINT`, explicit minimum prefix gateways, and idle-aware TTL policies, maximizing native provider cache hit rates by aligning underlying request shapes and reducing long-session billing to one-tenth. The new version also enhances task management and thought-depth control. To prevent runaway costs during long-running processes, the system supports setting a token budget limit via `MATHCODE_GOAL_MAX_TOKEN_BUDGET` and caps nested slash commands to prevent infinite loops. Additionally, proof sessions allow dynamic adjustment of thought depth via `--effort` or `/effort`, offering levels such as `low`, `medium`, `high`, and `max`, with support for reverting to default settings at any time. For compilation acceleration and deployment, the new version supports running Kimina Lean Server—developed by Project Numina—as a persistent subprocess, routing compilation check requests to the `/verify` endpoint. The installation script `setup.sh` has been refactored with new commands such as `--status` and `--clean`, enabling release checksum verification, automatic validation, and reuse of the system’s Lean/Lake environment, lowering deployment barriers. (Source: BlockBeats)
Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.