AI Client & SDK Config Generator
Pick your coding agent, workflow platform, or SDK below to generate an exact, copy-ready configuration for Claude Code, Codex CLI, Cursor, Cline, Dify, LobeChat, OpenAI Python SDK, Vercel AI SDK, or curl — pre-checked against every /v1 path rule and authentication header nuance.
{
"env": {
"ANTHROPIC_BASE_URL": "https://byesu.com",
"ANTHROPIC_AUTH_TOKEN": "sk-YOUR_TOKEN",
"ANTHROPIC_MODEL": "claude-opus-5-5"
}
}{
"hasCompletedOnboarding": true
}Use https://byesu.com WITHOUT /v1 (Claude Code appends /v1/messages itself), and set ANTHROPIC_AUTH_TOKEN rather than ANTHROPIC_API_KEY so it skips interactive key prompts. Add "hasCompletedOnboarding": true in ~/.claude.json to bypass the claude.ai sign-in screen.
Endpoint path quick reference (/v1 vs root URL)
Most 404 Not Found setup mistakes happen when a client appends /v1/messages or /chat/completions on top of an incompatible base URL. Match your tool to the exact address below:
| Client / SDK | Base URL to enter | Why |
|---|---|---|
Claude Code CLI (~/.claude/settings.json) | https://byesu.com | Appends /v1/messages automatically; use ANTHROPIC_AUTH_TOKEN |
Codex CLI (~/.codex/config.toml) | https://byesu.com/v1 | Requires wire_api = "responses" + requires_openai_auth = true |
| Cursor | https://byesu.com/v1 | Enable Override OpenAI Base URL before clicking Verify |
| Cline (Anthropic provider) | https://byesu.com | Native /v1/messages routing + 0.1x prompt cache reads |
| Cline (OpenAI Compatible) | https://byesu.com/v1 | Calls GPT-6.2, Gemini 4, DeepSeek V4, and Grok 4.7 |
| Dify & LobeChat | https://byesu.com/v1 (OpenAI) · https://byesu.com (Anthropic) | Keep streaming enabled and raise node timeouts ≥ 120s for reasoning models |
Vercel AI SDK (@ai-sdk/anthropic) | https://byesu.com/v1 | Exception: @ai-sdk/anthropic appends /messages (not /v1/messages), so /v1 is required |
Related tools & guides
- Live Model Selector & Latency Explorer · LLM Token Cost Calculator · Image API Cost Calculator
- 3-Step Quickstart · Choosing a Token Group · Prompt Caching (
0.1xreads) · Common Errors & Fixes
FAQ
When should I use https://byesu.com vs https://byesu.com/v1?
Use https://byesu.com (without /v1) for Anthropic-native integrations that append /v1/messages automatically — including Claude Code CLI, Cline's Anthropic mode, Dify's Anthropic plugin, and LobeChat's ANTHROPIC_PROXY_URL. Use https://byesu.com/v1 for OpenAI-compatible clients/SDKs and for Vercel's @ai-sdk/anthropic package (which appends /messages instead of /v1/messages).
Is pasting my sk- token into this page safe?
Yes. Token substitution runs strictly in your browser's reactive memory (ref) to update the code snippet on screen. Nothing is sent to any server, analytics script, localStorage, or cookie.
Why does Codex CLI fail when wire_api is set to "chat"?
Modern Codex CLI removed legacy Chat Completions provider support and communicates over /v1/responses. Keep wire_api = "responses" and requires_openai_auth = true in ~/.codex/config.toml, with "OPENAI_API_KEY" stored in ~/.codex/auth.json.
Can one token call all nine models in the picker?
Yes. Every model in the picker (claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5, gpt-6.2-sol, gpt-6.2-astra, gemini-4-argon, deepseek-v4-pro, deepseek-v4.1-flash, grok-4.7) is covered by a single default auto-group token, billed pay-as-you-go with transparent multipliers (input 1x · output 5x · cache read down to 0.1x).