TchaviTchavi
FeaturesModelsPricingDocumentation
TchaviTchavi

Africa's most accessible AI API.

Product

  • Features
  • Pricing
  • Models

Resources

  • Documentation
  • API Reference
  • Support

Legal

  • Privacy
  • Terms of Service

© 2026 Tchavi. All rights reserved.

We use cookies to enhance your experience, provide personalised content, and analyse our traffic; see our Cookie Policy.

Back to models

mistral/mistral-small-latest

The light and fast European

Input

Output

0 chars

Demo

Sample output — click Run to generate your own.

It walks `tx` (a list or iterable of transactions), keeps only the ones whose `status` is `'SETTLED'`, and sums up their `amount` field. The generator expression avoids building an intermediate list — it streams values straight into `sum()`. Net effect: `balance` ends up as the total value of all settled transactions.

Ready to use Mistral Small?

Create a free accountAPI Documentation

500 free credits · No credit card