Clients / Overview

Clients

Clients

Use goodapi in coding tools such as Claude Code, Codex and opencode — which API each client uses and which key group it needs.

Updated

Coding tools work with goodapi once you switch them to goodapi's URL and key. Each client uses a different API, so it needs a key from the matching group:

Client API used Key group Base URL
Claude Code Messages Claude Max https://api.goodapi.tech
Codex Responses ChatGPT https://api.goodapi.tech/v1
opencode Chat Completions or Messages Any — pick by the models you want See its page

A key can only call models in its own group; see API keys. If you use several clients, create one key per group.

Other clients

Any tool that supports an "OpenAI-compatible" API (a custom Base URL and API key) can connect:

  • Base URL: https://api.goodapi.tech/v1
  • API key: your key
  • Model: a name from Models and pricing that is in your key's group

For tools that support the Anthropic API, set the Base URL to https://api.goodapi.tech (no /v1, unless the tool's own docs say to include it).

Usage and cost

Coding tools send a long system prompt and context with every request, so each call uses far more input tokens than calling the API directly. Consider giving the tool's key its own quota, and check each charge on the Usage Logs page of the console.