Skip to content

Commit b3130f9

Browse files
docs: add Requesty as an OpenAI-compatible backend example
1 parent 05e7ca5 commit b3130f9

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ left untouched.
2020

2121
The example config ships ready-to-use entries for **GPT‑5.5 (Codex login)**,
2222
**MiniMax‑M3**, **MiMo v2.5 Pro**, **DeepSeek V4 Pro/Flash**, **Step Flash**,
23-
**Ollama Cloud**, **OpenCode Go**, **OpenRouter**, and **local models** — keep
23+
**Ollama Cloud**, **OpenCode Go**, **OpenRouter**, **Requesty**, and **local models** — keep
2424
the ones you have a plan for, delete the rest. (Cursor's Composer needs the
2525
`cursor-agent` CLI and isn't HTTP-based — see
2626
[docs/ADD_A_MODEL.md](docs/ADD_A_MODEL.md).)
@@ -283,12 +283,16 @@ Example — MiMo and an OpenRouter model:
283283
Put your key right in `config.json` (it's gitignored) or use `${ENV_VAR}` and
284284
export it — or drop keys into a gitignored `ultracode.env` the launchers load.
285285

286+
[Requesty](https://requesty.ai) works the same way — another `openai_compat`
287+
gateway with `upstream` `https://router.requesty.ai/v1`, `provider/model` naming
288+
(e.g. `openai/gpt-4o-mini`), and `auth` `Bearer ${REQUESTY_API_KEY}`.
289+
286290
Route types:
287291

288292
| `type` | Use for | Needs |
289293
|-----------------|----------------------------------------------------|-------|
290294
| *(omit)* | Real Claude or any Anthropic-compatible endpoint | nothing, or `auth`/`upstream` |
291-
| `openai_compat` | MiMo, DeepSeek, OpenRouter, OpenAI, Ollama, local llama.cpp — anything that speaks OpenAI Chat Completions (tools included) | an API key |
295+
| `openai_compat` | MiMo, DeepSeek, OpenRouter, Requesty, OpenAI, Ollama, local llama.cpp — anything that speaks OpenAI Chat Completions (tools included) | an API key |
292296
| `codex_oauth` | GPT‑5.5 via a ChatGPT/Codex login (no API key) | `codex login` once |
293297
| `cursor_agent` | Cursor Composer (experimental) | `cursor-agent login` |
294298
| `auto` | The [Auto Router](docs/AUTO_ROUTER.md) — score candidates per task and route to the cheapest that's good enough | a `router` block + a classifier model |

‎config.example.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
{ "id": "claude-ollama-cloud", "display_name": "Ollama Cloud" },
2929
{ "id": "claude-opencode", "display_name": "DeepSeek V4 Pro (OpenCode Go)" },
3030
{ "id": "claude-openrouter", "display_name": "Llama 3.3 70B (OpenRouter)" },
31+
{ "id": "claude-requesty", "display_name": "GPT-4o mini (Requesty)" },
3132
{ "id": "claude-local", "display_name": "Local model" },
3233
{ "id": "claude-composer", "display_name": "Composer 2.5 (Cursor, experimental)" }
3334
],
@@ -103,6 +104,13 @@
103104
"model": "meta-llama/llama-3.3-70b-instruct",
104105
"auth": "Bearer REPLACE_WITH_YOUR_OPENROUTER_KEY"
105106
},
107+
"claude-requesty": {
108+
"_": "Requesty (https://requesty.ai) - an OpenAI-compatible LLM gateway. Models use provider/model naming (e.g. openai/gpt-4o-mini); swap model for any slug Requesty lists. Get a key at https://app.requesty.ai/api-keys.",
109+
"type": "openai_compat",
110+
"upstream": "https://router.requesty.ai/v1",
111+
"model": "openai/gpt-4o-mini",
112+
"auth": "Bearer ${REQUESTY_API_KEY}"
113+
},
106114
"claude-local": {
107115
"_": "A local OpenAI-compatible server (Ollama :11434, llama.cpp :8080, LM Studio :1234). The key is usually ignored.",
108116
"type": "openai_compat",

‎docs/ADD_A_MODEL.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,21 @@ llama.cpp / LM Studio server, etc. Tool calls are translated both ways.
7070
}
7171
```
7272

73+
[Requesty](https://requesty.ai) is another OpenAI-compatible gateway — same
74+
shape, just a different `upstream` and `provider/model` naming
75+
([docs](https://docs.requesty.ai), keys at
76+
[app.requesty.ai/api-keys](https://app.requesty.ai/api-keys)):
77+
78+
```json
79+
"claude-requesty": {
80+
"type": "openai_compat",
81+
"upstream": "https://router.requesty.ai/v1",
82+
"model": "openai/gpt-4o-mini",
83+
"auth": "Bearer ${REQUESTY_API_KEY}"
84+
}
85+
```
86+
87+
7388
- `upstream` is the OpenAI **base URL exactly as the provider documents it**
7489
(usually ends in `/v1`). The proxy appends `/chat/completions`.
7590
- `model` is the backend's real model id, **not** the `claude-…` alias.
@@ -204,6 +219,7 @@ plan/key for and delete the rest:
204219
| Ollama Cloud | `claude-ollama-cloud` | `openai_compat` | Ollama Cloud |
205220
| DeepSeek V4 Pro (OpenCode Go) | `claude-opencode` | `openai_compat` | OpenCode Zen (Go subscription) |
206221
| Llama 3.3 70B (OpenRouter) | `claude-openrouter` | `openai_compat` | OpenRouter |
222+
| GPT-4o mini (Requesty) | `claude-requesty` | `openai_compat` | Requesty |
207223
| Local model | `claude-local` | `openai_compat` | local server |
208224
| Composer 2.5 (experimental) | `claude-composer` | `cursor_agent` | cursor-agent |
209225
| Auto (smart routing) | `claude-auto` | `auto` | picks among your backends per task |

0 commit comments

Comments
 (0)