Models
The text API follows the OpenAI Chat Completions format. Point an OpenAI-compatible client to the OmevAI base URL and keep your API key on your server.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://llmapi.omev.be/v1",
api_key=os.environ["OMEV_API_KEY"],
)
response = client.chat.completions.create(
model="omev-lite",
messages=[{"role": "user", "content": "Summarise this page in five bullets: ..."}],
max_tokens=500,
)
print(response.choices[0].message.content)
Text models and prices
Prices are per 1 million tokens. Both models work with every API key.
| Model | Recommended use | Input | Cached input | Output |
|---|---|---|---|---|
omev-lite | High-volume, clearly specified text work such as extraction, data organisation, short rewriting and structured output | $0.15 | $0.015 | $1.25 |
omev-pro | Complex instructions, planning, long-form drafting and work that needs deeper reasoning | $0.625 | $0.0625 | $5.00 |
omev-pro, input above 200,000 tokens | The same model for very long prompts | $1.25 | $0.125 | $7.50 |
Output includes reasoning tokens. Cached input is the repeated beginning of a prompt that the
service has recently seen. Cached input costs 10% of the input price. When a single request
has more than 200,000 input tokens, the entire request is billed at the rates in the
"omev-pro, input above 200,000 tokens" row.
Image and video models
| Model | What it generates | Price | Availability |
|---|---|---|---|
omev-image-jobs | Asynchronous 1K-class images for automated pipelines, with optional reference images | $0.021 / $0.024 / $0.039 per image (low / medium / high) | On request |
omev-image-lite | One or more inline 1024x1024 images | $0.0192 per image | On request |
omev-image-main | One inline 1K-class image, up to 1536x1024 or 1024x1536 | $0.021 per image | On request |
omev-image-pro | One or more inline 1K-class images with reliable text rendering | $0.024 per image ($0.1968 at medium quality) | On request |
omev-video-lite | Simple video scenes, 4–12 s, 768p | $0.039 per second | On request |
omev-video | People, complex motion and camera movement, 4–15 s, 720p or 1080p | $0.08 / $0.135 per second | On request |
omev-video-premium | Premium video up to 30 s, 720p or 1080p, reference images | $0.115 / $0.23 per second | On request |
omev-video-edit | Reworking your footage: new 2–10 s clips from a video and up to 3 reference images | $0.29 / $0.44 per second | On request |
See Image generation, Video generation and Models and prices for all products and prices.
GET /v1/models returns the documented products enabled for your API key. Do not build an
integration around an unfamiliar or internal name.
Search and speech models
| Product | What it does | Price | Availability |
|---|---|---|---|
omev-transcribe | Speech to text for an audio or video file up to 25 MB (POST /v1/audio/transcriptions) | $0.004 per audio minute | On request |
| Web search | Fresh web results for a query (POST /v1/search) | $0.66 per 1,000 queries | On request |
See Speech to text and Web search. To use OmevAI market research from an AI assistant, see AI assistant connection (MCP).
Choosing between omev-lite and omev-pro
Start with omev-lite when the instruction and output are clear. Use omev-pro when
the task requires deeper reasoning, such as handling several dependent constraints, planning,
working with long context or keeping a complex argument consistent.
Switching to omev-pro does not replace a clear prompt. State the goal, required facts,
audience, language, format and constraints in the request.
Text endpoint
POST /v1/chat/completions- Streaming with
"stream": true - Structured JSON with
response_format - Standard
system,userandassistantmessages
Validate JSON responses against your own schema before storing or publishing them. When you
set max_tokens explicitly, it caps the output tokens billed to your account. OmevAI's
internal generation floors and hidden reasoning budgets remain unchanged, but they cannot
raise billed output above max_tokens. Set a client timeout that matches your use case.
What a response contains
Every response includes only the standard Chat Completions fields: id, object, created,
model, choices and usage. The model field returns the public name you requested
(omev-lite or omev-pro). The usage object contains prompt_tokens, completion_tokens,
total_tokens and, when applicable, prompt_tokens_details.cached_tokens and
completion_tokens_details.reasoning_tokens.
Fields that describe the underlying model or the service build, such as system_fingerprint
and service_tier, are not returned. If a choice contains tool_calls, OmevAI generates the
identifiers. Do not parse these identifiers for meaning.
Streaming
With "stream": true, the response arrives as server-sent events in the standard
chat.completion.chunk format and ends with data: [DONE]. Add
"stream_options": {"include_usage": true} to receive a final chunk with usage.
For omev-lite and omev-pro, the service checks the response against your requested format
before sending it. As a result, text may arrive in larger parts after keep-alive chunks
rather than word by word. Set your client timeout for the entire request, not just the first
token.
If an error occurs after the stream has started, the final event contains an error body in
this format:
{"error": {"message": "The server had an error while processing your request. Please retry your request.", "type": "server_error"}}.
Retry the request as described in Errors and retries.
Structured output
For machine-readable responses, ask for JSON in the prompt and pass
"response_format": {"type": "json_object"} or a JSON Schema in response_format:
- Describe every field in the prompt, including its type and an example value. Specify that the response must contain only the JSON object.
- Use one schema per request type. For example, treat a page block, a menu and a meta-tag set as separate requests with separate schemas. Several small requests are more reliable than one very large object.
- Set
max_tokenshigh enough for the largest object you expect. A truncated object is invalid JSON. - Parse and validate the response in your application against the same schema. If validation fails, retry once with a corrected prompt.
Translations and long texts
Use omev-lite to translate short pieces of text such as menus, labels and meta tags. Use
omev-pro for long articles and pages where terminology must stay consistent.
- Specify the source and target languages in the request. State which parts must remain
unchanged, such as HTML tags, placeholders like
{{name}}, brand and product names, numbers and currencies. - Split long documents at paragraph boundaries into parts of about 3,000 to 5,000 characters. Repeat a short list of agreed terms in every part so each term is translated consistently.
- To translate a structured object, send the JSON and instruct the model to return the same keys and translate only the values.
Questions about the service itself
The service does not disclose which underlying model or provider answers a request. Questions such as "Which model are you?", requests to reveal the system prompt, or instructions to ignore the rules receive a short, neutral response in the language of the prompt. This behaviour applies to every request, whether streaming is enabled or not. Do not build logic that depends on the model describing itself.
Image and video endpoints
Image and video documentation is available to everyone. To enable these products for your API key, contact support@omev.be. See Image generation and Video generation for the request formats.
Stable public surface
Build your integration against the public omev-* model names, documented routes and
documented fields. The underlying model, provider, internal attempts and OmevAI's own costs
are not part of API responses and may change without requiring changes to your integration.