Provider - TypeScript SDK
Provider - TypeScript SDK
Provider type definition
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Optional provider slug to filter by (e.g. openai, anthropic, amazon-bedrock).
Provider - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Optional provider slug to filter by (e.g. openai, anthropic, amazon-bedrock).
1 import { Provider } from "@openrouter/sdk/models/operations"; 2 3 let value: Provider = "openai"; 4 5 // Open enum: unrecognized values are captured as Unrecognized<string>
1 "ai21" | "aion-labs" | "akashml" | "alibaba" | "amazon-bedrock" | "amazon-nova" | "ambient" | "anthropic" | "arcee-ai" | "atlas-cloud" | "avian" | "azure" | "baidu" | "baseten" | "black-forest-labs" | "byteplus" | "cerebras" | "chutes" | "cirrascale" | "clarifai" | "cloudflare" | "cohere" | "crusoe" | "deepinfra" | "deepseek" | "dekallm" | "featherless" | "fireworks" | "friendli" | "gmicloud" | "google-ai-studio" | "google-vertex" | "groq" | "hyperbolic" | "inception" | "inceptron" | "inference-net" | "infermatic" | "inflection" | "io-net" | "ionstream" | "liquid" | "mancer" | "mara" | "minimax" | "mistral" | "modelrun" | "modular" | "moonshotai" | "morph" | "ncompass" | "nebius" | "nex-agi" | "nextbit" | "novita" | "nvidia" | "open-inference" | "openai" | "parasail" | "perceptron" | "perplexity" | "phala" | "poolside" | "recraft" | "reka" | "relace" | "sambanova" | "seed" | "siliconflow" | "sourceful" | "stepfun" | "streamlake" | "switchpoint" | "together" | "upstage" | "venice" | "wandb" | "xai" | "xiaomi" | "z-ai" | Unrecognized<string>