For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
DocsAPI ReferenceClient SDKsAgent SDKCookbookChangelog
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
  • Python SDK
    • Overview
      • Analytics
      • APIKeys
      • Byok
      • Chat
        • BYOKProviderSlug
      • Credits
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
      • OAuth
      • Observability
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • Go SDK
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
LogoLogo
ModelsChatRankingsDocs
On this page
  • Values
Python SDKAPI ReferenceComponents

BYOKProviderSlug - Python SDK

BYOKProviderSlug method reference
Was this page helpful?
Previous

Credits - Python SDK

Credits method reference
Next
Built with

The Python SDK and docs are currently in beta. Report issues on GitHub.

The upstream provider this credential authenticates against, as a lowercase slug (e.g. openai, anthropic, amazon-bedrock).

Values

NameValue
AI21ai21
AION_LABSaion-labs
AKASHMLakashml
ALIBABAalibaba
AMAZON_BEDROCKamazon-bedrock
AMAZON_NOVAamazon-nova
AMBIENTambient
ANTHROPICanthropic
ARCEE_AIarcee-ai
ATLAS_CLOUDatlas-cloud
AVIANavian
AZUREazure
BAIDUbaidu
BASETENbaseten
BLACK_FOREST_LABSblack-forest-labs
BYTEPLUSbyteplus
CEREBRAScerebras
CHUTESchutes
CIRRASCALEcirrascale
CLARIFAIclarifai
CLOUDFLAREcloudflare
COHEREcohere
CRUSOEcrusoe
DEEPINFRAdeepinfra
DEEPSEEKdeepseek
DEKALLMdekallm
FEATHERLESSfeatherless
FIREWORKSfireworks
FRIENDLIfriendli
GMICLOUDgmicloud
GOOGLE_AI_STUDIOgoogle-ai-studio
GOOGLE_VERTEXgoogle-vertex
GROQgroq
HYPERBOLIChyperbolic
INCEPTIONinception
INCEPTRONinceptron
INFERENCE_NETinference-net
INFERMATICinfermatic
INFLECTIONinflection
IO_NETio-net
IONSTREAMionstream
LIQUIDliquid
MANCERmancer
MARAmara
MINIMAXminimax
MISTRALmistral
MODELRUNmodelrun
MODULARmodular
MOONSHOTAImoonshotai
MORPHmorph
NCOMPASSncompass
NEBIUSnebius
NEX_AGInex-agi
NEXTBITnextbit
NOVITAnovita
NVIDIAnvidia
OPEN_INFERENCEopen-inference
OPENAIopenai
PARASAILparasail
PERCEPTRONperceptron
PERPLEXITYperplexity
PHALAphala
POOLSIDEpoolside
RECRAFTrecraft
REKAreka
RELACErelace
SAMBANOVAsambanova
SEEDseed
SILICONFLOWsiliconflow
SOURCEFULsourceful
STEPFUNstepfun
STREAMLAKEstreamlake
SWITCHPOINTswitchpoint
TOGETHERtogether
UPSTAGEupstage
VENICEvenice
WANDBwandb
XAIxai
XIAOMIxiaomi
Z_AIz-ai