Every tool wants the same three things, under slightly different names. Make a key on the dashboard, then use the table, and the notes for your tool. Everything about the format is on OpenAI-compatible API.
| The tool asks for | Enter |
|---|---|
| Provider / API type | OpenAI Compatible (sometimes "Custom OpenAI", "OpenAI-like", or just "OpenAI" with a base URL) |
| Base URL / API base / endpoint | https://www.israelgpt.site/api/v1 |
| API key | Your igpt_... key |
| Model / Model ID | yahoobot-1 (israelbot-1 for IsraelGPT’s own personality) |
| Context window / max input | The prompt size of your plan: 12,000 on the free plan, 64,000 on Standard Pro. The dashboard and GET /models show yours. |
| Max output tokens | Your plan’s reply limit: 2,000 free, 8,000 on Standard Pro. |
| Image support / vision | Off. Text only. |
| Streaming | On. It works, and tools expect it. |
Menus and labels move around between versions of these tools, so match the names above loosely. If a tool lets you type any base URL and any model name, it will work. If it insists on a list of known models, use its "OpenAI Compatible" option.
The free plan is for chat, not for coding agents. An agent such as Cline or Roo Code sends a system prompt of 10,000 tokens or more before it says anything, which doesn’t fit in 12,000 tokens, and it makes many requests for one task. The API will tell you so (context_length_exceeded, see Sizes, safety and errors) and the tool will complain about the context. For agents, apply for the Pro API.
https://www.israelgpt.site/api/v1, your key, Model ID yahoobot-1.Their requests are long and arrive often. Your plan’s requests a minute are what limits an agent: Cline stops and waits when it gets a 429. Your daily tokens are the other limit; the dashboard shows both.
In its config file, a model with the OpenAI provider and our base URL:
models:
- name: IsraelGPT YahooBot
provider: openai
model: yahoobot-1
apiBase: https://www.israelgpt.site/api/v1
apiKey: igpt_...
defaultCompletionOptions:
contextLength: 64000
maxTokens: 8000Older versions use a JSON config with "provider": "openai", "apiBase", "apiKey", "contextLength" and "maxTokens" under the model. Use your plan’s numbers.
export OPENAI_API_BASE=https://www.israelgpt.site/api/v1
export OPENAI_API_KEY=igpt_...
aider --model openai/yahoobot-1The openai/ prefix tells Aider (through LiteLLM) to send the rest of the name to an OpenAI-compatible server. Aider doesn’t know this model, so it may warn about its context size; it still works. Its prompts are large, so use a Pro plan.
In the admin settings, under Connections, add an OpenAI API connection: URL https://www.israelgpt.site/api/v1, your key. The models list (GET /models) fills in yahoobot-1 and israelbot-1 on its own, and costs nothing against your limits. The same goes for LibreChat, SillyTavern, Chatbox and similar apps: a custom OpenAI endpoint with the URL and key above.
For long chats, choose yahoobot-1: israelbot-1 sees earlier replies as quotes, since an OpenAI client can’t send back IsraelGPT’s signatures.
# Python: pip install openai
from openai import OpenAI
client = OpenAI(api_key="igpt_...", base_url="https://www.israelgpt.site/api/v1")
# JavaScript: npm install openai
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "igpt_...", baseURL: "https://www.israelgpt.site/api/v1" });Anything built on these libraries (LangChain, LlamaIndex, Vercel AI SDK's OpenAI provider and so on) takes the same two settings. Keep the key on a server.
| You see | Usually |
|---|---|
| 401 invalid_api_key | The key is wrong, was revoked, or has a space on the end. Make sure the base URL is ours: pointing the tool at the default sends our key to OpenAI. |
| 404 model_not_found | The model name. Use yahoobot-1 or israelbot-1 exactly. |
| 400 context_length_exceeded | The prompt is over your plan’s size. Set the tool’s context window to your plan’s number so it shortens its history, or apply for a bigger plan. |
| 429 rate_limited | Too many requests a minute or a day for your plan. The tool should wait for Retry-After. Check the dashboard for today’s use. |
| 429 token_limit | Your plan’s tokens for the day (UTC) are used. They come back at 00:00 UTC. |
| 502 upstream_unavailable | The model didn’t answer. Try again. |
| A reply that stops mid-way | Look for finish_reason "length": the reply limit. Raise max output tokens up to your plan’s, or ask it to continue. |
| "Invalid response" / empty replies | Tools that insist on OpenAI’s model list or on image input may not like a custom endpoint. Use their OpenAI Compatible option and turn vision off. |
More: the error list and the key’s request log on the dashboard, which shows every request and its result.