Lyber
Request access
DocsCompatibility

API reference

Markdown

OpenAI compatibility

What Lyber supports from the OpenAI API, and what it rejects.

Lyber rejects what it doesn't support with 400 instead of ignoring it, so a request never silently runs differently from what you asked.

Features

FeatureSupport
Chat CompletionsYes
StreamingYes. Usage with stream_options.include_usage.
Tool callingYes. Function tools only.
Reasoning effortYes. Values differ per model.
Image inputsAccepted (preview). Image understanding isn't qualified yet.
Responses APIPreview, stateless.
Structured outputs and JSON mode (response_format)No
Prompt cachingNo. Every input token bills at the input rate.
Web search, web fetch and other hosted toolsNo
Embeddings, audio, image generationNo
Legacy Completions (/v1/completions)No
Anthropic Messages (/v1/messages)No
Token countingNo endpoint. usage reports the counts after each request.

Chat Completions parameters

AcceptedRejected with 400
model messages max_tokens max_completion_tokens temperature top_p stop stream stream_options tools tool_choice reasoning_effort thinking_token_budget (DeepSeek) max_cost_micro_usdcn seed logprobs top_logprobs presence_penalty frequency_penalty logit_bias user response_format parallel_tool_calls prompt_cache_key and any other field