One endpoint · Every idea

Ideas,
meet intelligence.

One API key for the leading AI models. Compatible with the OpenAI and Anthropic API formats — just change the Base URL.

Works with

  • OpenAI SDK
  • Anthropic SDK
  • Claude Code
  • LangChain
  • Cherry Studio
  • Dify
  • and any client that accepts a custom Base URL

Quick setup

Base URL

Base URLhttps://api.goodapi.tech/v1

API Key

sk-••••••••••••••••
POST /v1/chat/completions
Authorization: Bearer sk-••••
200 OK

Models & pricing

Models & pricing

Prices are read live from the gateway, in US dollars per million tokens, with each model’s group multiplier already applied. Your actual charges follow your account group and the records in the console.

Three steps

From sign-up to your first request in three steps.

Keep the clients and request code you already have. No extra tooling required.

  1. API Key

    sk-••••••••••••

    Created

    01

    Create an API key

    Sign in to the console and create a separate key for each project, with its own spend limit and expiry.

  2. Base URL
    https://api.goodapi.tech/v1
    API Key
    sk-••••••••
    Model
    YOUR_MODEL

    02

    Configure your client

    Put the Base URL, key and model name into your existing SDK or tool. No changes to your application code.

  3. Request succeeded

    POST /v1/chat/completions

    200

    03

    Send requests, track usage

    Tokens and cost for every request are logged in the console, and your balance updates in real time.

Hello, possibilities

Start with a single request.

Put the key from the console into the GOODAPI_API_KEY environment variable and pick any model that’s online. The model names in these examples come from the live model list.

API format
OpenAI / Anthropic
Auth
Bearer API Key
Transport
HTTPS
Full docs: endpoints, client setup and error codes
bash
curl https://api.goodapi.tech/v1/chat/completions \
  -H "Authorization: Bearer $GOODAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "YOUR_MODEL",
    "messages": [{"role": "user", "content": "Hello, world"}]
  }'

FAQ

Frequently asked questions

How do I get an account?
Create an account on the sign-up page, then sign in to the console and create an API key. See the quick start.
How do I add credit?
goodapi uses prepaid credit that is charged per request. After signing in, top up on the wallet page. If online payment isn’t available yet, contact the site administrator.
How is pricing calculated?
You pay for the tokens you actually use, priced in US dollars per million tokens, with input, output and cache reads billed separately. Prices in the table already include the model’s group multiplier; some models have peak / off-peak or long-context tiers. You can check the exact charge for every request in the console usage logs. See billing.
Which APIs are supported?
Both the OpenAI format (Chat Completions, Responses) and the Anthropic format (Messages). Change the Base URL and key, and your existing SDKs and tools such as Claude Code and Codex just work. Every model is available through Chat Completions. See the endpoint overview.
A request failed. How do I troubleshoot it?
Start with the status code and error message. 401 usually means the key is wrong, expired or out of quota. 403 means the model isn’t in your key’s group, your balance is too low, or a content policy limit was triggered. For 429 and 503, retry after a moment. The full list is under error codes. When contacting support, include the request ID at the end of the error message.
What happens with content policy violations?
If a model refuses on content-policy grounds or a request is blocked by moderation, that counts as a violation: tokens are billed as usual, plus a violation fee (usually $0.10). Don’t resend a refused request unchanged — identical requests are blocked for 24 hours, and repeated violations in a short time lead to escalating restrictions. See model refusals and violations and restrictions.
How should I keep my keys safe?
The full key is shown only when you choose to reveal it in the console. Keep keys in server-side environment variables; never put them in front-end code or commit them to a public repository. If you suspect a leak, disable or delete the key in the console right away. See API keys.

Your next idea starts here

Build what’s next.

Open console