Logseq के AI plugins को किसी भी catalog model से wire करें।

Updated 2026-07-30

Logseq की AI story community plugins में रहती है, और useful वाले same तीन settings expose करते हैं: एक endpoint या base URL, एक API key, और एक model name। Endpoint को https://api.apisrouter.com/v1 set करें और कोई भी catalog id, Claude, GPT, DeepSeek, GLM, आपके graph के slash commands के पीछे का model बन जाती है।

Quick answer: plugin config में तीन settings।

Logseq के marketplace से एक AI plugin install करें, इसकी settings खोलें, और standard trio भरें: endpoint या base URL field में https://api.apisrouter.com/v1, API key field में अपनी APIsRouter key, और model field में claude-haiku-4-5-20251001 जैसी एक exact catalog id। Ecosystem से दो concrete examples। लंबे समय से मौजूद gpt3-openai plugin (briansunter/logseq-plugin-gpt3-openai) एक chatCompletionEndpoint setting expose करता है, default में OpenAI के host पर, plus एक free-text model setting, तो दोनों cleanly एक gateway पर redirect होते हैं। नया logseq-copilot plugin शुरू से OpenAI-compatible APIs के लिए बनाया गया, API Endpoint, API Key, और Model settings के साथ और एक case-sensitive model field। Field names per plugin अलग हैं; pattern नहीं।

API / Chat Completion Endpoint:
  https://api.apisrouter.com/v1

API Key:   sk-YOUR-APISROUTER-KEY

Model:     claude-haiku-4-5-20251001
           (case-sensitive, free text)

Logseq plugins endpoint को कैसे इस्तेमाल करते हैं।

Logseq networked notes के लिए open-source outliner है, और इसके AI plugins slash commands और block actions के तौर पर editor में hook करते हैं: इस block को summarize करो, यहां से आगे लिखो, selection से जवाब दो, एक page से outline generate करो। हर action एक chat-completions request है जो relevant blocks को context के तौर पर carry करती है, plugin की settings जो भी endpoint declare करें उसे भेजी जाती है। Ecosystem पर एक honest note, क्योंकि यह Obsidian से छोटा है: Logseq AI plugins community projects हैं जिनका maintenance uneven है। gpt3-openai plugin सबसे established है लेकिन releases के बीच quiet stretches देखे हैं; logseq-copilot हल्का है लेकिन OpenAI-compatible endpoints के लिए purpose-built। किसी plugin पर रोज़ depend करने से पहले इसकी recent activity check करें, और एक polished setup wizard की बजाय इसका settings panel पढ़ने की उम्मीद रखें। Gateway side इस pairing का stable आधा है। चूंकि endpoint standard chat-completions dialect बोलता है और हर catalog id एक key के through serve करता है, एक बार configured plugin एक settings field edit करके Claude id से DeepSeek id पर switch हो सकता है, ना कोई reinstall, ना कोई नया account।

एक outliner workflow के लिए models चुनना।

Outliner AI usage constant की बजाय bursty है: एक घंटे कुछ नहीं, फिर लिखते समय slash commands की एक झड़ी। Prepaid per-token billing किसी भी subscription से बेहतर उस shape में fit बैठती है, और console का per-model view दिखाता है कि आपकी असली cadence हर id पर क्या खर्च करती है।

  • claude-haiku-4-5-20251001 everyday driver के तौर पर: block summaries, quick rewrites, और एक page के context पर grounded answers।
  • claude-sonnet-4-6 भारी synthesis के लिए, एक outline से लंबे sections draft करना, या कुछ भी जो आप publish करेंगे।
  • gpt-5.4-mini GPT-family volume pick के तौर पर अगर आपके prompts OpenAI behavior पर shaped थे।
  • deepseek-v4-flash bulk passes के लिए, जैसे एक महीने का हर journal page summarize करना, floor rate पर।
  • glm-5 bilingual graphs के लिए test करने लायक, खासकर Chinese-English mixed notes।

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

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

मॉडलआधिकारिक मूल्यहमारा मूल्य
Claude Haiku 4.5 20251001$1.00 / $5.00 per M$0.80 / $4.00 per M
Claude Sonnet 4.6$3.00 / $15.00 per M$2.40 / $12.00 per M
DeepSeek V4 Flash$0.14 / $0.28 per M$0.10 / $0.30 per M
GPT-5.4 mini$0.75 / $4.50 per M$0.60 / $3.60 per M
GLM-5.1$0.86 / $3.43 per M$0.90 / $3.40 per M

Logseq plugins के लिए specific failure modes।

Debug करते समय काम का बंटवारा: curl दो commands में endpoint, key, और id साबित करता है, और बाकी सब plugin की configuration या compatibility है। यह order एक tooling layer वाले plugin ecosystem में सबसे ज़्यादा समय बचाता है जहां moving part वही है।

  • Command चुपचाप कुछ नहीं करती: plugin की settings खोलें और confirm करें कि endpoint field असल में save हुआ; कुछ plugins को settings changes के बाद plugin off और on toggle करने की ज़रूरत होती है।
  • Model errors एक not-found message के साथ: कम से कम एक popular plugin में model field case-sensitive है, और ids catalog listing से exactly match करनी चाहिए। /v1/models से copy करें, memory से नहीं।
  • Endpoint field एक अलग path depth चाहता है: ज़्यादातर plugins base को /v1 पर ख़त्म होते चाहते हैं और खुद routes append करते हैं; अगर कोई एक पूरा path मांगे, इसे explicitly /v1/chat/completions दें और नोट करें आपका plugin कौन सी style इस्तेमाल करता है।
  • 401 errors: key field में whitespace या एक पुरानी key है। Logseq के बाहर same key से models listing curl करके confirm करें।
  • एक update के बाद plugin टूट गया: community plugins कभी-कभी app releases से पीछे रह जाते हैं। यह मानने से पहले कि endpoint बदल गया plugin के repository issues check करें; curl check सेकंडों में gateway वाला आधा साबित कर देता है।

कौन Logseq को एक gateway के through route करता है।

  • Daily journalers जो अपने graph पर summaries और rewrites एक volume-tier id पर चलाते हैं।
  • Writers जो outlines से draft करते हैं और जो passages matter करते हैं उनके लिए एक flagship id tap पर चाहते हैं।
  • Bilingual note-takers जो mixed-language blocks पर GLM और DeepSeek ids को Claude के against test करते हैं।
  • Privacy-minded users जिन्होंने local files के लिए Logseq चुना और अपना AI traffic एक auditable key के पीछे consolidate चाहते हैं।
  • People जो पहले से editors या terminals एक gateway से route करते हैं और notes को same balance और usage log पर चाहते हैं।

Endpoint verify करें, फिर एक block test करें।

Configure की गई exact model id के साथ two-command check चलाएं, फिर एक छोटे block पर एक slash command trigger करें। अगर curl pass करे और plugin fail करे, तो issue plugin की settings या version है, और इसका repository सही जगह है देखने के लिए। एक बार commands flow करने लगें, APIsRouter console per request model, tokens, और spend record करता है। Notes workloads coding agents के मुकाबले हल्के हैं, तो ज़्यादातर Logseq users को console सिर्फ confirm करता है कि bill छोटा है; value यह जानने में है कि यह data से आता है, उम्मीद से नहीं।

curl -s https://api.apisrouter.com/v1/models \
  -H "Authorization: Bearer $APISROUTER_API_KEY" | head -50

curl -s https://api.apisrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $APISROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-haiku-4-5-20251001",
       "messages":[{"role":"user","content":"Summarize: spaced repetition beats cramming."}]}'

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

कौन से Logseq AI plugins custom OpenAI-compatible endpoint support करते हैं?

Established gpt3-openai plugin एक chatCompletionEndpoint setting और free-text model name expose करता है, और logseq-copilot configurable API Endpoint, API Key, और Model settings के आस-पास बनाया गया। दूसरे plugins vary करते हैं; किसी पर भरोसा करने से पहले settings में एक endpoint field check करें।

क्या Logseq plugins Claude models इस्तेमाल कर सकते हैं?

हां, एक endpoint setting वाले किसी भी plugin से: इसे https://api.apisrouter.com/v1 पर point करें और model को claude-haiku-4-5-20251001 या claude-sonnet-4-6 set करें। Gateway plugins के बोले OpenAI-compatible dialect पर Claude ids serve करता है।

Model field मेरी id क्यों reject करता है?

इन plugins में model fields free text हैं और कम से कम एक popular plugin इन्हें case-sensitive treat करता है, तो id catalog से exactly match करनी चाहिए। इसे memory से type करने की बजाय अपनी key के साथ /v1/models listing से copy करें।

क्या Logseq AI plugins भरोसा करने लायक maintained हैं?

Unevenly, और यह कहना fair है कि ecosystem Obsidian से छोटा है। इसे daily workflow का हिस्सा बनाने से पहले किसी plugin के recent releases और open issues check करें। Endpoint side standard chat completions है, तो बाद में plugins बदलना आपकी key या model setup नहीं बदलता।

एक notes app में AI usage असल में कितनी खर्च करती है?

ज़्यादातर users के लिए थोड़ी: slash-command usage bursty है और हर request छोटी है। deepseek-v4-flash या claude-haiku-4-5-20251001 जैसी volume-tier id पर, active note-taking का एक महीना आमतौर पर pocket-change territory में रहता है; console हर model के लिए आपकी exact number दिखाता है।

क्या मुझे इन plugins के लिए OpenAI account चाहिए?

नहीं। Plugins को एक key और एक endpoint चाहिए, कोई vendor relationship नहीं। एक APIsRouter key बिना card के मुफ़्त शुरू होती है, email से आती है, और आपके configure किए एक endpoint से हर catalog id serve करती है।