Migrate from the DeepL API by changing one line
Point the official DeepL SDK for Python, Node, .NET, Java, PHP or Ruby at VibeQL. Your calls, field names and error handling stay the same.
· 4 min read
VibeQL answers the same requests as the DeepL API. The paths are the same (/v2/translate, /v2/document, /v2/usage, /v2/languages), the JSON field names are the same, and the error codes are the same: 403 for a bad key, 456 when the quota runs out, 413 for a file that is too large.
So you do not need a new SDK. Every official DeepL client library has an option for the server URL. Set it to https://vibeql.com, use a VibeQL API key, and keep the rest of your code.
The one line, in each language
The examples translate text and a document to Brazilian Portuguese. Only the client setup changes. The calls under it are the normal SDK calls.
import os
import deepl
client = deepl.DeepLClient(
os.environ["VIBEQL_API_KEY"],
server_url="https://vibeql.com",
)
result = client.translate_text("Hello, world", target_lang="PT-BR")
print(result.text)
client.translate_document_from_filepath(
"report.docx", "report.pt-BR.docx", target_lang="PT-BR"
)import * as deepl from "deepl-node";
const client = new deepl.DeepLClient(process.env.VIBEQL_API_KEY, {
serverUrl: "https://vibeql.com",
});
const result = await client.translateText("Hello, world", null, "pt-BR");
console.log(result.text);
await client.translateDocument("report.docx", "report.pt-BR.docx", null, "pt-BR");using DeepL;
var client = new DeepLClient(
Environment.GetEnvironmentVariable("VIBEQL_API_KEY"),
new DeepLClientOptions { ServerUrl = "https://vibeql.com" });
var result = await client.TranslateTextAsync("Hello, world", null, "pt-BR");
Console.WriteLine(result.Text);
await client.TranslateDocumentAsync(
new FileInfo("report.docx"), new FileInfo("report.pt-BR.docx"), null, "pt-BR");import com.deepl.api.*;
import java.io.File;
DeepLClientOptions options = new DeepLClientOptions().setServerUrl("https://vibeql.com");
DeepLClient client = new DeepLClient(System.getenv("VIBEQL_API_KEY"), options);
TextResult result = client.translateText("Hello, world", null, "pt-BR");
System.out.println(result.getText());
client.translateDocument(new File("report.docx"), new File("report.pt-BR.docx"), null, "pt-BR");$client = new \DeepL\DeepLClient(getenv('VIBEQL_API_KEY'), [
'server_url' => 'https://vibeql.com',
]);
$result = $client->translateText('Hello, world', null, 'pt-BR');
echo $result->text;
$client->translateDocument('report.docx', 'report.pt-BR.docx', null, 'pt-BR');require 'deepl'
client = DeepL::Client.new(ENV.fetch('VIBEQL_API_KEY'), server_url: 'https://vibeql.com')
translation = client.translate_text 'Hello, world', nil, 'PT-BR'
puts translation.textpackage main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
body := []byte(`{"text":["Hello, world"],"target_lang":"PT-BR"}`)
req, _ := http.NewRequest("POST", "https://vibeql.com/v2/translate", bytes.NewReader(body))
req.Header.Set("Authorization", "DeepL-Auth-Key "+os.Getenv("VIBEQL_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(string(out))
}Notes on each language:
- Python, Node, PHP. The option is
server_urlin Python and PHP andserverUrlin Node. The olderTranslatorclass takes the same option, so code that still uses it works too. - .NET and Java. The option is
ServerUrlonDeepLClientOptionsin .NET andsetServerUrl()in Java. Older code that buildsTranslatorOptionshas the same setting. - Ruby.
DeepL::Client.newtakesserver_url:. If your code uses the module-levelDeepL.configureblock, setconfig.host = 'https://vibeql.com'there. - Go. DeepL has no official Go SDK, so the example sends the HTTP request directly. A third-party Go client works too if it lets you set the base URL.
We checked these option names in the official SDK READMEs on GitHub in November 2026.
Keys that end in :fx
DeepL Free keys end in :fx, and the SDKs use that suffix to pick api-free.deepl.com. Once you set the server URL, the SDK sends every request to that URL, so the suffix does not matter. VibeQL keys start with vql_. You can keep any code that checks for :fx. It has no effect.
Authentication
VibeQL accepts the DeepL header, Authorization: DeepL-Auth-Key <key>, so the SDKs work without changes. It also accepts Authorization: Bearer <key> and the legacy auth_key form field. See authentication for the full list.
What is the same
- Text translation with
/v2/translate, including several texts in one request. - Document translation with the upload, status and download steps of
/v2/document. The SDK helpers that wrap those steps work as they are. /v2/usageand/v2/languages, and/v3/languages.- Language codes. VibeQL uses DeepL codes such as
PT-BR,EN-USandZH-HANS. The full list is in languages. - Status codes and error bodies, so your retry and quota logic keeps working.
What is different
There are other differences you should know:
- Pricing. VibeQL has no 50,000-character minimum per document. You pay for the characters in the file. See the cost of the DeepL minimum for worked examples, and pricing for our plans.
- File formats. VibeQL translates DOCX, PPTX, PDF and TXT files. Other formats return an error.
- File size. API plans accept files up to 50 MB. The free plan accepts files up to 10 MB and 10 pages. See limits and errors.
- Files expire. Translated files are kept for 24 hours after upload. Download the result in that window.
- Scanned PDFs. VibeQL does not run OCR yet, so a scanned PDF without a text layer has nothing to translate.
Test before you switch
You can run both services side by side. Make a second client with the VibeQL server URL, send a sample of your real traffic to both, and compare the results. When you are ready, change the server URL in your configuration and deploy. To go back, remove the option.
Next steps
- Read the full guide: Migrate from DeepL.
- Compare prices and features: VibeQL vs DeepL API.
- VibeQL is in beta and sign-up is closed. Join the waitlist to get an API key.