Using pplx-decider-v1.2 on Vercel AI Gateway

Implementation guide · PPLX Decider · Perplexity Labs

ServerlessOpen Source

Vercel AI Gateway exposes pplx-decider-v1.2 through model ID perplexity/pplx-decider-v1.2. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-10-17. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Vercel AI Gateway and generate an API key.
  2. 2
    Use the Vercel AI Gateway SDK or REST API to call perplexity/pplx-decider-v1.2 — see the documentation for request format.
  3. 3
    You'll be billed $0.02/1M input, Free/1M output tokens. See full pricing.

Code Examples

Install
pip install openai
API key
AI_GATEWAY_API_KEY
Model ID
perplexity/pplx-decider-v1.2

creator/model-name e.g. kwaipilot/kat-coder-pro-v2

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="perplexity/pplx-decider-v1.2",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Pricing on Vercel AI Gateway

TypePrice (per 1M)
Input tokens$0.02
Output tokensFree
Image input$1.00

Capabilities

VisionMultimodalStructured Outputs

About pplx-decider-v1.2

pplx-decider-v1.2 is Perplexity's 27B multimodal decision model, released 2026-10-16 as the successor to pplx-decider-v1.1-27b on the Qwen3.8-27B backbone. Instead of generating text it returns probabilities. It reads a state of text, JSON, or images (PNG, JPEG, or WebP data URLs, up to 8 per question) and answers 1 to 128 named questions per request: noul for yes/no, choice with up to 255 options, or score with up to 10 levels. All questions in a request are answered together in one pass. It is called via POST https://api.perplexity.ai/v1/decisions with model pplx-decider-v1.2 or the alias pplx-decider-latest. Input must stay under 256K tokens.

Model Specs

Released2026-10-16
Parameters27B
Context256K

Provider

Vercel AI Gateway

Vercel