any-llm-ts
Providers

Providers

Registered providers, environment variables, and capability metadata generated from the library.

The registry contains native adapters for Anthropic, OpenAI, and Azure OpenAI, plus a data-driven set of OpenAI-compatible providers. The table below is generated from AnyLLM.getAllProviderMetadata() during development and checked for drift in CI.

ProviderEnvironment variableChatStreamEmbedResponsesVisionReasoning
anthropicANTHROPIC_API_KEYSupportedSupportedNot supportedNot supportedSupportedSupported
atlascloudATLASCLOUD_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
azureopenaiAZURE_OPENAI_API_KEYSupportedSupportedSupportedSupportedSupportedSupported
cascadiaCASCADIA_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
cerebrasCEREBRAS_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
dashscopeDASHSCOPE_API_KEYSupportedSupportedSupportedNot supportedSupportedNot supported
databricksDATABRICKS_TOKENSupportedSupportedSupportedNot supportedNot supportedSupported
deepinfraDEEPINFRA_API_KEYSupportedSupportedSupportedNot supportedSupportedSupported
deepseekDEEPSEEK_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
edenaiEDENAI_API_KEYSupportedSupportedSupportedNot supportedNot supportedNot supported
fireworksFIREWORKS_API_KEYSupportedSupportedNot supportedSupportedSupportedSupported
gmiGMI_API_KEYSupportedSupportedNot supportedSupportedNot supportedSupported
groqGROQ_API_KEYSupportedSupportedNot supportedSupportedNot supportedSupported
inceptionINCEPTION_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
kenariKENARI_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
llamaLLAMA_API_KEYSupportedSupportedNot supportedNot supportedNot supportedNot supported
llamacppNot requiredSupportedSupportedSupportedNot supportedNot supportedSupported
llamafileNot requiredSupportedNot supportedNot supportedNot supportedNot supportedSupported
lmstudioLM_STUDIO_API_KEYSupportedSupportedSupportedNot supportedNot supportedSupported
minimaxMINIMAX_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
mistralMISTRAL_API_KEYSupportedSupportedSupportedNot supportedNot supportedSupported
moonshotMOONSHOT_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
nebiusNEBIUS_API_KEYSupportedSupportedSupportedNot supportedSupportedSupported
neosantaraNEOSANTARA_API_KEYSupportedSupportedSupportedSupportedSupportedSupported
ollamaNot requiredSupportedSupportedSupportedNot supportedSupportedSupported
openaiOPENAI_API_KEYSupportedSupportedSupportedSupportedSupportedSupported
openrouterOPENROUTER_API_KEYSupportedSupportedSupportedNot supportedSupportedSupported
perplexityPERPLEXITY_API_KEYSupportedSupportedNot supportedNot supportedSupportedNot supported
portkeyPORTKEY_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
qiniuQINIU_API_KEYSupportedSupportedSupportedNot supportedSupportedSupported
requestyREQUESTY_API_KEYSupportedSupportedSupportedNot supportedNot supportedSupported
sambanovaSAMBANOVA_API_KEYSupportedSupportedNot supportedNot supportedSupportedSupported
telnyxTELNYX_API_KEYSupportedSupportedNot supportedNot supportedSupportedSupported
togetherTOGETHER_API_KEYSupportedSupportedNot supportedNot supportedSupportedSupported
vllmVLLM_API_KEYSupportedSupportedSupportedNot supportedNot supportedSupported
xaiXAI_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported
zaiZAI_API_KEYSupportedSupportedNot supportedNot supportedNot supportedSupported

Read metadata at runtime

import { AnyLLM } from "any-llm-ts";

const names = AnyLLM.getSupportedProviders();
const openai = AnyLLM.getProviderMetadata("openai");
const everyProvider = AnyLLM.getAllProviderMetadata();

Each ProviderMetadata object includes:

  • the normalized provider name
  • the default apiBase, when one exists
  • the conventional envApiKey and envApiBase
  • whether an API key is required
  • the provider's documentation URL
  • conservative operation and feature capabilities

Adapter categories

AdapterProviders
Native Anthropic translationanthropic
Official OpenAI SDKopenai, azureopenai
OpenAI-compatible registryAll other rows in the table

Provider registration indicates API compatibility. It is not a claim that every provider, model, region, account tier, and operation is continuously tested with live credentials.

Not yet included

Native adapters for non-OpenAI-compatible services such as Gemini, Bedrock, Cohere, and Voyage are not part of the current port. Reranking is also not implemented. Until those adapters exist, the docs do not present those features as available.