Repository navigation
v0.5.3
MMSP 0.5.3 adds Gemini 4 Argon support in Python and TypeScript (#253).
Highlights
- Gemini 4 Argon: use
gemini-4-argonwith the defaultgoogle-officialclient or explicitly selectgoogle-genaifor generateContent. - Thinking levels:
nonemaps tolow;low,medium, andhighkeep their values;xhighandmaxmap tohigh. Omitting the level preserves Google's defaultmedium. - Model registry: includes the shared 1,048,576-token context window, text/image/video/audio input, text output, and standard list prices of $4 input, $20 output/thinking, and $0.20 cached input per million tokens. Introductory discounts are not included in registry prices.
- Documentation: official API snapshots and English/Chinese model and release documentation are included.
Synchronous streaming supports up to 65,536 output tokens, including thinking. Longer outputs require Google's stored background execution, which is outside MMSP's stateless streaming interface. Argon supports implicit caching only.
Install
pip install mmsp==0.5.3
npm install @prismshadow/mmsp@0.5.3