Skip to content

Commit e2cbfff

Browse files
committed
fix(genai): responses api
1 parent e2a40e9 commit e2cbfff

File tree

4 files changed

+26
-7
lines changed

4 files changed

+26
-7
lines changed

pages/generative-apis/faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ No, you cannot increase maximum output tokens above [limits for each models](/ge
4040
These limits are in place to protect you against:
4141
- Long generation which may be ended by an HTTP timeout. Limits are designed to ensure a model will send its HTTP response in less than 5 minutes.
4242
- Uncontrolled billing, as several models are known to be able to enter infinite generation loops (specific prompts can make the model generate the same sentence over and over, without stopping at all).
43-
If you require higher maximum output tokens, you can use [Managed Inference](https://console.scaleway.com/inference/deployments) where these limts do not apply (as your bill will be limited by the size of your deployment).
43+
If you require higher maximum output tokens, you can use [Managed Inference](https://console.scaleway.com/inference/deployments) where these limits do not apply (as your bill will be limited by the size of your deployment).
4444

4545
### Can I use OpenAI libraries and APIs with Scaleway's Generative APIs?
4646
Yes, Scaleway's Generative APIs are designed to be compatible with OpenAI libraries and SDKs, including the OpenAI Python client library and LangChain SDKs. This allows for seamless integration with existing workflows.

pages/generative-apis/how-to/query-language-models.mdx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Scaleway's Generative APIs service allows users to interact with powerful langua
1313

1414
There are several ways to interact with language models:
1515
- The Scaleway [console](https://console.scaleway.com) provides complete [playground](/generative-apis/how-to/query-language-models/#accessing-the-playground), aiming to test models, adapt parameters, and observe how these changes affect the output in real-time.
16-
- Via the [Chat API](/generative-apis/how-to/query-language-models/#querying-language-models-via-api)
16+
- Via the [Chat Completions API](https://www.scaleway.com/en/developers/api/generative-apis/#path-chat-completions-create-a-chat-completion) or the [Responses API](https://www.scaleway.com/en/developers/api/generative-apis/#path-responses-beta-create-a-response)
1717

1818
<Requirements />
1919

@@ -39,7 +39,22 @@ The web playground displays.
3939

4040
## Querying language models via API
4141

42-
The [Chat API](/generative-apis/api-cli/using-chat-api/) is an OpenAI-compatible REST API for generating and manipulating conversations.
42+
Both the [Chat Completions API](https://www.scaleway.com/en/developers/api/generative-apis/#path-chat-completions-create-a-chat-completion) and the [Responses API](https://www.scaleway.com/en/developers/api/generative-apis/#path-responses-beta-create-a-response) are an OpenAI-compatible REST APIs for generating and manipulating conversations.
43+
44+
### Chat Completions API or Responses API?
45+
46+
The table below compares the Chat Completions API to the Responses API. TODO CONTINUE HERE
47+
48+
| Aspect | Responses API | Chat Completions API |
49+
|-------------------------|------------------------------------------------|-----------------------------------------|
50+
| **Description | Unified API for model responses (successor to Chat + Assistants). Offers tool-calling by built-in tools (e.g. web or file search) while the model generates a responses, though currently only `function` tools are supported by Scaleway. | Older API for chat-style completions. Offers only `function` tool-calling. |
51+
| **Status** | Beta | GA |
52+
| **Endpoint** | `/v1/{project_id}/responses` | `/v1/{project_id}/chat/completions` |
53+
| **Use cases** | Agentic apps, tool-augmented workflows, multi-step tasks, future-proof apps | Simple chatbots, Q&A, summarization, stateless interactions |
54+
| **Features** | - Plain chat completions<br>- Tool calling (Code Interpreter, image gen, file search, web search)<br>- MCP tool integration<br>- Background mode<br>- Reasoning summaries | - Plain chat completions only<br>- Function calling (basic tool use)<br>- No MCP, no background mode, no reasoning summaries |
55+
56+
| **Long-term support** | Future standard API (will replace Chat & Assistants) | Maintained for now, EOL expected mid-2026 |
57+
| **Complexity** | More powerful but requires newer SDK methods (`client.responses.create`) | Simpler, lighter (`client.chat.completions.create`) |
4358

4459
You can query the models programmatically using your favorite tools or languages.
4560
In the following example, we will use the OpenAI Python client.

pages/generative-apis/index.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ description: Dive into Scaleway Generative APIs with our quickstart guides, how-
4444
/>
4545
</Grid>
4646

47+
<ClickableBanner
48+
productLogo="cli"
49+
title="Generative APIs Developer Reference"
50+
description="Developer reference documentation for Scaleway Generative APIs."
51+
url="https://www.scaleway.com/en/developers/api/generative-apis/"
52+
label="Go to Generative APIs"
53+
/>
54+
4755
## Changelog
4856

4957
<ChangelogList

pages/generative-apis/quickstart.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ No need to configure hardware or deploy your own models.
1414

1515
Hosted in European data centers and priced competitively per million tokens used, these APIs enable efficient and scalable integration of AI capabilities into your applications.
1616

17-
<Message type="important">
18-
This service is free while in beta. [Specific terms and conditions](https://www.scaleway.com/en/contracts/) apply.
19-
</Message>
20-
2117
<Requirements />
2218

2319
- A Scaleway account logged into the [console](https://console.scaleway.com)

0 commit comments

Comments
 (0)