KoboldAI Lite एक custom OpenAI-compatible endpoint पर।

Updated 2026-07-29

KoboldAI Lite natively custom endpoints से connect होता है: project का अपना README OpenAI-shaped और Claude-shaped APIs को Kobold instances और AI Horde के साथ list करता है। इसके custom URL field को अपनी key के साथ https://api.apisrouter.com/v1 पर point करें, और हर catalog model, DeepSeek, GLM, Kimi, Claude, Grok, same story interface के अंदर selectable बन जाता है, चाहे आप lite.koboldai.net पर hosted Lite use करें या KoboldCpp के साथ bundled copy।

Quick answer: Lite को चाहिए values।

AI connection panel खोलें (Lite के top menu में AI button), default AI Horde से custom endpoint group पर switch करें, और OpenAI-compatible option चुनें। Exact labels builds के बीच थोड़ा shift होते हैं, लेकिन fields constant रहते हैं: एक API URL, एक key, और connect होने के बाद चुना गया एक model। दो Lite-specific details ज़्यादातर damage तब करती हैं जब यह fail होता है। पहला, version checkbox: Lite एक "Add Ver. Num" style toggle offer करता है जो आपके लिए URL में /v1 append कर देता है, तो box tick होने पर https://api.apisrouter.com डालना और untick होने पर https://api.apisrouter.com/v1 डालना दोनों correctly resolve होते हैं, जबकि /v1 को double करना नहीं होता। दूसरा, persistence: Lite historically reconnect पर custom endpoint URLs reset करता रहा है, तो URL को handy रखें बजाय यह मान लेने के कि field हर session में survive करती है।

API URL:  https://api.apisrouter.com/v1   (or base URL + "Add Ver. Num" ticked)
API key:  sk-...                            (from APIsRouter)
Model:    deepseek-v4-flash                 (or any catalog id after connecting)

Lite क्या है, और यह एक hosted model तक कैसे पहुंचता है।

KoboldAI Lite Kobold ecosystem का zero-install web UI है: story writing, adventure mode, और character chat के लिए एक single-page app जो पूरी तरह आपके browser में चलता है। यह दो forms में ship होता है जो same settings share करते हैं: lite.koboldai.net पर hosted instance, और जब आप models locally run करते हैं तब KoboldCpp localhost पर serve करने वाली bundled copy। Project README इसे custom endpoints से connect करने में capable बताता है, जिसमें OpenAI-shaped और Claude-shaped APIs, local और remote Kobold instances, और crowdsourced AI Horde शामिल हैं। क्योंकि Lite अपने बिना किसी server वाला एक browser app है, आपके API requests सीधे browser से जो भी endpoint आप configure करते हैं वहां जाते हैं। यही design है जिसकी वजह से custom-endpoint route बिल्कुल काम करता है, और यही वजह है कि नीचे CORS section मौजूद है: endpoint को browser-origin requests का जवाब देना होता है, और जब कोई नहीं देता, तो Lite एक proxy toggle offer करता है जिसके trade-offs को flip करने से पहले समझना ज़रूरी है। AI Horde से आने वाले लोगों के लिए: volunteer cluster के मुकाबले एक metered endpoint की appeal predictability है। Horde genuinely free है एक queue के साथ; एक funded endpoint उसी exact model के साथ immediately जवाब देता है जो आपने मांगा, और value-family rates पर एक शाम का play प्रति message एक cent के छोटे से हिस्से में आता है।

Setup, field by field।

अगर connect होने के बाद model list खाली रहती है, तो usual causes इस order में हैं: एक doubled या missing /v1 (पहले version checkbox check करें), whitespace के साथ paste की गई key, या एक browser extension जो request block कर रहा है। एक curl command में same तीन values का काम करना यह prove करने का सबसे तेज़ तरीका है कि endpoint side ठीक है और problem को browser तक localize करना है।

  • Lite खोलें (hosted या bundled) और connection panel खोलने के लिए top menu में AI button click करें।
  • Provider selection को AI Horde से custom endpoint group पर switch करें, और OpenAI-compatible option चुनें (labels build के हिसाब से थोड़े अलग होते हैं; इसके साथ एक Claude-shaped option भी बैठा होता है)।
  • URL डालें: https://api.apisrouter.com/v1, ऊपर बताए version checkbox का ध्यान रखते हुए ताकि /v1 exactly एक बार दिखे।
  • अपनी sk-... key को key field में paste करें।
  • Connect करें, फिर Lite जो list fetch करता है उसमें से एक model चुनें, या अगर आपका build manual model name मांगता है तो exact catalog id type करें।
  • लंबा session load करने से पहले round trip confirm करने के लिए एक fresh story में एक छोटा message भेजें।

Claude endpoint option, और इसे कब use करें।

Lite के custom endpoint group में Anthropic-dialect APIs के लिए एक Claude-shaped option भी शामिल है। APIsRouter उस dialect को भी /v1/messages पर serve करता है, तो claude ids दोनों door से reachable हैं। Practice में OpenAI-compatible route सभी families के लिए simpler default है, Claude models के लिए भी, क्योंकि एक configuration फिर हर family serve करती है: high-end prose के लिए claude-sonnet-4-6, volume play के लिए deepseek-v4-flash, rotation के लिए glm-5.2 और kimi-k2.6, यह सब reconfigurations नहीं बल्कि model-field changes के रूप में। Claude-shaped option जहां अपनी जगह कमाता है वह है अगर आप presets को specifically Anthropic के request format के लिए tuned रखते हैं या किसी दूसरे Anthropic-dialect tool से settings migrate करते हैं। Functionally, दोनों routes इस gateway के through same models पर खत्म होते हैं; एक चुनें और consistent रहें ताकि आपकी saved settings portable रहें।

Samplers और modes: एक hosted endpoint पर actually क्या apply होता है।

Lite अपनी settings में पूरा local-model sampler zoo expose करता है, और इसमें से ज़्यादातर travel नहीं करता। OpenAI-compatible endpoints पर, Lite के अपने documentation में लिखा है कि सिर्फ temperature, top-p, और repetition-penalty style controls apply होते हैं; Min-P, Top-A, या TFS जैसे exotic samplers local-inference features हैं, और Lite उन्हें extra fields के रूप में attach कर सकता है, लेकिन hosted endpoints आमतौर पर non-standard parameters को ignore या reject करते हैं। Prose variety के लिए temperature लगभग 0.8 से 0.9 पर set करें, top-p को 0.95 के पास छोड़ें, और repetition penalties को low रखें; यही पूरी tunable surface है, और यह काफी है। Lite के writing modes सभी custom endpoint पर काम करते हैं, एक guidance के साथ: instruct mode hosted chat models पर सबसे naturally map होता है, क्योंकि यह structured role-based exchange produce करता है जिसके लिए वे models trained हैं। Classic story co-writing भी काम करती है; models से raw text continuers की बजाय conversational partners की तरह behave करने की उम्मीद रखें, क्योंकि chat completions endpoint यही है। Context budgeting हर roleplay frontend जैसा ही rule follow करती है: Lite हर turn पर visible story context resend करता है, तो context size को deliberately set करें (एक 16K से 32K working window लंबे sessions cover करता है) बजाय इसे maximize करने के सिर्फ इसलिए कि model की window allow करती है। नीचे दी गई context-length guide models के across यह math करती है।

OpenAI-compatible endpoints पर sampler reality, Lite की अपनी settings notes के हिसाब से।
Settingशुरुआती valueNote
Temperature0.8 to 0.9वह main lever जो hosted endpoint तक की trip survive करता है
Top P0.95तब तक मत छुएं जब तक output incoherent न हो जाए
Repetition penaltyLowHigh values लंबी stories में names mangle कर देती हैं
Exotic samplers (Min-P, Top-A, TFS)Ignore करेंLocal-inference features; hosted endpoints इन्हें drop या reject करते हैं
Context size16K to 32Kहर turn पर resent होता है; cost इसके साथ scale करती है

जितना उपयोग उतना भुगतान · आधिकारिक मूल्य से कम

Selected models are priced below official list prices. Exact input, output, cache, and per-request prices are shown for each model.

मॉडलआधिकारिक मूल्यहमारा मूल्य
DeepSeek V4 Flash$0.14 / $0.28 per M$0.10 / $0.30 per M
GLM-5.2$1.14 / $4.00 per M$1.10 / $4.00 per M
Kimi K2.6$0.95 / $4.00 per M$1.00 / $4.00 per M
Claude Sonnet 4.6$3.00 / $15.00 per M$2.40 / $12.00 per M
Grok 4.5$2.00 / $6.00 per M$1.60 / $4.80 per M

CORS, proxy toggle, और अपनी key को sane रखना।

क्योंकि Lite endpoint को सीधे आपके browser से call करता है, सही values के साथ एक connection failure आमतौर पर CORS होता है: endpoint browser-origin requests को decline कर रहा है। Lite ठीक इसी case के लिए एक "Use CORS Proxy" toggle ship करता है, और इसे एक honest warning चाहिए: किसी भी third-party proxy से route करना उस proxy को आपके traffic के अंदर रख देता है, key और story content सहित। पहले एक direct connection try करें, अगर doubt हो तो curl के through endpoint काम करने की पुष्टि करें, और proxy toggle को default की बजाय एक last resort मानें। एक local KoboldCpp से bundled Lite चलाना एक और clean workaround है, क्योंकि same custom-endpoint settings वहां भी मौजूद हैं। Key hygiene एक browser app पर थोड़ी ज़्यादा matter करती है: key आपके browser की local settings में बैठी रहती है, तो इसे shared या public machines में paste करने से बचें, और अगर यह कभी leak हो, तो उम्मीद रखने की बजाय revoke करके फिर से issue करें। यहां keys बनाना free है, तो Lite के लिए एक dedicated key usage log को readable और blast radius को छोटा रखती है। एक content note, साफ़-साफ़ बताई गई: एक custom endpoint यह बदलता है कि requests कहां जाते हैं, न कि models क्या permit करते हैं। Upstream model policies और आप जिस भी Lite instance को use करते हैं उसके terms अभी भी apply होते हैं; नीचे linked policies-compared page landscape को factually cover करता है, model family by model family।

अक्सर पूछे जाने वाले प्रश्न

क्या KoboldAI Lite custom OpenAI-compatible endpoints support करता है?

हां, natively। Project README में custom endpoints list हैं जिनमें OpenAI-shaped और Claude-shaped APIs, Kobold instances, और AI Horde के साथ शामिल हैं। Configuration एक URL, एक key, और एक model है, hosted या KoboldCpp-bundled Lite दोनों के AI connection panel से।

KoboldAI Lite में APIsRouter के लिए मैं कौन सा URL डालूं?

https://api.apisrouter.com/v1, version checkbox को handle करते हुए ताकि /v1 exactly एक बार दिखे: Lite का "Add Ver. Num" style toggle ticked होने पर /v1 automatically append करता है। एक doubled या missing version segment खाली model list की सबसे common वजह है।

क्या मैं KoboldAI Lite में Claude models use कर सकता हूं?

हां, दो तरीकों से: OpenAI-compatible endpoint के through model field में claude-sonnet-4-6 जैसी एक claude id के साथ, या Lite के Claude-shaped endpoint option के through /v1/messages पर। OpenAI-compatible route simpler default है क्योंकि same config फिर हर दूसरी family भी serve करती है।

मेरी sampler settings कुछ नहीं करती ऐसा क्यों लगता है?

Lite का ज़्यादातर sampler zoo local inference के लिए है। एक OpenAI-compatible endpoint पर सिर्फ temperature, top-p, और repetition-penalty style controls apply होते हैं; hosted endpoints exotic samplers को ignore या reject करते हैं। अगर output गलत लगे, तो पहले temperature tune करें और दूसरा model id check करें।

curl काम करने पर भी Lite connect क्यों नहीं होता?

लगभग हमेशा CORS: Lite आपके browser में चलता है, तो endpoint को browser-origin requests accept करना ज़रूरी है। Options roughly इस order में हैं: एक clean direct config फिर से try करें, एक local KoboldCpp के साथ bundled Lite run करें, या Lite का CORS proxy toggle use करें यह समझते हुए कि फिर एक third party आपके traffic के अंदर बैठ जाती है।

क्या यह AI Horde से बेहतर है?

अलग trade-off। Horde genuinely free, volunteer-run, और queued है, जो भी models volunteers host करते हैं उनके साथ। एक metered endpoint उसी exact model के साथ immediately जवाब देता है जो आप pick करते हैं, value-family rates पर जो एक शाम के play को प्रति message एक cent के छोटे हिस्से पर रखते हैं। कई लोग दोनों configured रखते हैं।