thezakuloGet the newsletter
← All setup guides

Setup guide · 4 steps · about 20 minutes

How to start using pplx-decider-v1.2

Perplexity Decider V1.2 (perplexity/pplx-decider-v1.2) is a 27B decision model that reads content you pass as state (text, JSON, or images) and returns typed, probabilistic answers to named questions — a yes-probability for yes/no (noul), a probability per option plus the most likely one (choice, up to 255 options), or a probability per rubric level plus an expected score (score) — for classification, routing, moderation, and rubric grading.

Built from the official docs: openrouter.ai · Decider V1.2 - API Pricing & Providers · checked 13 November 2026

Through OpenRouter

  1. Get an OpenRouter API key

    Sign up at OpenRouter and create an API key; you will pass it as a Bearer token on every request. In the steps below, replace <OPENROUTER_API_KEY> with your key.

  2. Note the model id and what endpoint it uses

    The model id is perplexity/pplx-decider-v1.2. This model runs on the OpenRouter Decisions API rather than the OpenAI-compatible chat endpoint, so chat completions SDKs will not work with it.

    perplexity/pplx-decider-v1.2
  3. Set your key as an environment variable

    Export your key so the following calls can read it. Replace <OPENROUTER_API_KEY> with your own key.

    export OPENROUTER_API_KEY=<OPENROUTER_API_KEY>
  4. Send content as state and ask named questions

    Call the model with your content in `state` and one or more named questions, using noul for yes/no, choice for options (up to 255), or score for an ordered rubric. Your application code then thresholds the returned numbers instead of parsing a chat reply.

Check it worked

A successful call returns typed probabilities for the questions you named — a yes-probability (noul), a probability for every option plus the most likely one (choice), or a probability for every rubric level plus the expected score (score) — rather than free-form chat text.

Try these first

Get every issue by email

One email a week with the written issue. Free, one-click unsubscribe

Subscribe