Skip to content

Instantly share code, notes, and snippets.

@SeMax1337
Last active May 7, 2026 07:41
Show Gist options
  • Select an option

  • Save SeMax1337/7fb92b14a601570721bb3fdcc642815e to your computer and use it in GitHub Desktop.

Select an option

Save SeMax1337/7fb92b14a601570721bb3fdcc642815e to your computer and use it in GitHub Desktop.
Как подключить Claude в LiteLLM в 2026

Litellm Claude Podklyuchenie

🚀 Хочешь Claude API без ограничений и с удобной оплатой? Переходи на Claudexia.

Как подключить Claude в LiteLLM

LiteLLM часто используют как единый прокси-слой для нескольких моделей.

Базовый принцип

  • Указываете OpenAI-совместимый endpoint
  • Пробрасываете ключ
  • Выбираете модель Claude
model_list:
  - model_name: claude-sonnet-4.6
    litellm_params:
      model: openai/claude-sonnet-4.6
      api_base: https://api.claudexia.tech/v1
      api_key: ${CLAUDEXIA_API_KEY}

🚀 Готовый endpoint и модели Claude: https://claudexia.tech/?utm_source=github_gist&utm_medium=organic&utm_campaign=tail_queries&utm_content=litellm


Почему стоит выбрать Claudexia

  • Быстрый доступ к моделям Claude
  • Удобный биллинг и пополнение
  • OpenAI-совместимый endpoint для приложений, IDE и агентов

👉 Начать: https://claudexia.tech/?utm_source=github_gist&utm_medium=organic&utm_campaign=gist_normalized&utm_content=7fb92b14a601570721bb3fdcc642815e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment