Usiamo i cookie. Cookie e memoria del browser ti mantengono connesso e ricordano le tue preferenze. Con il tuo consenso misuriamo anche come viene usato il sito. Puoi in qualsiasi momento. Consulta la nostra cookie policy.

Perplexity: Decider Flash Latest vs Respan: Span-02

Un confronto fianco a fianco tra Perplexity: Decider Flash Latest (0,04 USD / 1M token) e Respan: Span-02 (0,04 USD / 1M token) con i prezzi in USD e le funzionalità aggiornati dal catalogo di api14. Entrambi funzionano con la stessa API compatibile OpenAI.

Specifiche

Perplexity: Decider Flash LatestRespan: Span-02
ProviderPerplexityRespan
Input0,04 USD / 1M token0,04 USD / 1M token
Finestra di contesto262.144131.072
Output massimo235.929117.964
Inputtext, imagetext, image
Outputdecisionsdecisions
Tool calling
Output strutturato
Controllo del ragionamento
Aggiunto16 ott 202616 ott 2026

Differenze principali

  • Entrambi hanno all’incirca lo stesso prezzo di input.
  • Perplexity: Decider Flash Latest legge 2.0× più contesto (262.144 token).
  • Una richiesta con 1.000 token di input e 500 di output costa 0,000035 USD con Perplexity: Decider Flash Latest e 0,000035 USD con Respan: Span-02.

Cambia modello con una stringa

Entrambi i modelli usano lo stesso endpoint e la stessa struttura di richiesta. Cambia il valore di model da "~perplexity/pplx-decider-flash-latest" a "respan/span-02", prompt, streaming e tool continuano a funzionare.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.post("/decisions", { body: {
  "model": "respan/span-02",
  "state": "Customer: I was charged twice for my order and want my money back.",
  "questions": {
    "team": {
      "type": "choice",
      "instructions": "Which team should handle this message?",
      "criteria": {
        "billing": "Payments, refunds, invoices",
        "support": "Product questions and bugs",
        "sales": "Pricing and new purchases"
      }
    },
    "urgent": {
      "type": "noul",
      "instructions": "Does this need a reply today?",
      "criteria": {
        "true": "Money, outage or legal risk",
        "false": "Can wait"
      }
    }
  }
} });
console.log(result.answers);

Altri confronti