PlimverAI API
2.0.0
https://api.plimverai.tech
PlimverAI provides a unified AI API with multi-model support, persistent memory, RAG capabilities, and code execution.
π Quick Start
Get started with PlimverAI in under 5 minutes using our official SDKs or REST API.
Get Your API Key
- Sign up at PlimverAI Portal
- Navigate to Dashboard β API Keys
- Click "Create New API Key"
- Copy your key (starts with
pv_sk_)
π¦ Official SDKs
Python SDK
Installation:
pip install plimverai-sdk
Basic Usage:
from plimverai import PlimverAIClient
# Initialize client
client = PlimverAIClient(api_key="pv_sk_your_key")
# Simple chat
response = client.chat.messages.create(
model="PV-TURBO",
messages=[{"role": "user", "content": "Hello, how are you?"}],
user_id="user_123"
)
print(response.choices[0]['message']['content'])
Streaming:
# Stream responses in real-time
for chunk in client.chat.stream(
model="PV-TURBO",
messages=[{"role": "user", "content": "Tell me a story"}],
user_id="user_123"
):
print(chunk, end='', flush=True)
With RAG:
# Search your documents with RAG
response = client.chat.messages.create(
model="PV-STANDARD",
messages=[{"role": "user", "content": "What's in our documentation about deployment?"}],
user_id="user_123",
use_rag=True,
rag_k=10 # Retrieve top 10 relevant documents
)
Code Execution:
# Execute Python code securely
result = client.code.execute(
code="print('Hello from PlimverAI!')\nprint(2 + 2)",
user_id="user_123",
timeout=15
)
print(result['output']) # Hello from PlimverAI!\n4
π Full Python SDK Documentation
JavaScript/TypeScript SDK
Installation:
npm install @plimverai/sdk
# or
yarn add @plimverai/sdk
Basic Usage:
import { PlimverAIClient } from '@plimverai/sdk';
// Initialize client
const client = new PlimverAIClient({ apiKey: 'pv_sk_your_key' });
// Simple chat
const response = await client.chat.create({
model: 'PV-TURBO',
messages: [{ role: 'user', content: 'Hello, how are you?' }],
user_id: 'user_123'
});
console.log(response.choices[0].message.content);
Streaming:
// Stream responses with async iterator
for await (const chunk of client.chat.stream({
model: 'PV-TURBO',
messages: [{ role: 'user', content: 'Tell me a story' }],
user_id: 'user_123'
})) {
process.stdout.write(chunk);
}
With RAG:
// Search your documents with RAG
const response = await client.chat.create({
model: 'PV-STANDARD',
messages: [{ role: 'user', content: 'What\'s in our docs about deployment?' }],
user_id: 'user_123',
use_rag: true,
rag_k: 10 // Retrieve top 10 relevant documents
});
TypeScript Support:
import { PlimverAIClient, ChatCompletionResponse } from '@plimverai/sdk';
const client = new PlimverAIClient({ apiKey: process.env.PLIMVERAI_API_KEY! });
const response: ChatCompletionResponse = await client.chat.create({
model: 'PV-TURBO',
messages: [{ role: 'user', content: 'Hello' }],
user_id: 'user_123'
});
π Full JavaScript SDK Documentation
π REST API
Direct HTTP Requests:
curl -X POST https://api.plimverai.tech/z1/chat/completions \
-H "Authorization: Bearer pv_sk_your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "PV-TURBO",
"messages": [{"role": "user", "content": "Hello"}],
"user_id": "user_123"
}'
π― Available Models
| Model | Speed | Quality | Credits/Request | Best For |
|---|---|---|---|---|
| PV-TURBO | β‘ Fastest (<1s) | Good | 1 | Chat, quick answers, real-time |
| PV-STANDARD | π Fast (1-2s) | Better | 2 | General tasks, balanced performance |
| PV-ADVANCED | π§ Moderate (2-4s) | Best | 5 | Complex reasoning, analysis |
| PV-CODEX | π» Fast (1-2s) | Excellent | 3 | Code generation, debugging |
π Authentication
All API requests require authentication using your API key:
Option 1: Bearer Token (Recommended)
Authorization: Bearer pv_sk_your_key
Option 2: Custom Header
X-API-Key: pv_sk_your_key
Security Best Practices:
- Never commit API keys to version control
- Use environment variables:
PLIMVERAI_API_KEY - Rotate keys regularly
- Use separate keys for development/production
β‘ Rate Limiting
PlimverAI uses a multi-tiered rate limiting strategy:
- RPM (Requests Per Minute): Burst protection - 10 to 300 RPM
- RPD (Requests Per Day): Daily usage caps - 100 to 10,000 requests
- TPM (Total Per Month): Monthly limits aligned with your tier
Rate limit headers are included in every response:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-RateLimit-Reset: 1699564920
π Pricing Tiers
| Tier | Price | RPM | RPD | Features |
|---|---|---|---|---|
| Free | $0 | 10 | 100 | Basic models, 5s code timeout |
| Startup | $7/mo | 60 | 1,000 | All models, 15s code timeout, SLA monitoring |
| Business | $140/mo | 150 | 5,000 | Unlimited models, 60s timeout, custom RAG K, priority support |
| Enterprise | Custom | 300 | 10,000 | Everything + custom fine-tuning, dedicated support, 120s timeout |
π¨ Key Features
- π Multi-Model Support: Choose the right model for your use case
- π§ Persistent Memory: Conversations remember context across sessions
- π RAG: Upload documents and search them with natural language
- β‘ Response Caching: 13x faster responses (60-114ms for cached queries)
- π Web Grounding: Real-time web search via SearXNG
- π» Code Execution: Run Python code in secure sandboxed environment
- π SLA Guarantees: 99%-99.95% uptime with monitoring dashboard
- π Streaming: Real-time token-by-token responses
π Additional Resources
- π Python SDK Documentation
- π JavaScript SDK Documentation
- π§ API Reference
- π¬ Developer Portal
- π§ Support
This is version 2.0.0 of this API documentation. Last update on Nov 14, 2025.
This API is provided under license Proprietary.