@nativepi/meta
v1.0.2
Published
Adds Meta as a provider for Muse Spark models via the Meta Model API, in Pi and in NativePi.
Downloads
430
Maintainers
Readme
@nativepi/meta
A Pi package that adds Meta as a provider for Muse Spark models via the Meta Model API. It works in Pi's terminal and in NativePi.
Install
pi install @nativepi/metaSet your Model API key:
export MODEL_API_KEY=your-key # from https://dev.meta.aiThen select a Muse Spark model in Pi (/model) or in NativePi's model picker. The provider appears as Meta with models muse-spark-1.1, muse-spark-1.2, and muse-spark-1.2-contributor.
Models
muse-spark-1.1— Muse Spark 1.1, 1,000,000 context / 32,000 max output, reasoning with encrypted-content replaymuse-spark-1.2— Muse Spark 1.2, 1,048,576 context / 131,072 max outputmuse-spark-1.2-contributor— Muse Spark 1.2 Contributor, same context/output as 1.2 at contributor pricing
All use the OpenAI Responses API at https://api.meta.ai/v1 with MODEL_API_KEY for authentication. Standard pricing is $1.25 / 1M input and $4.25 / 1M output (cache read $0.15); contributor is $0.10 / $0.20, as reported by Meta / https://api.meta.ai/v1 catalog.
Details
- Provider id:
meta, display nameMeta - Base URL:
https://api.meta.ai/v1 - Auth:
MODEL_API_KEY(exposed as$MODEL_API_KEY); Pi's/loginand NativePi's provider settings work once the key is set - API:
openai-responses— reasoning is preserved across turns viareasoning.encrypted_content, which keeps the agent's prior thinking during tool loops - Thinking levels:
minimal,low,medium,high,xhigh(andmaxasxhigh);offmaps tohighbecause Muse Spark always reasons and thebefore_provider_requesthook always addsreasoning.encrypted_contentfor continuity
NativePi shows the provider automatically; no extra renderer is required. The extension only registers the provider with Pi.
