हम cookies इस्तेमाल करते हैं. Cookies और ब्राउज़र स्टोरेज आपको साइन इन रखते हैं और आपकी प्राथमिकताएं याद रखते हैं। आपकी अनुमति से हम यह भी मापते हैं कि साइट कैसे इस्तेमाल होती है। आप कभी भी । हमारी cookie नीति देखें।

डिसीज़न मॉडल API

डिसीज़न मॉडल एक state और typed सवाल पढ़कर खुले टेक्स्ट के बजाय एक विकल्प या स्कोर लौटाते हैं। ये सामान्य LLMs से छोटे और सस्ते हैं, और routing, moderation और evaluation के लिए अनुमानित, मशीन-पठनीय जवाब देते हैं।

  • requests को सही tool या मॉडल तक route करना
  • टिकट, intents और कंटेंट का वर्गीकरण
  • rubric के आधार पर बातचीत को स्कोर करना
  • कोई action चलने से पहले guardrails
इसे इस्तेमाल करने के लिए साइन इन करेंमुफ्त अकाउंट बनाएं

नतीजे यहां दिखेंगे।

आज 5 में से 5 मुफ्त मैसेज बाकी, मुफ्त अकाउंट से अतिरिक्त मुफ्त उपयोग और API key मिलती है।मुफ्त अकाउंट बनाएंसाइन इनसेशन लागत $0.00

डिसीज़न मॉडल API · 30 मॉडल

मॉडलकीमत
Baseten: Mammoth 1 (free)baseten/mammoth-1:freeमुफ्त
Baseten: Elephant 1 (free)baseten/elephant-1:freeमुफ्त
Inception: Mercury Decide (free)inception/mercury-decide:freeमुफ्त
Respan: Span-01 Literespan/span-01-liteमुफ्त
Respan: Span-01 Lite (free)respan/span-01-lite:freeमुफ्त
Perplexity: Decider Flash V1.2perplexity/pplx-decider-flash-v1.2$0.04 / 1M tokens
Perplexity: Decider Flash Latest~perplexity/pplx-decider-flash-latest$0.04 / 1M tokens
Respan: Span-02respan/span-02$0.04 / 1M tokens
Perplexity: Decider V1.2perplexity/pplx-decider-v1.2$0.07 / 1M tokens
Perplexity: Decider Latest~perplexity/pplx-decider-latest$0.07 / 1M tokens
Inception: Mercury Decideinception/mercury-decide$0.07 / 1M tokens
Respan: Span-01respan/span-01$0.07 / 1M tokens
Cloudflare: Clef Flashcloudflare/clef-flash$0.13 / 1M tokens
ScaleDown: Classify-1scaledown/classify-1$0.14 / 1M tokens
Nace.AI: Drex v1.5nace-ai/drex-v1.5$0.14 / 1M tokens
LiquidAI: d1liquid/d1$0.07 / 1M tokens$0.07 / 1M tokens
TypeSafe: Jev 1.14typesafe/jev-1.14$0.15 / 1M tokens
Microsoft: Microsoft-Decision-1microsoft/microsoft-decision-1$0.15 / 1M tokens
Cloudflare: Clefcloudflare/clef$0.15 / 1M tokens
Together: Tev1 4B Experimentaltogethercomputer/tev1-4b-experimental$0.15 / 1M tokens
Jared Palmer: Kev 4Bjaredpalmer/kev-4b$0.15 / 1M tokens
TypeSafe: Jev Latest~typesafe/jev-latest$0.15 / 1M tokens
TypeSafe: Jev 1.13typesafe/jev-1.13$0.15 / 1M tokens
Nace.AI: Drex Maxnace-ai/drex-max$0.21 / 1M tokens
Nace.AI: Drex v2.0nace-ai/drex-v2.0$0.21 / 1M tokens
LiquidAI: d1-ultraliquid/d1-ultra$0.15 / 1M tokens$0.15 / 1M tokens
Upstage: Solar Decide Flashupstage/solar-decide-flash$0.18 / 1M tokens$0.18 / 1M tokens
OpenAI: GPT-6 Luna Decisionsopenai/gpt-6-luna-decisions$0.35 / 1M tokens$35.00 / 1K सर्च
Upstage: Solar Decideupstage/solar-decide$0.18 / 1M tokens$0.18 / 1M tokens
Cloudflare: Clef Omnicloudflare/clef-omni$0.52 / 1M tokens

डिसीज़न मॉडल API API कैसे कॉल करें

  1. अपने dashboard में API key बनाएं।
  2. अपनी भाषा के लिए आधिकारिक openai SDK इंस्टॉल करें।
  3. baseURL को https://api14.com/api/v1 और model को "liquid/d1" पर सेट करें।

डिसीज़न मॉडल कैसे कॉल करूं?

POST /api/v1/decisions पर एक स्टेट और टाइप किए गए प्रश्न (चयन, हां/नहीं या स्कोर) भेजकर। जवाब मुक्त टेक्स्ट नहीं, संभावनाओं के रूप में आता है।

सामान्य LLM क्यों नहीं?

डिसीज़न मॉडल तय ढांचे में जवाब देता है, इसलिए prompt की तरकीबें और output parsing की ज़रूरत नहीं, और आम तौर पर प्रति कॉल लागत भी कम होती है।

क्या मुफ्त डिसीज़न मॉडल हैं?

कुछ का :free वेरिएंट है जिसकी upstream rate limits ज़्यादा सख्त हैं। नीचे की टेबल हर मॉडल की कीमत दिखाती है।

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": "liquid/d1",
  "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);

लोकप्रिय AI API सेवाएं