pplx-decider-v1.2 (preview)

Answer yes or no, choice and score questions with pplx-decider-v1.2, served in the EU, through the Decisions API.

Munito AI serves pplx-decider-v1.2 in the EU through the Decisions API.

This model is a preview. Munito AI can change or remove it without notice.

Use this model ID in the model field of a request:

perplexity-ai/pplx-decider-v1.2
Model IDperplexity-ai/pplx-decider-v1.2
TypeDecision (preview)
Inputtext
Context32K tokens (32,768)
RegionsEU

APIs

Prices

Prices are in USD for each million tokens, in the standard tier. The global host bills the global price. A regional host or a regional model ID bills the price of its region.

RegionInputCached inputOutput
Global$0.02$0.02$0
EU$0.03$0.03$0

See Models and pricing for the priority and flex tiers, and for how a request is billed.

Rate limits

Base limits per organization.

Usage tierRequests per minuteInput tokens per minuteOutput tokens per minute
Free40050,000400
Tier 1750100,000750
Tier 21,500200,0001,500
Tier 33,000400,0003,000
Tier 46,000800,0006,000
CustomOn requestOn requestOn request

This model reports zero decoded output tokens, so the output allowance does not constrain normal decisions.

See Rate limits for dynamic limits, headers and retries.

Request custom limits through Support in the console.

Regions

Munito AI serves this model in the EU. The global host, api.munito.ai, sends each request to a region that serves it. To keep the processing in one region, use the host of that region:

RegionHost
EUapi.eu.munito.ai

See Regions for the base URLs and the rules for stored data.

Example

Ask questions about one input. The answers come back in the same order, each with its probability.

export MUNITO_API_KEY="munitoai_..."
curl https://api.munito.ai/inference/v1/decisions \
  -H "Authorization: Bearer $MUNITO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity-ai/pplx-decider-v1.2",
    "input": "The parcel arrived with a crushed corner and the mug inside is broken.",
    "questions": [
      {"type": "predicate", "instructions": "Is the item damaged?"},
      {"type": "choice", "instructions": "What should we offer?",
       "choices": [{"value": "refund"}, {"value": "replacement"}]}
    ]
  }'
# pip install requests
import os
import requests

response = requests.post(
    "https://api.munito.ai/inference/v1/decisions",
    headers={"Authorization": f"Bearer {os.environ['MUNITO_API_KEY']}"},
    json={
        "model": "perplexity-ai/pplx-decider-v1.2",
        "input": "The parcel arrived with a crushed corner and the mug inside is broken.",
        "questions": [
            {"type": "predicate", "instructions": "Is the item damaged?"},
            {
                "type": "choice",
                "instructions": "What should we offer?",
                "choices": [{"value": "refund"}, {"value": "replacement"}],
            },
        ],
    },
    timeout=60,
)
response.raise_for_status()
for answer in response.json()["answers"]:
    print(answer)

See Create a decision for the question types and the answer format.