pi-synthetic: v0.24.0
Minor Changes
-
650b4c1: Apply Synthetic’s 80% cache-read discount in the model catalog instead of the streamSimple wrapper. The wrapper is removed and Pi’s built-in cost calculation now uses the discounted
cacheReadrate directly. -
a6f10fa: Add Kimi-K3, drop Kimi-K2.7-Code, and store cache-read price as reported by the API.
- Add
hf:moonshotai/Kimi-K3(text+image, 524k context). Verified reasoning behavior via the Synthetic connector: backend acceptsnone/low/high/max, rejectsmedium;lowemits no reasoning content. thinkingLevelMap exposes off/high/max. - Remove
hf:moonshotai/Kimi-K2.7-Code(no longer in the Synthetic catalog). - Update
syn:large:visionto its current backing model pricing/context (524k context, $3/$15) and the Kimi-K3 reasoning map. - Remove the automatic cache-read discount. The catalog and API-sourced
models now store the
input_cache_readsprice as reported by the Synthetic API directly, with no 80% discount applied in code.syn:large:textandhf:zai-org/GLM-5.2cacheRead updated from 0.2 to 0.16 to match the API. Verified against live billing: cache-read calls are charged at the API’sinput_cache_readsrate (e.g. $0.45/M for Kimi-K3), cache writes are free. - Add a thinkingLevelMap to
hf:openai/gpt-oss-120b. Probed all efforts: the backend acceptsnone/minimal/low/medium/high/xhighand rejectsmax(400). The model reasons at every accepted effort includingnone, so reasoning cannot be disabled (offhidden). Exposes minimal/low/medium/high/xhigh; hidesmaxto avoid a 400 on the top level.
- Add
Patch Changes
- 496de92: Update GLM-5.2 pricing in the hardcoded fallback catalog to match the Synthetic API: input and cache-read drop from $1.40 to $1.00 per million tokens, output drops from $4.40 to $3.00 per million tokens.