App setup
Set a custom OpenAI base URL, an obk- key, a full model id, and a timeout of several minutes.
Any OpenAI chat client works when three settings match Clients: base URL, API key, and model id.
Shared settings
| Setting | Value |
|---|---|
| Base URL | https://api.openbroker.gonka.gg/v1 |
| API key | obk-... from the dashboard |
| Model | A full id from GET /v1/models, for example MiniMaxAI/MiniMax-M2.7 |
| Timeout | Several minutes. See Streaming. |
If the app appends /v1/chat/completions itself and you also paste /v1, the request goes to /v1/v1/chat/completions and fails. Use https://api.openbroker.gonka.gg/v1 when the field wants a base URL that already includes /v1. Use https://api.openbroker.gonka.gg when the app adds that suffix on its own.
LangChain
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="MiniMaxAI/MiniMax-M2.7",
api_key="obk-YOUR_API_KEY",
base_url="https://api.openbroker.gonka.gg/v1",
timeout=180,
)Install langchain-openai. You do not need an OpenAI account. timeout is seconds. Keep it at several minutes.
Cursor and other IDE clients
Use the app's OpenAI-compatible provider settings: the same base URL, the obk- key, and a full model id. If a completion never leaves the editor, the base URL was not applied to that provider.
Create and delete keys on the dashboard. The app stores only the obk- secret. Do not paste a wallet private key or a browser session.