Yomilu

How to configure an OpenAI-compatible Base URL

Learn the difference between an SDK Base URL and a complete chat endpoint.

What Base URL should I enter?

In an OpenAI-compatible SDK, enter https://www.yomilu.ai/v1. For a raw chat completion request, use https://www.yomilu.ai/v1/chat/completions.

Python example

import os
from openai import OpenAI
client = OpenAI(base_url="https://www.yomilu.ai/v1",
                api_key=os.environ["YOMILU_API_KEY"])
result = client.chat.completions.create(
    model=os.environ["YOMILU_MODEL"],
    messages=[{"role": "user", "content": "Reply with OK"}])
print(result.choices[0].message.content)

Why do I get a 404?

Check the full request path for a duplicated /v1 or chat/completions suffix, then verify that the selected model ID exists.

Developer docs · Open dashboard