Skip to content

Add support for Nscale (EU-Sovereign) Provider #10638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 8, 2025

Conversation

tomukmatthews
Copy link
Contributor

@tomukmatthews tomukmatthews commented May 7, 2025

Adds support for Nscale (EU Sovereign) Provider.

NScale docs

NScale is a European-domiciled full-stack AI cloud platform that allows you to scale your workloads securely, sustainably and cost-effectively - without sacrificing control. It provides production-grade reliability for serverless deployments of LLMs with full data sovereignty and compliance baked in.

Key Features

  • EU Sovereign: Full data sovereignty and compliance with European regulations
  • Ultra-Low Cost (starting at $0.01 / M tokens): Extremely competitive pricing for both text and image generation models
  • Production Grade: Reliable serverless deployments with full isolation
  • No Setup Required: Instant access to compute without infrastructure management
  • Full Control: Your data remains private and isolated

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature
📖 Documentation
✅ Test

Changes

  • Adds support for Nscale (text and image generation) via openai compliant API
  • Adds documentation for the new provider
  • Adds unit tests
  • Small improvement to move a test asset from a module to a pytest fixture in a root conftest.py (doing this resolved a issues with running the actual unit tests).
Screenshot 2025-05-07 at 23 16 30 Screenshot 2025-05-07 at 23 16 45

Copy link

vercel bot commented May 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm 🛑 Canceled (Inspect) May 8, 2025 3:44pm

@CLAassistant
Copy link

CLAassistant commented May 7, 2025

CLA assistant check
All committers have signed the CLA.

@tomukmatthews
Copy link
Contributor Author

Tagging @ishaan-jaff and @krrishdholakia for review please!

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request to not make any changes around large text etc

"n",
"temperature",
"top_p",
]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting to update these until i hear back from the team on the latest openai params supported

@tomukmatthews tomukmatthews requested a review from ishaan-jaff May 8, 2025 15:47
Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ishaan-jaff ishaan-jaff merged commit ff279fa into BerriAI:main May 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants