NAME
Langertha::Engine::Scaleway - Scaleway Generative APIs
VERSION
version 0.500
SYNOPSIS
use Langertha::Engine::Scaleway;
my $scw = Langertha::Engine::Scaleway->new(
api_key => $ENV{LANGERTHA_SCALEWAY_API_KEY},
model => 'llama-3.1-8b-instruct',
);
print $scw->simple_chat('Hello from Scaleway!');
DESCRIPTION
Provides access to Scaleway Generative APIs, a serverless inference service hosted in European data centers. Composes Langertha::Role::OpenAICompatible with Scaleway's endpoint (https://api.scaleway.ai/v1) and Bearer auth.
Scaleway is designed as a drop-in replacement for the OpenAI API and is EU-act compliant. Available chat models include llama-3.1-8b-instruct (default), llama-3.3-70b-instruct, mistral-small-3.1-24b-instruct-2503, gemma-3-27b-it and others. Function calling, structured output and embeddings are supported.
If you want to scope requests to a specific Scaleway project, override url with https://api.scaleway.ai/<PROJECT_ID>/v1.
Generate an API secret key in the Scaleway console (https://console.scaleway.com/) and set LANGERTHA_SCALEWAY_API_KEY.
THIS API IS WORK IN PROGRESS
SEE ALSO
https://www.scaleway.com/en/docs/generative-apis/ - Scaleway Generative APIs documentation
https://www.scaleway.com/en/generative-apis/ - Scaleway Generative APIs product page
Langertha::Role::OpenAICompatible - OpenAI API format role
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
IRC
Join #langertha on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <getty@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus https://raudssus.de/.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.