BazaarLinkBazaarLink
साइन इन
दस्तावेज़API संदर्भSDK संदर्भएजेंटिक उपयोगAI स्किल्स
मॉडल

उपलब्ध मॉडल सूचीबद्ध करें

सभी उपलब्ध मॉडल लौटाता है, output_modalities से फ़िल्टर किया जा सकता है (एम्बेडिंग मॉडल सूचीबद्ध करें देखें — यह वही एंडपॉइंट है जिसमें output_modalities=embeddings लागू है)। बिना Authorization हेडर के, पूरी सार्वजनिक सूची सार्वजनिक कैशिंग के साथ लौटाई जाती है; किसी संगठन से संबंधित Bearer कुंजी के साथ, प्रतिक्रिया उस संगठन की मॉडल allowlist द्वारा फ़िल्टर होती है और निजी, अल्पकालिक कैशिंग में बदल जाती है।

GET/api/v1/models

क्वेरी पैरामीटर

output_modalities
string

अल्पविराम से अलग की गई एकल स्ट्रिंग (एक ही नाम की query key दोहराना नहीं), जैसे image या text,image। सभी modality पाने के लिए all भेजें। छोड़ने पर डिफ़ॉल्ट केवल text है। पहचान में न आने वाले मान 400 लौटाते हैं। सामान्य उपयोग: टेक्स्ट मॉडल के लिए डिफ़ॉल्ट बनाए रखें या स्पष्ट रूप से text भेजें; इमेज मॉडल के लिए image भेजें; एम्बेडिंग के लिए embeddings भेजें; टेक्स्ट-टू-स्पीच के लिए speech और स्पीच-टू-टेक्स्ट के लिए transcription भेजें; audio, video, rerank भी उसी तरह उपलब्ध हैं (कुछ श्रेणियों में फ़िलहाल कम या कोई सूचीबद्ध मॉडल नहीं है); सभी श्रेणियों का संयुक्त परिणाम एक साथ पाने के लिए (योग नहीं — एक मॉडल कई श्रेणियों में हो सकता है) all भेजें।

comma-separated, single value
textimageembeddingsaudiovideorerankspeechtranscriptionall
Example: "text,image"
GET /api/v1/models
curl "https://bazaarlink.ai/api/v1/models?output_modalities=all"
प्रतिक्रिया उदाहरण

सफल। id संक्षिप्त रूप है (जैसे "gpt-4o") जब नाम प्रदाताओं में स्पष्ट है, अन्यथा (या जब मॉडल मीडिया-बिल्ड है) canonical रूप (जैसे "openai/gpt-4o") — canonical id हमेशा aliases में भी सूचीबद्ध होता है। मुफ़्त मॉडल में canonical id प्लस :free वाली एक अतिरिक्त प्रविष्टि होती है (शून्य मूल्य; यह खोज संकेत है, दूसरा वास्तविक मॉडल नहीं)। जब फ़िल्टर में text शामिल हो, सूची में auto और auto:free वर्चुअल रूटिंग प्रविष्टियाँ भी शामिल होती हैं (owned_by "bazaarlink", किसी एक वास्तविक मॉडल द्वारा समर्थित नहीं); auto की pricing "-1"/"-1" है (अर्थात वास्तविक रूट किया गया मॉडल लागत तय करता है) — केवल auto:free ही वास्तव में शून्य-लागत है।

{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "owned_by": "openai",
      "name": "OpenAI: GPT-4o",
      "description": "OpenAI's multimodal flagship model.",
      "context_length": 128000,
      "aliases": [
        "openai/gpt-4o"
      ],
      "pricing": {
        "prompt": "0.0000025",
        "completion": "0.00001"
      },
      "architecture": {
        "modality": "text+image->text",
        "input_modalities": [
          "text",
          "image"
        ],
        "output_modalities": [
          "text"
        ]
      },
      "knowledge_cutoff": "2023-10",
      "max_completion_tokens": 16384
    },
    {
      "id": "openai/gpt-4o:free",
      "object": "model",
      "owned_by": "openai",
      "name": "OpenAI: GPT-4o (free)",
      "description": "Rate-limited free tier. OpenAI's multimodal flagship model.",
      "context_length": 128000,
      "aliases": [],
      "pricing": {
        "prompt": "0",
        "completion": "0"
      },
      "architecture": {
        "modality": "text+image->text",
        "input_modalities": [
          "text",
          "image"
        ],
        "output_modalities": [
          "text"
        ]
      }
    },
    {
      "id": "auto",
      "object": "model",
      "owned_by": "bazaarlink",
      "name": "Auto Router",
      "description": "Automatically selects the best model for the request.",
      "aliases": [],
      "pricing": {
        "prompt": "-1",
        "completion": "-1"
      },
      "architecture": {
        "modality": "text->text",
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "text"
        ]
      }
    }
  ]
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
उपलब्ध मॉडल सूचीबद्ध करें — BazaarLink API