LLM
Lumoz LLM
Lumoz LLM is our flagship multimodal intelligence model combining frontier language reasoning with high-resolution visual comprehension and OpenAI-compatible API access.
OpenAI-Compatible Chat Completions
Use lumoz-llm as a direct drop-in replacement with the official OpenAI SDKs or any compatible client. Point your client's baseURL to Lumoz, pass your Lumoz API key, and specify model lumoz-llm. Supports streaming (SSE) and multimodal vision.
Streaming SSE Supported
Multimodal Vision (image_url)
Standard OpenAI SDK Drop-in
Token Billing ($0.002 / 1K tokens)
Code Examples
from openai import OpenAI
# Initialize the OpenAI client pointing to Lumoz
client = OpenAI(
base_url="https://lumozai.com/v1",
api_key="YOUR_LUMOZ_API_KEY",
)
# Text chat completion with streaming
response = client.chat.completions.create(
model="lumoz-llm",
messages=[
{"role": "system", "content": "You are a helpful and intelligent assistant."},
{"role": "user", "content": "Explain quantum computing in simple terms."}
],
temperature=0.7,
stream=True,
)
for chunk in response:
content = chunk.choices[0].delta.content or ""
print(content, end="", flush=True)
print()
Request Parameters (OpenAI Schema)
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Required | The model ID to run (lumoz-llm). |
| messages | array | Required | Array of message objects (role: system/user/assistant, content: string or multimodal array with text and image_url). |
| stream | boolean | Optional | If set to true, partial message deltas will be sent as Server-Sent Events (SSE). Defaults to false. |
| temperature | number | Optional | Sampling temperature between 0.0 and 2.0. Higher values make output more creative, lower values more deterministic. Defaults to 0.7. |
| max_tokens | integer | Optional | The maximum number of tokens to generate in the chat completion. |
Sample Response (JSON)
{
"id": "chatcmpl-a8c7b9e1",
"object": "chat.completion",
"created": 1728640000,
"model": "lumoz-llm",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Quantum computing is a rapidly-emerging technology that harnesses the laws of quantum mechanics to solve problems too complex for classical computers."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 22,
"completion_tokens": 27,
"total_tokens": 49
}
}
Model Pricing
Pay only for what you run. Charges are deducted directly from your account balance with zero recurring commitments.
Rate per 1K tokens
$
0.002
/ 1K tokens
$2.00 per 1,000,000 tokens
Cost Estimator
1,000 K tokens
Estimated Total
$2.00
Automatic instant refund if any run fails • Credits never expire