Discover and explore top open-source AI tools and projects—updated daily.
API for Portuguese LLMs with OpenAI compatibility
Top 89.0% on SourcePulse
MariTalk API provides access to Maritaca's large language models, specifically optimized for Portuguese. It offers a hosted API with a pay-as-you-go credit system and a local deployment option for on-premises use. The service targets developers and organizations needing advanced Portuguese NLP capabilities, with the benefit of OpenAI API compatibility for easier integration.
How It Works
The API exposes Maritaca's "Sabiá" family of language models. Users interact via a Python library or direct HTTP requests, specifying models like "sabia-3". The system supports standard chat interactions with role-based messages (system, user, assistant) and few-shot prompting for improved task-specific performance. It also offers streaming capabilities via generators and async generators for more responsive applications.
Quick Start & Requirements
pip install maritalk
pip install openai
, set base_url
to https://chat.maritaca.ai/api
.Highlighted Details
count_tokens
utility for estimating request costs.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
3 weeks ago
1 day