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.
LogoLogo
ModelsChatRankingsDocs
DocsAPI ReferenceClient SDKsAgent SDKCookbook
DocsAPI ReferenceClient SDKsAgent SDKCookbook
    • Overview
    • Usage for Agents
  • TypeScript SDK
    • Overview
  • Python SDK
    • Overview
      • Analytics
      • APIKeys
      • Byok
      • Chat
      • Credits
      • Datasets
      • Embeddings
      • Endpoints
      • Generations
      • Guardrails
        • Models
        • RetryConfig
      • OAuth
      • Observability
      • Organization
      • Presets
      • Providers
      • Rerank
      • Beta.Responses
      • Transcriptions
      • Speech
      • VideoGeneration
      • Workspaces
  • Go SDK
  • DevTools
    • Overview
    • Migrating to @openrouter/agent
  • Overview
  • Usage for Agents
  • Overview
  • Analytics
  • APIKeys
  • Byok
  • Chat
  • Credits
  • Datasets
  • Embeddings
  • Endpoints
  • Generations
  • Guardrails
  • Models
  • OAuth
  • Observability
  • Organization
  • Presets
  • Providers
  • Rerank
  • Beta.Responses
  • Transcriptions
  • Speech
  • VideoGeneration
  • Workspaces
  • Overview
  • Analytics
  • APIKeys
  • Byok
  • Chat
  • Credits
  • Datasets
  • Embeddings
  • Endpoints
  • Generations
  • Guardrails
  • Models
  • OAuth
  • Observability
  • Organization
  • Presets
  • Providers
  • Rerank
  • Beta.Responses
  • Transcriptions
  • Speech
  • VideoGeneration
  • Workspaces
  • Analytics
  • APIKeys
  • Byok
  • Chat
  • Credits
  • Datasets
  • Embeddings
  • Endpoints
  • Generations
  • Guardrails
  • Models
  • OAuth
  • Observability
  • Organization
  • Presets
  • Providers
  • Rerank
  • Beta.Responses
  • Transcriptions
  • Speech
  • VideoGeneration
  • Workspaces
  • Overview
  • Migrating to @openrouter/agent
ModelsChatRankingsDocs
Python SDKAPI ReferenceModels

RetryConfig

Something went wrong!
Was this page helpful?
Previous

OAuth - Python SDK

OAuth method reference
Next
Built with