
Connect Roo Code to a Custom API: Choosing Claude, GPT, or Gemini
Configure an OpenAI-compatible API in Roo Code with the correct Base URL, API key, and model ID, then choose Claude, GPT, or Gemini by coding task.
Nbility Blog
Articles about AI Agents, model APIs, developer-tool integration, and Nbility workflows.
#OpenAI-Compatible API

Configure an OpenAI-compatible API in Roo Code with the correct Base URL, API key, and model ID, then choose Claude, GPT, or Gemini by coding task.

Configure a third-party OpenAI-compatible API in OpenCode with /connect and opencode.json, add multiple models, protect credentials, and troubleshoot failures.

Configure Cursor BYOK correctly, understand the limits of custom OpenAI-compatible Base URLs, and fix authentication, endpoint, model, and streaming errors.

Learn how OpenAI-compatible APIs work, how to configure Base URL, API Key, and model ID, and when to use Chat Completions or Responses API.

Install Codex CLI, configure config.toml and auth.json for an OpenAI-compatible endpoint, choose a model, verify the connection, and fix common API errors.

Part 2 of the AI Agent Getting Started series: from API Key, Base URL, and model name to verification commands, this article shows how to connect Hermes Agent to Nbility and explains why Agent apps naturally consume tokens.