Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions general/meta.json
Original file line number Diff line number Diff line change
@@ -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"] }
}
}
86 changes: 86 additions & 0 deletions pricing/meta.json
Original file line number Diff line number Diff line change
@@ -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" }
]
}
]
Comment thread
mayankjain-panw marked this conversation as resolved.
},
"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 }
}
Comment thread
mayankjain-panw marked this conversation as resolved.
}
}
},
"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 }
}
}
}
}
}
Loading