Point Claude Code at our endpoint and keep working in the terminal you already use. Three environment variables, no SDK to install, nothing to migrate.
No signup, no email, no credit card, no waitlist.
/v1/messagesThree steps. Copy, paste, run.
ANTHROPIC_API_KEY takes priority over the token below. If you have ever
configured a direct Anthropic key, leaving it set is the single most common failure:
you paste our key and still get errors about your Anthropic account.
# reports presence only, never prints the value
test -n "$ANTHROPIC_API_KEY" && echo "found ANTHROPIC_API_KEY - unset it"
unset ANTHROPIC_API_KEY
The base URL has no /v1 suffix — Claude Code appends
/v1/messages itself. Use ANTHROPIC_AUTH_TOKEN, which is sent as a
Bearer token, not ANTHROPIC_API_KEY.
export ANTHROPIC_BASE_URL=https://api.sharkflow.top # no trailing /v1 export ANTHROPIC_AUTH_TOKEN=<your key> # not ANTHROPIC_API_KEY export ANTHROPIC_MODEL=free-opus # the only model we publish
That is the whole setup. Ask it something to confirm the route works.
claude
Prefer a raw request? This one-liner is the smallest end-to-end check. Confirm the
response body is JSON — a 200 carrying HTML means the base
URL is wrong, not that it worked.
curl -s -X POST "$ANTHROPIC_BASE_URL/v1/messages" \
-H "content-type: application/json" \
-H "authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
-H "anthropic-version: 2023-06-01" \
-d '{"model":"free-opus","max_tokens":16,
"messages":[{"role":"user","content":"reply with just: ok"}]}'
The /v1 rule is inverted between client families. Same gateway,
same key, different base URL:
| Client | Base URL | Why |
|---|---|---|
| Claude Code, Anthropic SDKs | https://api.sharkflow.top |
The client appends /v1/messages for you. |
| OpenAI-compatible clients | https://api.sharkflow.top/v1 |
The client appends only /chat/completions. |
Four symptoms cover almost every report.
| Symptom | Cause | Fix |
|---|---|---|
404 |
Base URL ends in /v1, so the path became /v1/v1/messages. |
Drop the trailing /v1. |
200 with an HTML body |
An OpenAI-compatible client is missing /v1 and hit a web page. |
Add /v1 to the base URL. |
401 |
Wrong key, or a leftover ANTHROPIC_API_KEY won priority. |
unset ANTHROPIC_API_KEY, then open a new shell. |
403 or zero balance |
The 24-hour window closed, or the $10 is spent. | Expected. Credit is one-time and not renewable. |
The questions people actually ask before pasting a key.
It is free trial credit and a customer-acquisition cost on our side. We would rather pay for you to try the endpoint on real work than pay for an ad you scroll past. There is no upsell attached to the key and nothing to cancel — when the 24 hours end, it simply stops.
Correct. No signup, no email, no OAuth, no card. You claim a key and use it. The only limit is the number of keys we hand out per day, so keys can run out before the day does.
As a rolling 24 hours from the moment you claim the key — not until midnight in some timezone. Claim at 21:40 and the key works until 21:40 the next day. So claim it when you have time to use it.
Usually, but not guaranteed. During peak load our endpoint may automatically fall back to a different backing model, and the model name you configured does not change when that happens. We are telling you up front because otherwise you might judge Opus 5 by output that did not come from it.
If a response feels off-character for Opus, that fallback is the most likely explanation. Retrying a few minutes later usually lands you back on the primary model.
Anthropic-native /v1/messages, plus an OpenAI-compatible surface under
https://api.sharkflow.top/v1. Streaming works. Tool calling is best supported on the
Anthropic-native path, so prefer that one for agent-style clients.
Requests are proxied to a model backend to answer them, the same as any API gateway. Do not send secrets, customer data, or anything you would not put through a third-party endpoint — that is good practice with any trial credit, ours included.
One click, then three lines in your terminal.
No signup required. Daily keys are limited and may run out.