An LLM API key is a spending authority, so keep it server-side, scope one key per app, rotate it, rate-limit your users and revoke it at once if it leaks.
ANTHROPIC_BASE_URL is the variable that sets where Claude Code sends requests; a gateway adds prepaid per-token billing and drops claude.ai login features.
Bonsai 2.5 27B is runnable in Ollama with one command using the 7.67 GB Q2_0 GGUF; this guide covers verification, the local API and connecting a coding agent.
GLM-5.4 is unscored officially: Z.ai published no benchmarks, and the only independent run, KingBench 4, put it 7th overall at 55.3%, first among open models.
Phonic-1.1 High scores 89.1 on the AA Speech-to-Speech Index, first overall, but ranks seventh in Arena and is 0.19 seconds slower to first audio than Phonic-1.
Claude Code is a coding agent that runs on our gateway once ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN are set and model ids are pinned; verify with /status.
Codex CLI lets you add our gateway as a custom model provider through a model_providers entry in ~/.codex/config.toml, an API key env var and the Responses API.
Cursor supports our gateway through its OpenAI API key and Override OpenAI Base URL settings, giving Chat and Agent access to Claude, GPT, Grok and GLM models.
Kilo Code is a VS Code and CLI coding agent that supports our gateway as a custom OpenAI Compatible provider, set up in the extension or in kilo.jsonc.
OpenCode is a terminal coding agent that supports our gateway as a custom provider in opencode.json via @ai-sdk/openai-compatible; save the key with /connect.
Aider is a terminal coding assistant that runs on our OpenAI-compatible endpoint; set OPENAI_API_BASE and OPENAI_API_KEY, then use the openai/ model prefix.
Zed is a code editor whose Agent Panel supports our gateway as an OpenAI-compatible provider, set up in settings.json with language_models.openai_compatible.