diff --git a/general/meta.json b/general/meta.json new file mode 100644 index 000000000..6c478c728 --- /dev/null +++ b/general/meta.json @@ -0,0 +1,26 @@ +{ + "name": "meta", + "description": "Meta AI offers Muse Spark models for agentic and coding workflows via the Model API.", + "default": { + "params": [ + { "key": "max_tokens", "defaultValue": 4096, "minValue": 1, "maxValue": 1048576 }, + { "key": "temperature", "defaultValue": 1.0, "minValue": 0, "maxValue": 2 }, + { "key": "top_p", "defaultValue": 1, "minValue": 0, "maxValue": 1 }, + { "key": "stream", "defaultValue": true, "type": "boolean" } + ], + "messages": { "options": ["system", "developer", "user", "assistant", "tool"] }, + "type": { "primary": "chat", "supported": ["tools"] } + }, + "muse-spark-1.1": { + "params": [{ "key": "max_tokens", "maxValue": 1048576 }], + "type": { "primary": "chat", "supported": ["tools", "image", "video"] } + }, + "muse-spark-1.2": { + "params": [{ "key": "max_tokens", "maxValue": 1048576 }], + "type": { "primary": "chat", "supported": ["tools", "image", "video"] } + }, + "muse-spark-1.2-contributor": { + "params": [{ "key": "max_tokens", "maxValue": 1048576 }], + "type": { "primary": "chat", "supported": ["tools", "image", "video"] } + } +} diff --git a/pricing/meta.json b/pricing/meta.json new file mode 100644 index 000000000..0d8f8d0b2 --- /dev/null +++ b/pricing/meta.json @@ -0,0 +1,86 @@ +{ + "default": { + "pricing_config": { + "pay_as_you_go": { + "request_token": { "price": 0 }, + "response_token": { "price": 0 }, + "cache_read_input_token": { "price": 0 }, + "cache_write_input_token": { "price": 0 }, + "additional_units": { + "web_search": { "price": 0 } + } + }, + "calculate": { + "request": { + "operation": "sum", + "operands": [ + { + "operation": "multiply", + "operands": [ + { "value": "input_tokens" }, + { "value": "rates.request_token" } + ] + }, + { + "operation": "multiply", + "operands": [ + { "value": "cache_read_input_tokens" }, + { "value": "rates.cache_read_input_token" } + ] + } + ] + }, + "response": { + "operation": "multiply", + "operands": [ + { "value": "output_tokens" }, + { "value": "rates.response_token" } + ] + } + }, + "currency": "USD" + } + }, + "muse-spark-1.1": { + "pricing_config": { + "currency": "USD", + "pay_as_you_go": { + "request_token": { "price": 0.000125 }, + "response_token": { "price": 0.000425 }, + "cache_read_input_token": { "price": 0.000015 }, + "cache_write_input_token": { "price": 0 }, + "additional_units": { + "web_search": { "price": 0.0025 } + } + } + } + }, + "muse-spark-1.2": { + "pricing_config": { + "currency": "USD", + "pay_as_you_go": { + "request_token": { "price": 0.000125 }, + "response_token": { "price": 0.000425 }, + "cache_read_input_token": { "price": 0.000015 }, + "cache_write_input_token": { "price": 0 }, + "additional_units": { + "web_search": { "price": 0.0025 } + } + } + } + }, + "muse-spark-1.2-contributor": { + "pricing_config": { + "currency": "USD", + "pay_as_you_go": { + "request_token": { "price": 0.00001 }, + "response_token": { "price": 0.00002 }, + "cache_read_input_token": { "price": 0.0000002 }, + "cache_write_input_token": { "price": 0 }, + "additional_units": { + "web_search": { "price": 0.0025 } + } + } + } + } +}