Locul / Setup guides / Scaleway
Setup guide: in your country

Scaleway Generative APIs: set up a Paris-hosted model in 10 minutes

Scaleway Generative APIs serve open models from Paris through an OpenAI-compatible API. Here is how to get the key, test it and connect it to Locul.

Quick answer

Create a key in the Scaleway console under IAM & API keys > API keys > Generate API key, and copy the secret key, which is shown once. The base URL is https://api.scaleway.ai/v1. Test it with a curl call to /chat/completions and the model glm-5.3. In Locul, open Settings > Model > Open models, pick Scaleway, paste the key and press Test. Scaleway runs these models in Paris and applies zero data retention by default.

Prompts stay in FranceUpdated By Junaid Khalid8 min read
YOUR OFFICE FRANCE HTTPS + YOUR KEY ZERO RETENTION LoculDESKTOP APP ON YOUR MAC Scaleway APIAPI.SCALEWAY.AI/V1 Paris data centreFR-PAR, FRANCE YOUR OFFICE FRANCE HTTPS + YOUR KEY ZERO RETENTION LoculDESKTOP APP ON YOUR MAC Scaleway APIAPI.SCALEWAY.AI/V1 Paris data centreFR-PAR, FRANCE
Prompts go from your Mac to Scaleway's Paris region and back. Scaleway does not keep them by default.

Who is Scaleway Generative APIs a good fit for?

Scaleway suits firms that want open models run by a French cloud in Paris, with prompts not kept and not used for training.

Scaleway is a French cloud provider, part of the Iliad group. Its Generative APIs are a serverless service: you pay per use, there is no server to manage, and the API speaks the same format as OpenAI's, so Locul talks to it directly. Generative APIs run in one region today, Paris (fr-par). Scaleway has other regions such as Amsterdam and Warsaw for its other products, but not for Generative APIs.

"By default we apply a Zero Data Retention Policy"

Scaleway docs, Generative APIs data privacy

The same page says Scaleway does not read or reuse your prompts and answers, and that they are not used to train models. The one exception: if a request harms the service, Scaleway may keep data for up to two weeks to investigate and fix the issue.

"Your data is not used for training, retraining, or improving the base models."

Scaleway docs, Generative APIs data privacy
The six in-country providers in Locul, from their own docs. Prices change, so each provider's pricing page is linked from its guide.
ProviderCountryWhere prompts runPrompts kept?Used for training?Pick in Locul
Scaleway (this guide)FranceParis (fr-par)Not kept by defaultNoGLM-5.3
Mistral AIFranceEU endpoint, api.eu.mistral.aiZero retention on requestFree plan may; opt out or use a paid planMistral Medium 3.5
OVHcloudFranceGravelinesNot storedNot stated; data not stored or sharedQwen3.5 397B
IONOSGermanyBerlinNever loggedNoQwen3.5 397B
InfomaniakSwitzerlandSwiss data centresNot recordedNoQwen3.5 397B
OpperSwedenStockholm gateway, EU model routesUsage metadata onlyNoDeepSeek V4 Pro (TensorX, EU)

How do I create a Scaleway API key?

Open the Scaleway console, go to IAM & API keys, generate a key and copy the secret key before you close the window.

  1. Sign in to the console

    Go to console.scaleway.com. A new account needs a payment method and a verified identity before Generative APIs answer.

  2. Open IAM & API keys

    Click your organisation name in the top-right drop-down and choose IAM & API keys, then the API keys tab.

  3. Generate the key

    Click + Generate API key. Choose the bearer (yourself, or an IAM application if you want a key that is not tied to one person), add a description such as "Locul, Camille's Mac", and pick an expiry. When asked about Object Storage, you can skip it. Click Generate API key.

  4. Copy the secret key

    Scaleway shows an Access Key ID (starts with SCW) and a Secret Key. Locul needs the Secret Key. Scaleway calls this screen your only chance to save it, so paste it straight into Locul or your password manager.

Try a model first. In the console, the AI section > Generative APIs lists every serverless model with a Try model playground, handy for a first look before you connect Locul.

What is the Scaleway Generative APIs base URL?

The base URL is https://api.scaleway.ai/v1, and the chat endpoint is /chat/completions under it.

Run this from a terminal to check the key before you open Locul. Replace the placeholder with your secret key.

bash
# paste your key into the variable first, never into a shared file
$ export SCW_SECRET_KEY="paste-your-key-here"
$ curl https://api.scaleway.ai/v1/chat/completions \
    -H "Authorization: Bearer $SCW_SECRET_KEY" \
    -H 'Content-Type: application/json' \
    -d '{"model":"glm-5.3","messages":[{"role":"user","content":"Reply with one word: ready"}]}'

A working key returns JSON with a choices list:

json, shortened
{"object":"chat.completion","model":"glm-5.3",
 "choices":[{"index":0,"message":{"role":"assistant","content":"Ready"},"finish_reason":"stop"}],
 "usage":{...}}

A 401 means the key is wrong, and a 404 on the model usually means a typo in the model name. The errors table below covers both.

Which Scaleway model should I pick in Locul?

Pick GLM-5.3: it has a 256k-token context window and handles the tool calls Locul's bots use to read files and memory.

Scaleway Generative APIs models in Locul, from Scaleway's supported models page
Model IDContextUse it for
glm-5.3256k tokensRecommended. Long contracts, many files at once, bots with tools
qwen3.5-397b-a17b250k tokensA strong second choice; try it if GLM-5.3 phrasing does not suit you
mistral-medium-3.5-128b180k tokensA French-made model, in preview at Scaleway
glm-5.2Retiring on 16 November 2026, then routed to GLM-5.3. Do not start on it

Scaleway also hosts gpt-oss-120b, but tool calls for it only work through its Responses API, not chat completions, so Locul keeps it out of the main list.

How do I add Scaleway to Locul?

Open Settings > Model > Open models, pick Scaleway under In your region, paste the secret key and press Test.

  1. Open Settings, then Model

    In the Locul desktop app, open Settings and choose Model.

  2. Choose Open models

    Pick Open models (marked Recommended), then find Scaleway under In your country. Each row shows where the provider runs and whether it trains on your data.

  3. Pick the model

    Under Model, choose GLM-5.3. Locul tags it Recommended.

  4. Paste the key

    Under Access key, paste the key into the field and press Save and test. The Get a key link opens the right page at Scaleway if you have not made one yet.

  5. Run the connection check

    Under Connection check, press Test. Ready means chat and tools both work. Ready with limits means the model can chat but could not use tools in the check, so pick another model for bots that read files.

Where the key lives. Locul saves it in your Mac's Keychain. It never shows the key again and sends it nowhere except Scaleway.

Why does the Scaleway connection check fail?

Almost always because the Access Key ID was pasted instead of the Secret Key, or the account has no payment method yet.

The message Locul shows, what the provider sent back, and the fix
CodeLocul saysWhat to do
401"Scaleway did not accept your access key."Paste the Secret Key, not the Access Key ID that starts with SCW. If the secret is lost, generate a new key; Scaleway cannot show it again.
404"Scaleway does not offer glm-5.3 for your account."Check the model is still listed on Scaleway's supported models page. Retired models such as glm-5.2 after 16 November 2026 stop working.
402"Scaleway says your account has no credit left."Add or fix the payment method in the console under Billing, and finish identity checks if Scaleway asks for them.
429"Scaleway is asking us to slow down."Generative APIs have per-model rate limits. Wait a minute and press Test again, or ask Scaleway support to raise the limit for your organisation.
No answer"Could not reach Scaleway."Your network blocks api.scaleway.ai. Ask IT to allow HTTPS to that address.
Format"That does not look like a whole access key."The key is one long line with no spaces. Copy it again in one go, without a line break at the end.

What does a real request on Scaleway look like?

A messy, everyday job with client names in it, the kind of work this setup is for.

Here is the sort of message an associate at a Lyon law firm might send to a Locul bot running on Scaleway:

From Camille, associate, avocats, LyonPrompt
Ok so the Dubreuil file again. Can you go through the 3 PDFs from the client (the bail commercial, the avenant n°2 and that scanned letter from the bailleur that's half sideways) and tell me if the indexation clause in the avenant actually overrides the original one or just sits next to it?? Maître Roux says override, I'm not so sure. Answer in English, but quote the French clauses as they are, don't translate them. Also flag if the ILC vs ICC thing changed between the two because I think someone copy-pasted the 2019 template. Need it before 16h, he's seeing the client at 17h.

The lease, the amendment and the landlord's letter are processed in Paris and not kept afterwards. The bot answers in English and leaves the French clauses as they are.

How fast and how good is Scaleway in Locul?

We are timing real office tasks on Scaleway with the recommended model, and the results will be published here.

Results coming

Response times, tool use and answer quality on real office tasks, measured on Scaleway. Coming soon.

What other in-country providers work with Locul?

Five more EU and Swiss providers, each with its own guide.

Frequently asked questions

Is Scaleway Generative APIs free?

Scaleway gives new accounts some free usage to start, then charges per million tokens. Rates change, so check Scaleway's pricing page for current figures.

What is a generative API?

It is a web address you send text to and get generated text back from, without running the model yourself. Scaleway Generative APIs host open models such as GLM-5.3 and Qwen3.5 and charge for what you use.

Does Scaleway keep my prompts?

No, not by default. Scaleway applies a zero data retention policy to Generative APIs. It may keep data for up to two weeks only if a request harms the service and needs investigating.

Can I use Scaleway Generative APIs in Amsterdam?

Not today. Generative APIs run only in the Paris region, fr-par. Scaleway's Amsterdam and Warsaw regions host other products.

Is the Scaleway API compatible with OpenAI?

Yes. It follows the OpenAI chat completions format at https://api.scaleway.ai/v1, so any OpenAI-compatible app, Locul included, can use it with a Scaleway key.

Sources

Every command and quote on this page comes from these primary sources, checked on 24 October 2026.

  1. Scaleway docs: Generative APIs data privacy
  2. Scaleway docs: Supported models
  3. Scaleway docs: Create API keys
  4. Scaleway docs: Generative APIs quickstart
  5. Scaleway: Generative APIs pricing
  6. Z.ai: GLM-5.3 model card
  7. CNIL: French data protection authority
  8. EUR-Lex: General Data Protection Regulation
Junaid Khalid
LOCAL-FIRST AI SPECIALIST

Junaid builds Locul and sets up private AI for small regulated firms. He tests every command on this page on his own machines before it ships.

Other setup paths

In-country Locul

Put a Paris-hosted model behind every bot

Download Locul, paste your Scaleway key and your bots answer from France. Or email us and we set it up with you.