reka-api
Reka Python SDK
What it is and what it does
Reka-api is a Python client library that wraps the Reka API, enabling developers to integrate Reka's AI models into Python applications. It provides both synchronous and asynchronous clients built on httpx, with full type hints via Pydantic, and supports chat operations with text and multimodal content (video and text together). The library handles authentication via API key, includes automatic retries with exponential backoff for transient failures, and offers streaming responses for long-running chat completions.
The package depends on httpx, httpx-sse, pydantic, requests, and urllib3 for HTTP transport and serialization. It supports Python 3.8 through 3.12 and runs on Windows, macOS, and Linux. A legacy v2 API is also available for backward compatibility with earlier SDK versions.
Use it for:
- Build a chatbot or conversational AI application that calls Reka's models for text-based question answering.
- Process video and text together in a single API call to analyze video content and answer questions about it.
- Stream long-form responses from Reka models in real time without waiting for the full response.
- Integrate Reka AI into an async Python application to make non-blocking API calls without blocking the event loop.
- Handle transient API failures automatically with built-in retry logic and exponential backoff.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library for accessing the Reka API, with support for synchronous and asynchronous chat operations, multimodal content, and streaming responses.
Yes, if you are actively using the Reka API and need a Python client. The library is well-structured with good type support and low install friction. However, the 683-day maintenance gap raises a red flag: verify that Reka's API service is still actively supported and that this SDK will receive updates if the API changes. If you need active maintenance guarantees, contact Reka or assess the risk of a stalled SDK before committing to production use.
Install
reka-api on PyPI
pip
pip install reka-apiuv
uv add reka-apipoetry
poetry add reka-apiInstalling reka-api
Before you install
Low install friction with a pure-wheel distribution. However, the package is dormant—no releases in 683 days—which may signal that the Reka API itself or this SDK's maintenance has stalled; verify that the API and SDK remain actively supported before relying on it for production work.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install reka-api
from reka import ChatMessage
from reka.client import Reka
client = Reka(api_key="YOUR_API_KEY")
response = client.chat.create(
messages=[ChatMessage(content="What is the fifth prime number?", role="user")],
model="reka-core-20240501",
)
Requires a valid Reka API key, either passed directly or set via the REKA_API_KEY environment variable.
Verify before relying
- Whether the Reka API service and this SDK remain actively maintained and supported given the 683-day gap since the last release.
- Current API endpoint availability and whether the model identifiers in the documentation (e.g., reka-core-20240501) are still valid.
- Whether streaming, async, and multimodal features work reliably in production or have known limitations.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — httpx, httpx-sse, idna, pydantic, requests, typing_extensions, urllib3 |
| Maintenance | dormant — 683 days since the last release |
| First released | |
| Downloads | 77,718/month — #14,503 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: reka_api-3.2.0-py3-none-any.whl
Keywords: reka, ai, sdk
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
athenaintelProvides a Python client library for calling…
unclear · top 15,000 on PyPI
gigachatPython SDK for the GigaChat REST API, a large…
permissive · top 15,000 on PyPI
python-intercomA Python client library for the Intercom API,…
unclear · top 15,000 on PyPI
xai-sdkOfficial Python SDK for xAI's APIs, providing…
permissive · top 5,000 on PyPI
vapi-server-sdkA Python SDK for the Vapi API, providing…
unclear · top 15,000 on PyPI
pipedreamProvides a Python client library for accessing…
unclear · top 15,000 on PyPI
sarvamaiPython SDK for the Sarvam API, providing access…
unclear · top 15,000 on PyPI
phonicPhonic is a Python client library for accessing…
permissive · top 15,000 on PyPI
humePython SDK for integrating Hume AI's empathic…
permissive · top 15,000 on PyPI
groundxA Python client library for the GroundX API…
permissive · top 15,000 on PyPI