Skip to content
Relaykit

Resources

Guides

Choosing models, securing keys and keeping LLM spend predictable.

3 posts

Setup guides

Connect a coding agent

Step-by-step setup for each tool, with the exact settings and known limits.

All setup guides
  • Claude Code

    Run Claude Code on prepaid credits: set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN, pin Opus, Sonnet and Haiku model ids, then verify with /status.

    Anthropic format

  • Codex CLI

    Connect OpenAI Codex CLI to our gateway with a model_providers entry in ~/.codex/config.toml, a key env var and the Responses wire API, plus checks and fixes.

    OpenAI format

  • Cursor

    Use Claude, GPT, Grok and DeepSeek in Cursor Chat and Agent via your OpenAI API key and Override OpenAI Base URL, with custom models, checks and known limits.

    OpenAI format

  • Cline

    Configure Cline in VS Code with the OpenAI Compatible provider: base URL, API key and model id for Claude, GPT, Grok or DeepSeek, then verify it and fix errors.

    OpenAI format

  • Kilo Code

    Add our gateway to Kilo Code as a custom OpenAI Compatible provider in VS Code or in kilo.jsonc for the CLI, with model ids, auto-fetched models and fixes.

    OpenAI format

  • OpenCode

    Add our gateway to OpenCode as a custom provider in opencode.json with @ai-sdk/openai-compatible, store the key via /connect, pick models and fix errors.

    OpenAI format

  • Aider

    Run Aider through our OpenAI-compatible endpoint: set OPENAI_API_BASE and OPENAI_API_KEY, launch with openai/<model>, save it in .aider.conf.yml and fix errors.

    OpenAI format

  • Zed

    Add our gateway to Zed via language_models.openai_compatible in settings.json, enter your key, pick Claude, GPT, Grok or DeepSeek in the Agent Panel and fix errors.

    OpenAI format