Docs

Set up in a few minutes.

codingone serves the Anthropic and OpenAI API formats on one address. If your tool lets you change the base URL, it works.

Quick start

  1. 01

    Choose a plan

    Every plan works with every tool. The plan decides the allowance and the models.

    See plans
  2. 02

    Create an API key

    Keys start with co-live- and are shown once, so copy the key when you create it.

    Open API keys
  3. 03

    Point your tool at codingone

    Use the base URL below and paste the key. The next section has the exact steps for each tool.

Base URL for Anthropic clients
https://gateway-10mk6n.runone.love
Base URL for OpenAI-compatible clients
https://gateway-10mk6n.runone.love/v1

Set up your tool

Replace co-live-... with your own key.

Claude Code speaks the Anthropic Messages API. Give it the base URL without /v1 and your key as the auth token.

Set two variables, then start Claude Code

shell
export ANTHROPIC_BASE_URL=https://gateway-10mk6n.runone.loveexport ANTHROPIC_AUTH_TOKEN=co-live-...claude

Or keep them in Claude Code’s settings file

~/.claude/settings.json
{  "env": {    "ANTHROPIC_BASE_URL": "https://gateway-10mk6n.runone.love",    "ANTHROPIC_AUTH_TOKEN": "co-live-..."  }}

Pick a model with /model, or start with one: claude --model claude-sonnet-5.

Endpoints

Send the key as x-api-key or as Authorization: Bearer. Both work on every endpoint.

POST/v1/messagesAnthropic Messages. Claude models.
POST/v1/messages/count_tokensCounts tokens. Free.
POST/v1/chat/completionsOpenAI Chat Completions. Every model.
POST/v1/responsesOpenAI Responses. GPT models.
GET/v1/modelsThe models your plan includes.
GET/v1/meThe account and plan behind a key.

Response headers

Every answer carries a request ID. A refusal also says how long to wait.

x-request-idIdentifies the request. Quote it when you write to support.
retry-afterSeconds until a retry can succeed.
x-should-retryfalse when the wait is a whole usage window, so SDKs do not retry on their own.
x-ratelimit-remaining-5h, -week, -month0 on the window that is full.
x-ratelimit-reset-5h, -week, -monthTime until that window resets, for example 1h10m53s.
x-ratelimit-limit-concurrencyHow many requests your plan runs at once.

Errors

Every error is codingone’s own, whichever model you called: the same codes, the same wording, in the shape your client expects (Anthropic’s on /v1/messages, OpenAI’s elsewhere). On the OpenAI shape the code below is in error.code. When a stream fails part-way, the same error arrives as an error event.

invalid_api_key401

The key is missing, mistyped or deleted.

Check it against the key in your console, or create a new one. Anthropic clients send it as x-api-key, OpenAI-compatible clients as Authorization: Bearer.

no_subscription403

The key is valid but its account has no active plan.

Choose a plan. The same key works as soon as the plan is active.

wrong_base_url404

The path is not one the API serves.

Anthropic clients use the base URL without /v1. OpenAI-compatible clients use it with /v1.

model_not_found404

The model ID is misspelled, or the model is not in your plan.

Check the ID on the models page, or move to a plan that includes it.

invalid_request400

The body is not valid JSON, names no model, or the model did not accept it. When the model gave a reason, the message ends with it.

Fix the field the message names. A model sent to the wrong endpoint is told which one it takes.

context_length_exceeded400

The conversation no longer fits the model’s context window. The message starts with “prompt is too long”, which coding tools recognise.

Compact the conversation or start a new one. Most tools do this on their own.

body_too_large413

The request is over the size limit, ours or the model’s.

Compact the conversation or attach fewer files.

quota_exceeded429

A usage window is full. The message says which one and when it resets.

Wait for the reset, use a reset card, or move to a larger plan.

concurrency_limited429

More requests are running at once than your plan allows.

Retry in a second, or run fewer agents in parallel.

rate_limited429

More requests in a minute than your plan allows.

Retry after the number of seconds in retry-after.

too_many_networks403

The account was used from more networks in 24 hours than a personal plan allows.

Wait for older networks to age out. If a key leaked, delete it and make a new one.

upstream_unavailable503

The model is busy, down or could not finish the request.

Retry in a few seconds. Not counted.

quota_unavailable503

The gateway could not read your plan or usage, so it refused instead of guessing.

Retry in a few seconds. Not counted.

Codes that appear only in your request log

client_aborted

Your tool closed the connection. What was produced up to then is counted.

stream_incomplete

The stream ended before the model finished. What was produced is counted.

check a key
curl https://gateway-10mk6n.runone.love/v1/me \  -H "Authorization: Bearer $CODINGONE_API_KEY"

Still stuck?

Write to support@codingone.ai with the x-request-id of a failing request. We can look up what happened to it without seeing your prompt.

Email support

We use only the cookies needed to keep you signed in and to remember your language. Privacy Policy