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
Multimodal vision (image_url)
OpenAI SDK drop-in
$0.35 / 1M in · $1.40 / 1M out ($0.01 / 1M Cached)
Code examples
Python (OpenAI SDK)
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)
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
}
}
تسعير النموذج
ادفع فقط مقابل ما تشغّله. تُخصم التكلفة مباشرة من رصيدك دون أي التزامات متكررة.
Adaptive Intelligence & Editorial Writer Rates
Automatic intent routing deploys frontier editorial writing for articles & essays • 75% prompt cache discount
Standard General Chat & Reasoning (Input)
Base
$0.35 / 1M input
$1.40 / 1M output • $0.00035 per 1K in
Prompt Cache Hit (Cached Context)
97% Off
$0.01 / 1M tokens
$0.00001 per 1K tokens
Editorial Writer Mode (Articles, Essays & Novels)
Auto-Routed
$15.00 / 1M output
$3.50 / 1M input • $0.75 / 1M cached
حاسبة التكلفة
Standard Input ($0.35/1M)
1,000 K tokens
الإجمالي التقديري
$2.00
استرداد تلقائي فوري عند فشل أي عملية • الرصيد صالح لمدة عام