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

PPLX Decider · Perplexity Labs

ServerlessOpen Source

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

Why use pplx-decider-flash-v1.2 on Vercel AI Gateway?

Vercel AI Gateway offers pplx-decider-flash-v1.2 with pay-as-you-go pricing at $0.01/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare pplx-decider-flash-v1.2 across 3 providers to find the best fit for your use case
Input / 1M
$0.010
Output / 1M
Free
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
perplexity/pplx-decider-flash-v1.2

Request example

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-flash-v1.2",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "perplexity/pplx-decider-flash-v1.2", not the LLMReference slug "pplx-decider-flash-v1.2".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare pplx-decider-flash-v1.2 Across Providers

ProviderInput (per 1M)Output (per 1M)
Perplexity Labs$0.01Free
OpenRouter$0.01Free
Vercel AI Gateway$0.01Free

Pricing

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

Capabilities

VisionMultimodalStructured Outputs

About pplx-decider-flash-v1.2

pplx-decider-flash-v1.2 is Perplexity's 4B multimodal decision model, released 2026-10-16. It is fine-tuned from Qwen3.5-4B and distilled from Perplexity's 27B decision models on their training requests. Like the other PPLX Decider models it returns probabilities instead of text. It reads a state of text, JSON, or images 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). It is called via POST https://api.perplexity.ai/v1/decisions with model pplx-decider-flash-v1.2 or the alias pplx-decider-flash-latest. Input must stay under 256K tokens.

Get Started

Model Specs

Released2026-10-16
Parameters4B
Context256K

Related Models on Vercel AI Gateway