1import{D as r,x as l,j as e,O as d,q as c,S as m}from"./index-Bkmdhm1s.js";import{A as p,M as u}from"./ModelsTable-D3b9GP2l.js";import{S as h,N as x}from"./Panels-Ca1CyQK_.js";import{u as y}from"./useApiKey-BpJ6ua81.js";import"./ConfirmRotateKey-CK5U17UX.js";import"./dialog-BNzjAZmE.js";import"./format-CPc2Yy3K.js";import"./select-Dq8wD93s.js";import"./chevron-up-iv2thXPD.js";function N(){const t=y(),{data:o,isLoading:s}=r({queryKey:["litellm","models"],queryFn:()=>m.listModels(),refetchInterval:3e4,refetchOnWindowFocus:!0}),a=l.useMemo(()=>[...o?.data??[]].sort((i,n)=>i.model_name.localeCompare(n.model_name)),[o]);return e.jsxs("div",{className:"font-ui",children:[e.jsx("h1",{className:"font-display text-[26px] leading-[1.2] font-semibold tracking-[-0.02em]",children:"Serverless"}),e.jsx("p",{className:"mt-2 max-w-[68ch] text-sm leading-[1.65] text-ink-3",children:"Run any of these models on your own workload through an OpenAI-compatible API. Billed per token from your balance â no commitment, no reserved capacity. Cached input is billed separately."}),e.jsx(p,{apiKey:t}),e.jsxs(h,{children:["Available",e.jsx("span",{"aria-hidden":"true",children:"·"}),"pricing per 1M tokens"]}),e.jsx(u,{models:a,isLoading:s,apiKey:t}),e.jsx(x,{title:"Need a model that is not listed?",action:e.jsx(d,{asChild:!0,variant:"outline",children:e.jsx(c,{to:"/dedicated",children:"Explore dedicated"})}),children:"We serve open weights on dedicated capacity beyond this catalogue, including models we do not run on shared infrastructure. Tell us the workload and we will confirm what we can run."})]})}export{N as component};
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.