The AI landscape is expanding at an extraordinary pace, and we’re excited to announce that Scaleway is now officially a supported Inference Provider on the Hugging Face Hub! This development enriches our ecosystem, allowing users to easily leverage serverless inference directly from the model pages on the Hub.
With the addition of Scaleway, users can access a broad spectrum of popular open-weight models, including the likes of gpt-oss, Qwen3, DeepSeek R1, and Gemma 3, all in one seamless experience. For those looking to explore Scaleway’s offerings, check out their dedicated page on the Hub at Scaleway on Hugging Face and dive into trending models at trending models.
What is Scaleway Generative API?
Scaleway Generative APIs is a fully managed and serverless service that gives users easy access to cutting-edge AI models from top research labs through straightforward API calls. Pricing is competitive, starting at just €0.20 per million tokens, which makes it accessible for both individual developers and enterprise users alike.
Data Sovereignty and Infrastructure
One of the standout features of Scaleway is its commitment to data sovereignty. The service operates on a secure infrastructure located in European data centers, particularly in Paris, France. This ensures low latency for European users and compliance with local regulations.
Performance and Features
Built with production use in mind, Scaleway’s inference infrastructure boasts impressive performance metrics, delivering sub-200ms response times for first tokens. This makes it a suitable choice for various applications, whether they need quick responses or complex agentic workflows. Support for both text generation and embedding models means that developers have a robust toolset at their fingertips.
How to Use Scaleway in the Hugging Face Hub
In the Website UI
-
In your account settings, you can:
- Set your own API keys for the providers you’ve signed up with. If you don’t set a custom key, your requests will be routed through Hugging Face.
- Order the providers by preference, which will affect the widget and code snippets on the model pages.
- There are two modes for calling Inference Providers:
- Custom Key: This mode allows you to call directly using your own API key from the corresponding inference provider.
- Routed by HF: In this scenario, you don’t need a token from the provider, and charges will be applied directly to your Hugging Face account.
- Model pages on the Hub display compatible third-party inference providers sorted by user preference, which streamlines your user experience.
From the Client SDKs
Using Python with huggingface_hub
Here’s an example of how to use the pioneering Swiss AI’s Apertus-70B with Scaleway as the inference provider:
import os
from huggingface_hub import InferenceClient
client = InferenceClient(
provider="scaleway",
api_key=os.environ["HF_TOKEN"],
)
messages = [
{
"role": "user",
"content": "Write a poem in the style of Shakespeare"
}
]
completion = client.chat.completions.create(
model="openai/gpt-oss-120b",
messages=messages,
)
print(completion.choices[0].message)
Using JavaScript with @huggingface/inference
import { InferenceClient } from "@huggingface/inference";
const client = new InferenceClient(process.env.HF_TOKEN);
const chatCompletion = await client.chatCompletion({
model: "openai/gpt-oss-120b",
messages: [
{
role: "user",
content: "Write a poem in the style of Shakespeare",
},
],
provider: "scaleway",
});
console.log(chatCompletion.choices[0].message);
Understanding Scaleway’s Billing Structure
Billing for this service is straightforward:
- If you make direct requests using an API key from an inference provider, you’ll be billed according to that provider’s rates.
- For routed requests authenticated via Hugging Face, you’ll only incur the standard provider API rates, allowing you to sidestep any additional markup from Hugging Face.
For PRO users: Each month, you receive $2 worth of Inference credits that can be used across various providers. The PRO subscription also offers enhanced features, such as ZeroGPU access, Spaces Dev Mode, and significantly increased limits.
For free users, there is a small quota available for inference, providing a taste of what the full capabilities can deliver. We highly encourage upgrading to PRO for an optimized experience!
Your Feedback Matters
We’re eager to hear your thoughts and suggestions! Feel free to share your feedback by visiting this discussion thread.
Inspired by: Source

