NAME
Langertha::Engine::DeepSeek - DeepSeek API
VERSION
version 0.100
SYNOPSIS
use Langertha::Engine::DeepSeek;
my $deepseek = Langertha::Engine::DeepSeek->new(
api_key => $ENV{DEEPSEEK_API_KEY},
model => 'deepseek-chat',
system_prompt => 'You are a helpful assistant',
temperature => 0.5,
);
print($deepseek->simple_chat('Say something nice'));
DESCRIPTION
This module provides access to DeepSeek's models via their API.
Available Models (February 2026):
deepseek-chat - Fast, general-purpose chat model (default). Excellent for most tasks with strong multilingual support.
deepseek-reasoner - Advanced reasoning model with chain-of-thought capabilities. Best for complex problem-solving and logic tasks.
deepseek-v3.2 - Latest version with integrated thinking directly into tool-use. Supports tool-use in both thinking and non-thinking modes. Features updated chat template and "thinking with tools" capability.
Note: DeepSeek V4 is expected to launch mid-February 2026 with context windows exceeding 1 million tokens and enhanced codebase processing capabilities.
Dynamic Model Listing: DeepSeek inherits from Langertha::Engine::OpenAI, so it supports list_models() for dynamic model discovery. See Langertha::Engine::OpenAI for documentation on model listing and caching.
THIS API IS WORK IN PROGRESS
HOW TO GET DEEPSEEK API KEY
https://platform.deepseek.com/
SEE ALSO
https://api-docs.deepseek.com/ - Official DeepSeek API documentation
Langertha::Engine::OpenAI - Parent class
Langertha - Main Langertha documentation
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudss.us/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.