1import{c as Q,$ as W,x as M,P as U,r as f,e as G,_ as T,U as $,j as e,Q as P,L as m,J as L,Z as g,Y as J,k as Z}from"./index-m47I5etC.js";import{f as V,m as X}from"./modelSlug-aJXp9cm0.js";import{u as ee,p as te,w as se,P as ae,S as ne}from"./PartnerBadges-aVc3InyU.js";import{W as re}from"./wallet-gVxnnASP.js";import{C as z}from"./check-TaCWj--i.js";import{C}from"./copy-Du0rZezT.js";/** 2 * @license lucide-react v1.50.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const I={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};I.node;const oe=Q(I),ce={"вÑе ÑаÑиÑÑ":"all tiers","Starter · Pro":"Starter · Pro",Pro:"Pro","ÐоÑелÑк · ÑокенÑ":"Wallet · tokens","ÑолÑко Ñ Ð¾Ð¿Ñией Qwen â":"only with the Qwen â option"};function he(){const{slug:d=""}=W(),a=M(),n=U(),s=a==="en",t=V(d),r=ee(),i=t?te(r==null?void 0:r.get(t.name),s):null,j=t&&!i?se(r==null?void 0:r.get(t.name),s):null,[b,N]=f.useState(!1),l=G();if(f.useEffect(()=>{if(!t)return;const o=`${t.name} · Neuraldeep Hub`,u=t.note?T(t.name,t.note,a):$(t.name,t.desc,a);document.title=o;const H=document.head.querySelector('meta[name="description"]');H&&H.setAttribute("content",u.slice(0,300));const E=document.head.querySelector('link[rel="canonical"]');E&&E.setAttribute("href",`https://neuraldeep.ru${s?"/en":""}/models/${X(t.name)}`)},[t,d,a,s]),!t)return e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(P,{}),e.jsx("main",{className:"flex-1 w-full",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-6 py-16 text-center",children:[e.jsx("h1",{className:"text-2xl font-mono mb-3",children:s?"Model not found":"ÐÐ¾Ð´ÐµÐ»Ñ Ð½Ðµ найдена"}),e.jsxs(m,{to:n("/models"),className:"text-accent hover:underline",children:["â ",s?"All models":"ÐÑе модели"]})]})}),e.jsx(L,{})]});const y=$(t.name,t.desc,a),B=t.note?T(t.name,t.note,a):y,F=y.split("·").map(o=>o.trim()).filter(Boolean),k=s?ce[g[t.access]]??g[t.access]:g[t.access],w=t.endpoints[0]||"",p=t.type==="chat",v=t.type==="embed",_=t.name.includes("gpt-oss"),S=t.name.startsWith("qwen3.6")||t.name.startsWith("qwen3.8"),D=t.name.startsWith("qwen3.8"),q=p&&!t.name.includes("-noreason")&&(_||S),x=t.type==="image",h=t.endpoints.some(o=>o.includes("/images/edit")),K=p?`curl https://api.neuraldeep.ru/v1/chat/completions \\ 7 -H "Authorization: Bearer $NDT_KEY" \\ 8 -H "Content-Type: application/json" \\ 9 -d '{ 10 "model": "${t.name}", 11 "messages": [{"role": "user", "content": "ÐÑивеÑ"}] 12 }'`:v?`curl https://api.neuraldeep.ru/v1/embeddings \\ 13 -H "Authorization: Bearer $NDT_KEY" \\ 14 -H "Content-Type: application/json" \\ 15 -d '{"model": "${t.name}", "input": "ÑекÑÑ"}'`:h?`# 1. оÑпÑавлÑем иÑÑ Ð¾Ð´Ð½Ð¸Ðº и опиÑание пÑавки (multipart) 16curl https://api.neuraldeep.ru/v1/images/edit \\ 17 -H "Authorization: Bearer $NDT_KEY" \\ 18 -F "[email protected]" \\ 19 -F "prompt=замени Ñон на ноÑной гоÑод, оÑÑалÑное не ÑÑогай" 20# â {"task_uid": "ab12â¦", "poll": "/v1/images/tasks/ab12â¦"} 21 22# 2. ждÑм гоÑовноÑÑи (пÑавка Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ Ð¾ÐºÐ¾Ð»Ð¾ минÑÑÑ) 23curl https://api.neuraldeep.ru/v1/images/tasks/ab12⦠\\ 24 -H "Authorization: Bearer $NDT_KEY" 25# â {"status": "finished", "result": {"width": 1312, "height": 1312}} 26 27# 3. забиÑаем каÑÑÐ¸Ð½ÐºÑ 28curl https://api.neuraldeep.ru/v1/images/tasks/ab12â¦/result \\ 29 -H "Authorization: Bearer $NDT_KEY" -o out.png`:x?`# 1. ÑÑавим задаÑÑ â пÑÐ¾Ð¼Ð¿Ñ Ð¼Ð¾Ð¶Ð½Ð¾ пиÑаÑÑ Ð¿Ð¾-ÑÑÑÑки, пеÑевод не нÑжен 30curl https://api.neuraldeep.ru${w} \\ 31 -H "Authorization: Bearer $NDT_KEY" \\ 32 -H "Content-Type: application/json" \\ 33 -d '{ 34 "prompt": "ÑÑжий ÐºÐ¾Ñ Ð² ÑкаÑандÑе на Ñоне Ðемли, ÑоÑоÑеализм", 35 "options": {"aspect_ratio": "16:9", "steps": 30} 36 }' 37# â {"task_uid": "ab12â¦", "poll": "/v1/images/tasks/ab12â¦"} 38 39# 2. ждÑм гоÑовноÑÑи (около 40 ÑекÑнд) 40curl https://api.neuraldeep.ru/v1/images/tasks/ab12⦠\\ 41 -H "Authorization: Bearer $NDT_KEY" 42# â {"status": "finished", "result": {"width": 2752, "height": 1536}} 43 44# 3. забиÑаем каÑÑÐ¸Ð½ÐºÑ 45curl https://api.neuraldeep.ru/v1/images/tasks/ab12â¦/result \\ 46 -H "Authorization: Bearer $NDT_KEY" -o out.png`:`curl https://api.neuraldeep.ru${w} \\ 47 -H "Authorization: Bearer $NDT_KEY" \\ 48 -H "Content-Type: application/json" \\ 49 -d '{"model": "${t.name}"}'`,Y=`# иÑÑ Ð¾Ð´Ð½Ð¸Ðº ÑÑ Ð¾Ð´Ð¸Ñ Ñайлом, опиÑание пÑавки â ÑекÑÑом 50curl https://api.neuraldeep.ru/v1/images/edit \\ 51 -H "Authorization: Bearer $NDT_KEY" \\ 52 -F "[email protected]" \\ 53 -F "prompt=замени Ñон на ноÑной гоÑод, оÑÑалÑное не ÑÑогай" 54# â {"task_uid": "ab12â¦"} â далÑÑе Ñе же два Ñага: ждÑм и забиÑаем 55 56curl https://api.neuraldeep.ru/v1/images/tasks/ab12⦠\\ 57 -H "Authorization: Bearer $NDT_KEY" 58curl https://api.neuraldeep.ru/v1/images/tasks/ab12â¦/result \\ 59 -H "Authorization: Bearer $NDT_KEY" -o out.png`,R=`import time, requests 60 61API = "https://api.neuraldeep.ru/v1" 62H = {"Authorization": "Bearer ÐÐТ_ÐÐЮЧ"} # sk-... из кабинеÑа 63 64# до 10 ÑеÑеÑенÑов за запÑоÑ: images можно пеÑедаÑÑ ÑпиÑком 65task = requests.post( 66 f"{API}/images/edit", 67 headers=H, 68 files={"images": open("photo.png", "rb")}, 69 data={"prompt": "замени Ñон на ноÑной гоÑод, оÑÑалÑное не ÑÑогай"}, 70).json()["task_uid"] 71 72while True: 73 st = requests.get(f"{API}/images/tasks/{task}", headers=H).json() 74 if st["status"] in ("finished", "failed"): 75 break 76 time.sleep(3) 77 78assert st["status"] == "finished", st.get("error") 79open("out.png", "wb").write( 80 requests.get(f"{API}/images/tasks/{task}/result", headers=H).content)`,A=p?`from openai import OpenAI 81 82client = OpenAI( 83 base_url="https://api.neuraldeep.ru/v1", 84 api_key="ÐÐТ_ÐÐЮЧ", # sk-... из кабинеÑа 85) 86
87resp = client.chat.completions.create( 88 model="${t.name}", 89 messages=[{"role": "user", "content": "ÐÑивеÑ"}], 90) 91print(resp.choices[0].message.content)`:v?`from openai import OpenAI 92 93client = OpenAI( 94 base_url="https://api.neuraldeep.ru/v1", 95 api_key="ÐÐТ_ÐÐЮЧ", # sk-... из кабинеÑа 96) 97 98resp = client.embeddings.create( 99 model="${t.name}", 100 input="ÑекÑÑ", 101) 102print(resp.data[0].embedding[:8])`:x?`import time, requests 103 104API = "https://api.neuraldeep.ru/v1" 105H = {"Authorization": "Bearer ÐÐТ_ÐÐЮЧ"} # sk-... из кабинеÑа 106${h?`# пÑавка: иÑÑ Ð¾Ð´Ð½Ð¸Ðº ÑÑ Ð¾Ð´Ð¸Ñ Ñайлом, опиÑание â ÑекÑÑом 107task = requests.post( 108 f"{API}/images/edit", 109 headers=H, 110 files={"images": open("photo.png", "rb")}, 111 data={"prompt": "замени Ñон на ноÑной гоÑод, оÑÑалÑное не ÑÑогай"}, 112).json()["task_uid"]`:`task = requests.post( 113 f"{API}/images/generate", 114 headers=H, 115 json={ 116 "prompt": "ÑÑжий ÐºÐ¾Ñ Ð² ÑкаÑандÑе на Ñоне Ðемли, ÑоÑоÑеализм", 117 "options": {"aspect_ratio": "16:9", "steps": 30}, 118 }, 119).json()["task_uid"]`} 120 121# каÑÑинка ÑÑиÑаеÑÑÑ Ð½Ð° наÑей каÑÑе â ждÑм поллингом 122while True: 123 st = requests.get(f"{API}/images/tasks/{task}", headers=H).json() 124 if st["status"] in ("finished", "failed"): 125 break 126 time.sleep(3) 127 128assert st["status"] == "finished", st.get("error") 129png = requests.get(f"{API}/images/tasks/{task}/result", headers=H).content 130open("out.png", "wb").write(png)`:null;async function O(){try{await navigator.clipboard.writeText(window.location.href),N(!0),setTimeout(()=>N(!1),1500)}catch{}}return e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(P,{}),e.jsx("main",{className:"flex-1 w-full",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-6 py-10 w-full",children:[e.jsxs(m,{to:n("/models"),className:"inline-flex items-center gap-1.5 text-sm text-muted hover:text-fg transition mb-6",children:[e.jsx(oe,{size:15})," ",s?"All models":"ÐÑе модели"]}),e.jsxs("div",{className:"flex items-start justify-between gap-3 flex-wrap",children:[e.jsx("h1",{className:"min-w-0 text-2xl sm:text-3xl font-mono tracking-tight [overflow-wrap:anywhere]",children:t.name}),e.jsxs("div",{className:"flex items-center gap-2 flex-wrap justify-start sm:justify-end",children:[t.region==="proxy"?e.jsx("span",{className:"text-[11px] font-mono text-amber-500 border border-amber-500/40 rounded px-2 py-1",children:s?"abroad":"вне РФ"}):e.jsx("span",{className:"text-[11px] font-mono text-emerald-500 border border-emerald-500/40 rounded px-2 py-1",children:s?"in Russia":"ð·ðº в РФ"}),e.jsx(ae,{partner:t.partner,window:t.window,en:s,size:"md"}),(l==null?void 0:l.active)&&J(t.name)&&e.jsxs("span",{className:"text-[11px] font-mono text-indigo-400 border border-indigo-400/40 rounded px-2 py-1",children:["ð ",s?`â${l.discount_pct}% at night`:`â${l.discount_pct}% ноÑÑÑ`]}),t.gate==="kimi"&&e.jsxs("span",{className:"text-[11px] font-mono inline-flex items-center gap-1 text-accent border border-accent/40 rounded px-2 py-1",children:[e.jsx(Z,{size:11}),s?"paid":"оплаÑа"]}),t.gate==="wallet"&&e.jsxs("span",{className:"text-[11px] font-mono inline-flex items-center gap-1 text-accent border border-accent/40 rounded px-2 py-1",children:[e.jsx(re,{size:11}),s?"wallet":"коÑелÑк"]}),e.jsxs("button",{onClick:O,className:"text-xs inline-flex items-center gap-1.5 border border-border rounded px-2.5 py-1.5 text-muted hover:text-fg hover:border-accent/50 transition",children:[b?e.jsx(z,{size:14,className:"text-accent"}):e.jsx(C,{size:14}),b?s?"copied":"ÑкопиÑовано":s?"copy link":"ÑкопиÑоваÑÑ ÑÑÑлкÑ"]})]})]}),e.jsx("p",{className:"mt-3 text-muted leading-relaxed",children:B}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-2",children:[t.ctx&&t.ctx!=="â"&&e.jsx("span",{className:"text-xs font-mono text-muted bg-panel border border-border rounded px-2 py-1",children:(s?"context ":"конÑекÑÑ ")+t.ctx}),F.map((o,u)=>e.jsx("span",{className:"text-xs font-mono text-muted bg-panel border border-border rounded px-2 py-1",children:o},u))]}),e.jsxs("dl",{className:"mt-6 grid sm:grid-cols-2 gap-x-6 gap-y-3 text-sm",children:[e.jsxs("div",{className:"flex justify-between border-b border-border/50 pb-2",children:[e.jsx("dt",{className:"text-muted",children:s?"Access":"ÐоÑÑÑп"}),e.jsx("dd",{className:"text-fg text-right",children:t.access==="option"?e.jsx(m,{to:n("/pricing"),className:"text-accent hover:underline",children:k}):k})]}),e.jsxs("div",{className:"flex justify-between border-b border-border/50 pb-2",children:[e.jsx("dt",{className:"text-muted",children:s?"Endpoints":"ÐндпоинÑÑ"}),e.jsx("dd",{className:"text-accent/90 font-mono text-xs text-right break-all",children:t.endpoints.join(" · ")})]}),i&&e.jsxs("div",{className:"flex justify-between gap-3 border-b border-border/50 pb-2 sm:col-span-2",children:[e.jsx("dt",{className:"text-muted shrink-0",children:s?"Price":"Цена"}),e.jsx("dd",{className:"text-amber-500 font-mono text-xs text-right",children:i})]}),j&&e.jsxs("div",{className:"flex justify-between gap-3 border-b border-border/50 pb-2 sm:col-span-2",children:[e.jsx("dt",{className:"text-muted shrink-0",children:s?"Price":"Цена"}),e.jsx("dd",{className:"text-fg font-mono text-xs text-right",children:j})]})]}),e.jsx("h2",{className:"mt-8 mb-2 text-sm font-mono text-muted uppercase tracking-wider",children:s?"Usage":"Ðак иÑполÑзоваÑÑ"}),e.jsx(c,{label:"curl",code:K,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"}),A&&e.jsx(c,{label:"Python · OpenAI SDK",code:A,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"}),e.jsxs("p",{className:"mt-2 text-xs text-muted",children:[s?"One sk-key for all models via the OpenAI-compatible API. Get a key in the ":"Ðдин sk-клÑÑ Ð½Ð° вÑе модели ÑеÑез OpenAI-ÑовмеÑÑимÑй API. ÐлÑÑ â в ",e.jsx("a",{href:n("/app/keys"),className:"text-accent hover:underline",children:s?"dashboard":"кабинеÑе"}),"."]}),x&&!h&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-8 mb-2 text-sm font-mono text-muted uppercase tracking-wider",children:s?"Editing an existing image":"ÐÑавка гоÑовой каÑÑинки"}),e.jsx("p",{className:"text-sm text-muted leading-relaxed mb-2",children:s?e.jsxs(e.Fragment,{children:["The same model edits a picture you already have: background, objects, text on the image, style â the rest stays put. Up to 10 reference images per request, via ",e.jsx("code",{className:"text-accent",children:"/v1/images/edit"}),"."]}):e.jsxs(e.Fragment,{children:["Та же Ð¼Ð¾Ð´ÐµÐ»Ñ Ð¿ÑÐ°Ð²Ð¸Ñ Ð³Ð¾ÑовÑÑ ÐºÐ°ÑÑинкÑ: Ñон, обÑекÑÑ, надпиÑи на изобÑажении, ÑÑÐ¸Ð»Ñ â оÑÑалÑное оÑÑаÑÑÑÑ Ð½Ð° меÑÑе. Ðо 10 ÑеÑеÑенÑнÑÑ Ð¸Ð·Ð¾Ð±Ñажений за запÑоÑ, ÑÑÑка ",e.jsx("code",{className:"text-accent",children:"/v1/images/edit"}),"."]})}),e.jsx(c,{label:"curl",code:Y,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"}),e.jsx(c,{label:"Python",code:R,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"})]}),t.license==="research"&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-8 mb-2 text-sm font-mono text-muted uppercase tracking-wider",children:s?"Terms of use":"УÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑзованиÑ"}),e.jsx("div",{className:"rounded border border-amber-500/40 bg-amber-500/5 px-4 py-3 text-sm text-muted leading-relaxed",children:s?e.jsxs(e.Fragment,{children:["Access to this model is granted ",e.jsx("span",{className:"text-fg",children:"for research and evaluation purposes only"}),". The weights are published under the ",e.jsx("span",{className:"text-fg",children:"Qwen RESEARCH LICENSE"}),", which does not permit commercial use; a commercial licence is agreed separately with the rights holder (Alibaba). By sending a request you confirm you are using the model within those limits, and you are responsible for how you use the images you receive."]}):e.jsxs(e.Fragment,{children:["ÐоÑÑÑп к ÑÑой модели вÑдан ",e.jsx("span",{className:"text-fg",children:"ÑолÑко Ð´Ð»Ñ Ð¸ÑÑледоваÑелÑÑÐºÐ¸Ñ Ð¸ оÑеноÑнÑÑ Ð·Ð°Ð´Ð°Ñ"}),". ÐеÑа опÑÐ±Ð»Ð¸ÐºÐ¾Ð²Ð°Ð½Ñ Ð¿Ð¾Ð´ ",e.jsx("span",{className:"text-fg",children:"Qwen RESEARCH LICENSE"}),", а она не ÑазÑеÑÐ°ÐµÑ ÐºÐ¾Ð¼Ð¼ÐµÑÑеÑкое иÑполÑзование â Ñакое пÑаво ÑоглаÑÑеÑÑÑ Ð¾ÑделÑно Ñ Ð¿ÑавообладаÑелем (Alibaba). ÐÑпÑавлÑÑ Ð·Ð°Ð¿ÑоÑ, Ð²Ñ Ð¿Ð¾Ð´ÑвеÑждаеÑе, ÑÑо ÑабоÑаеÑе в ÑÑÐ¸Ñ ÑÐ°Ð¼ÐºÐ°Ñ ; за Ñо, как Ð²Ñ Ð¸ÑполÑзÑеÑе полÑÑеннÑе каÑÑинки, оÑвеÑаеÑе вÑ."]})})]}),q&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-8 mb-2 text-sm font-mono text-muted uppercase tracking-wider",children:s?"Reasoning control":"УпÑавление reasoning"}),_?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted leading-relaxed",children:s?e.jsxs(e.Fragment,{children:["Depth of reasoning is set by ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"}),": ",e.jsx("code",{className:"text-accent",children:"low"})," / ",e.jsx("code",{className:"text-accent",children:"medium"})," / ",e.jsx("code",{className:"text-accent",children:"high"}),". Reasoning is on by default; ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," arrives as a separate field."]}):e.jsxs(e.Fragment,{children:["ÐлÑÐ±Ð¸Ð½Ñ ÑазмÑÑÐ»ÐµÐ½Ð¸Ñ Ð·Ð°Ð´Ð°ÑÑ ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"}),": ",e.jsx("code",{className:"text-accent",children:"low"})," / ",e.jsx("code",{className:"text-accent",children:"medium"})," / ",e.jsx("code",{className:"text-accent",children:"high"}),". Ðо ÑмолÑÐ°Ð½Ð¸Ñ reasoning вклÑÑÑн; ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," пÑÐ¸Ñ Ð¾Ð´Ð¸Ñ Ð¾ÑделÑнÑм полем."]})}),e.jsx(c,{label:"curl",code:`curl https://api.neuraldeep.ru/v1/chat/completions \\ 131 -H "Authorization: Bearer $NDT_KEY" \\ 132 -H "Content-Type: application/json" \\ 133 -d '{ 134 "model": "${t.name}", 135 "messages": [{"role": "user", "content": "ÐÑивеÑ"}], 136 "reasoning_effort": "low" 137 }'`,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"})]}):D?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted leading-relaxed",children:s?e.jsxs(e.Fragment,{children:["Reasoning always runs at ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"})," ",e.jsx("code",{className:"text-accent",children:"low"}),": the gateway lowers any other value to ",e.jsx("code",{className:"text-accent",children:"low"}),", because deeper levels made the model think for many minutes. To turn thinking off, use the ",e.jsx("code",{className:"text-accent",children:"qwen3.8-27b-noreason"})," model; ",e.jsx("code",{className:"text-accent",children:"enable_thinking: false"})," on this name has no effect. ",e.jsx("code",{className:"text-accent",children:"thinking_token_budget"})," is not supported. Reasoning is on by default; ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," arrives as a separate field."]}):e.jsxs(e.Fragment,{children:["РазмÑÑление вÑегда идÑÑ Ñ ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"})," ",e.jsx("code",{className:"text-accent",children:"low"}
137),": лÑбое дÑÑгое знаÑение Ð³ÐµÐ¹Ñ Ð¿Ð¾Ð½Ð¸Ð¶Ð°ÐµÑ Ð´Ð¾ ",e.jsx("code",{className:"text-accent",children:"low"}),", поÑÐ¾Ð¼Ñ ÑÑо более глÑбокие ÑÑовни Ñводили Ð¼Ð¾Ð´ÐµÐ»Ñ Ð² ÑаздÑмÑÑ Ð½Ð° много минÑÑ. ÐÑклÑÑиÑÑ ÑазмÑÑление можно ÑолÑко моделÑÑ ",e.jsx("code",{className:"text-accent",children:"qwen3.8-27b-noreason"}),", ",e.jsx("code",{className:"text-accent",children:"enable_thinking: false"})," на ÑÑом имени не дейÑÑвÑеÑ. ",e.jsx("code",{className:"text-accent",children:"thinking_token_budget"})," не поддеÑживаеÑÑÑ. Ðо ÑмолÑÐ°Ð½Ð¸Ñ reasoning вклÑÑÑн, ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," пÑÐ¸Ñ Ð¾Ð´Ð¸Ñ Ð¾ÑделÑнÑм полем."]})}),e.jsx(c,{label:"curl",code:`curl https://api.neuraldeep.ru/v1/chat/completions \\ 138 -H "Authorization: Bearer $NDT_KEY" \\ 139 -H "Content-Type: application/json" \\ 140 -d '{ 141 "model": "${t.name}", 142 "messages": [{"role": "user", "content": "ÐÑивеÑ"}], 143 "reasoning_effort": "xhigh" 144 }'`,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted leading-relaxed",children:s?e.jsxs(e.Fragment,{children:["This model has no reasoning depth levels: ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"})," and ",e.jsx("code",{className:"text-accent",children:"thinking_token_budget"})," have no effect. To turn thinking off, use the ",e.jsx("code",{className:"text-accent",children:"-noreason"})," model; ",e.jsx("code",{className:"text-accent",children:"enable_thinking: false"})," on this name has no effect. Reasoning is on by default; ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," arrives as a separate field."]}):e.jsxs(e.Fragment,{children:["УÑовней глÑÐ±Ð¸Ð½Ñ Ñ ÑÑой модели неÑ: ",e.jsx("code",{className:"text-accent",children:"reasoning_effort"})," и ",e.jsx("code",{className:"text-accent",children:"thinking_token_budget"})," ни на ÑÑо не влиÑÑÑ. ÐÑклÑÑиÑÑ ÑазмÑÑление можно ÑолÑко моделÑÑ Ñ ÑÑÑÑикÑом ",e.jsx("code",{className:"text-accent",children:"-noreason"}),", ",e.jsx("code",{className:"text-accent",children:"enable_thinking: false"})," на ÑÑом имени не дейÑÑвÑеÑ. Ðо ÑмолÑÐ°Ð½Ð¸Ñ reasoning вклÑÑÑн, ",e.jsx("code",{className:"text-accent",children:"reasoning_content"})," пÑÐ¸Ñ Ð¾Ð´Ð¸Ñ Ð¾ÑделÑнÑм полем."]})}),e.jsx(c,{label:"curl",code:`curl https://api.neuraldeep.ru/v1/chat/completions \\ 145 -H "Authorization: Bearer $NDT_KEY" \\ 146 -H "Content-Type: application/json" \\ 147 -d '{ 148 "model": "${t.name}-noreason", 149 "messages": [{"role": "user", "content": "ÐÑивеÑ"}] 150 }'`,copyLabel:s?"copy":"копиÑоваÑÑ",copiedLabel:s?"copied":"ÑкопиÑовано"})]})]}),e.jsxs("div",{className:"mt-8 flex flex-wrap gap-4 text-sm",children:[e.jsxs(m,{to:n("/models"),className:"text-accent hover:underline",children:["â ",s?"All models":"ÐÑе модели"]}),t.bench&&e.jsxs("a",{href:n("/benchmarks"),className:"text-accent hover:underline inline-flex items-center gap-1",children:[e.jsx(ne,{size:14}),s?"Benchmarks":"ÐенÑмаÑки"]}),e.jsx("a",{href:n("/docs"),className:"text-accent hover:underline",children:s?"API docs":"ÐокÑменÑаÑÐ¸Ñ API"})]})]})}),e.jsx(L,{})]})}function c({label:d,code:a,copyLabel:n,copiedLabel:s}){const[t,r]=f.useState(!1);async function i(){try{await navigator.clipboard.writeText(a),r(!0),setTimeout(()=>r(!1),1500)}catch{}}return e.jsxs("div",{className:"mb-3 rounded-lg border border-border bg-panel overflow-hidden",children:[e.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 border-b border-border/60",children:[e.jsx("span",{className:"text-[11px] font-mono text-muted",children:d}),e.jsxs("button",{onClick:i,className:"text-[11px] inline-flex items-center gap-1.5 text-muted hover:text-fg transition",children:[t?e.jsx(z,{size:13,className:"text-accent"}):e.jsx(C,{size:13}),t?s:n]})]}),e.jsx("pre",{className:"p-3 overflow-x-auto text-[12px] font-mono text-fg leading-relaxed",children:e.jsx("code",{children:a})})]})}export{he as ModelDetail};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.