MCPcopy Create free account

hub / github.com/anomalyco/models.dev / functions

Functions418 in github.com/anomalyco/models.dev

↓ 92 callersFunctionhas
(value: string, pattern: RegExp)
packages/core/src/describe.ts:473
↓ 24 callersFunctionbooleanText
(value?: boolean)
packages/web/src/shared.ts:34
↓ 21 callersFunctionfetch
(req)
packages/web/src/server.ts:130
↓ 17 callersFunctioncompare
(field: string, oldValue: unknown, newValue: unknown)
packages/core/script/generate-wandb.ts:398
↓ 17 callersFunctionquote
(value: string)
packages/core/src/sync/index.ts:682
↓ 14 callersFunctioninferKimiFamily
(...values: string[])
packages/core/src/family.ts:435
↓ 13 callersFunctioncompare
(field: string, oldVal: unknown, newVal: unknown)
packages/core/script/generate-friendli.ts:337
↓ 13 callersFunctioncompare
(field: string, oldVal: unknown, newVal: unknown)
packages/core/script/generate-digitalocean.ts:560
↓ 13 callersFunctiondescribeModel
(model: DescriptionInput)
packages/core/src/describe.ts:24
↓ 12 callersFunctionformatNumber
(n: number)
packages/core/src/sync/index.ts:707
↓ 11 callersFunctionwrite
(root: string, file: string, content: string)
packages/core/test/generate.test.ts:18
↓ 10 callersFunctionformatNumber
(value?: number)
packages/web/src/shared.ts:43
↓ 9 callersFunctionfactorBaseModel
( modelID: string, values: Partial<SyncedFullModel>, limit: SyncedFullModel["limit"], existingOmit?: s
packages/core/src/sync/providers/openrouter.ts:320
↓ 8 callersFunctionnormalizeSearchText
(value: string)
packages/web/src/index.ts:108
↓ 7 callersFunctionaddPage
(route: string, page: RenderedPage)
packages/web/src/render.tsx:416
↓ 7 callersFunctionformatInteger
(n: number)
packages/core/src/sync/index.ts:703
↓ 7 callersFunctiongenerate
(directory: string)
packages/core/src/generate.ts:61
↓ 7 callersFunctionresolveCanonicalBaseModel
(openrouterID: string)
packages/core/src/sync/providers/openrouter.ts:290
↓ 6 callersFunctionrenderPage
( active: ActiveSection, content: unknown, metadata: PageMetadata = DEFAULT_PAGE_METADATA, )
packages/web/src/render.tsx:461
↓ 6 callersFunctionsortNumber
(value?: number)
packages/web/src/shared.ts:90
↓ 5 callersFunctionbuildOpenRouterModel
( model: OpenRouterModel, existing: ExistingModel | undefined, baseModel?: string, )
packages/core/src/sync/providers/openrouter.ts:160
↓ 5 callersFunctioncloseMobileMenu
(restoreFocus = true)
packages/web/src/index.ts:462
↓ 5 callersFunctioncloseSearchModal
()
packages/web/src/index.ts:430
↓ 5 callersFunctioncopyModelAlias
(directory: string, from: string, to: string)
packages/core/script/compare-model-migrations.ts:150
↓ 5 callersFunctionformatToml
(model: z.infer<typeof SyncedAuthoredModel>)
packages/core/src/sync/index.ts:735
↓ 5 callersFunctiongenerateCatalog
(directory: string)
packages/core/src/generate.ts:23
↓ 5 callersFunctionisPlainObject
(value: unknown)
packages/core/src/sync/providers/openrouter.ts:415
↓ 5 callersFunctionmodelHref
(id: string)
packages/web/src/render.tsx:1650
↓ 5 callersFunctionprice
(value: string | undefined)
packages/core/src/sync/providers/openrouter.ts:125
↓ 5 callersFunctionstring
(value: string | undefined)
packages/function/src/worker.ts:191
↓ 4 callersFunctiondateFromTimestamp
(timestamp: number)
packages/core/src/sync/providers/llmgateway.ts:75
↓ 4 callersFunctiondisplayModelName
(entry: ProviderModelEntry)
packages/web/src/render.tsx:1576
↓ 4 callersFunctionformatDecimal
(n: number)
packages/core/script/generate-wandb.ts:152
↓ 4 callersFunctionlabHref
(id: string)
packages/web/src/render.tsx:1658
↓ 4 callersFunctionnormalize
(value: string)
packages/core/src/sync/providers/venice.ts:235
↓ 4 callersFunctionopenRouterModel
(overrides: Partial<OpenRouterModel> = {})
packages/core/test/sync.test.ts:318
↓ 4 callersFunctionperMTok
(price: string)
packages/core/script/generate-ambient.ts:69
↓ 4 callersFunctionplural
(count: number, singular: string, pluralForm = `${singular}s`)
packages/web/src/render.tsx:612
↓ 4 callersFunctionprice
(value: string | number | undefined)
packages/core/src/sync/providers/baseten.ts:93
↓ 4 callersFunctionprice
(value: string | undefined)
packages/core/src/sync/providers/vercel.ts:182
↓ 4 callersFunctionprice
(value: string | undefined)
packages/core/src/sync/providers/ovhcloud.ts:66
↓ 4 callersFunctionpriceToPerMillion
(value: string)
packages/core/script/generate-wandb.ts:156
↓ 4 callersFunctionproviderToml
(name: string)
packages/core/test/generate.test.ts:302
↓ 4 callersFunctionstable
(value: unknown)
packages/core/src/sync/index.ts:611
↓ 3 callersFunctionbaseModel
(overrides: Partial<AuthoredModelData>)
packages/core/test/schema.test.ts:34
↓ 3 callersFunctionboolFromParams
(params: string[] | undefined, keys: string[])
packages/core/script/generate-helicone.ts:80
↓ 3 callersFunctionbuildLLMGatewayModel
( model: LLMGatewayModel, existing: ExistingModel | undefined, )
packages/core/src/sync/providers/llmgateway.ts:127
↓ 3 callersFunctioncloseDialog
()
packages/web/src/index.ts:79
↓ 3 callersFunctioncompactMetadataDescription
(parts: Array<string | undefined>, maxLength: number)
packages/web/src/render.tsx:572
↓ 3 callersFunctioncopyFromEventTarget
(target: EventTarget | null)
packages/web/src/index.ts:729
↓ 3 callersFunctioncopyValue
(button: HTMLButtonElement, value: string)
packages/web/src/index.ts:688
↓ 3 callersFunctioncostSummary
(input?: number, output?: number)
packages/web/src/shared.ts:73
↓ 3 callersFunctiondefaultModalities
(model: LLMGatewayModel)
packages/core/src/sync/providers/llmgateway.ts:273
↓ 3 callersFunctionfactSentence
(values: Array<string | undefined>, prefix = "Includes")
packages/web/src/render.tsx:601
↓ 3 callersFunctionfetchTypedModels
(key: string, endpoint: string)
packages/core/src/sync/providers/xai.ts:110
↓ 3 callersFunctionformatNumber
(n: number)
packages/core/script/generate-friendli.ts:91
↓ 3 callersFunctionformatNumber
(n: number)
packages/core/script/generate-wandb.ts:145
↓ 3 callersFunctionformatNumber
(n: number)
packages/core/script/generate-digitalocean.ts:309
↓ 3 callersFunctionmodelFileName
(modelName: string)
packages/core/script/generate-ollama-cloud.ts:30
↓ 3 callersFunctionmodelMetadataToml
()
packages/core/test/generate.test.ts:310
↓ 3 callersFunctionnonZeroPrice
(value: string | undefined)
packages/core/src/sync/providers/llmgateway.ts:89
↓ 3 callersFunctionparseCloudflareModels
(raw: unknown)
packages/core/src/sync/providers/cloudflare-workers-ai.ts:177
↓ 3 callersFunctionprice
(value: string | undefined)
packages/core/src/sync/providers/llmgateway.ts:79
↓ 3 callersFunctionproviderHref
(id: string)
packages/web/src/render.tsx:1654
↓ 3 callersFunctionsetActiveSearchIndex
(index: number)
packages/web/src/index.ts:378
↓ 3 callersFunctionsortDate
(value?: string)
packages/web/src/shared.ts:86
↓ 3 callersFunctionsortModels
(models: ModelEntry[])
packages/web/src/render.tsx:1560
↓ 3 callersFunctiontokenPrice
(value: number | undefined)
packages/core/src/sync/providers/xai.ts:136
↓ 3 callersMethodtranslateModel
( model: SourceModel, context: { existing(id: string): ExistingModel | undefined; authored
packages/core/src/sync/index.ts:64
↓ 3 callersFunctionweightsText
(value?: boolean)
packages/web/src/shared.ts:51
↓ 3 callersFunctionwithFixture
(callback: (root: string) => Promise<T>)
packages/core/test/generate.test.ts:9
↓ 2 callersFunctionaggregateProviders
(model: HuggingFaceModel)
packages/core/src/sync/providers/huggingface.ts:138
↓ 2 callersFunctionappendHighlightedText
( element: HTMLElement, text: string, query: string, )
packages/web/src/index.ts:226
↓ 2 callersFunctioncapabilitySummary
(capabilities: Array<[string, boolean | undefined]>)
packages/web/src/shared.ts:78
↓ 2 callersFunctionclosestSearchResult
(target: EventTarget | null)
packages/web/src/index.ts:437
↓ 2 callersFunctioncopyModelAliasWithReplacements
( directory: string, from: string, to: string, replacements: Array<[RegExp, string]>, )
packages/core/script/compare-model-migrations.ts:154
↓ 2 callersFunctionescapeHtml
(value: string | number)
packages/web/src/shared.ts:15
↓ 2 callersFunctionfetchPage
(accountID: string, token: string, page: number)
packages/core/src/sync/providers/cloudflare-workers-ai.ts:160
↓ 2 callersFunctionfilterOutputModalities
(raw: string[])
packages/core/script/generate-digitalocean.ts:300
↓ 2 callersFunctionflag
(name: string)
packages/core/script/generate-databricks.ts:25
↓ 2 callersFunctionformatCost
(cost?: number)
packages/web/src/shared.ts:39
↓ 2 callersFunctionformatNumber
(n: number)
providers/jiekou/scripts/generate-models.ts:146
↓ 2 callersFunctionformatReasoningValue
(value: string | null)
packages/core/src/sync/index.ts:711
↓ 2 callersFunctionformatValue
(val: unknown)
packages/core/script/generate-friendli.ts:349
↓ 2 callersFunctionformatValue
(value: unknown)
packages/core/script/generate-wandb.ts:391
↓ 2 callersFunctionformatValue
(val: unknown)
packages/core/script/generate-digitalocean.ts:547
↓ 2 callersFunctiongenerateModels
(directory: string)
packages/core/src/generate.ts:33
↓ 2 callersFunctiongenerateProviders
( directory: string, models: Record<string, ModelMetadata>, )
packages/core/src/generate.ts:68
↓ 2 callersFunctiongetAllExistingFiles
( modelsDir: string )
providers/jiekou/scripts/generate-models.ts:304
↓ 2 callersFunctiongetCellSortValue
(row: HTMLTableRowElement, index: number)
packages/web/src/index.ts:543
↓ 2 callersFunctiongetExistingLongContextCost
(existing: ExistingModel | null)
packages/core/script/generate-digitalocean.ts:328
↓ 2 callersFunctiongetTodayDate
()
packages/core/script/generate-digitalocean.ts:305
↓ 2 callersFunctionidentityTokens
(value: string)
packages/core/src/sync/providers/cloudflare-workers-ai.ts:156
↓ 2 callersFunctioninferFamily
(modelID: string, name: string)
packages/core/src/sync/providers/vercel.ts:204
↓ 2 callersFunctioninferFamily
(model: LLMGatewayModel, name: string)
packages/core/src/sync/providers/llmgateway.ts:111
↓ 2 callersFunctioninferFamily
(id: string, name: string)
packages/core/src/sync/providers/venice.ts:243
↓ 2 callersFunctioninferFamily
(id: string, name: string)
packages/core/src/sync/providers/chutes.ts:219
↓ 2 callersFunctionisSubstring
(target: string, family: string)
packages/core/script/generate-wandb.ts:160
↓ 2 callersFunctionlabLogoHref
(labId: string)
packages/web/src/render.tsx:1666
↓ 2 callersFunctionlabName
(labId: string)
packages/web/src/render.tsx:1633
next →1–100 of 418, ranked by callers