Dolphin API Documentation: Where to Start
If you landed here looking for dolphin api documentation, first check which Dolphin you mean, because the name covers several unrelated projects. This page sorts that out, then shows how to call the hosted uncensored text model on this site through any OpenAI SDK.
Last updated
Key takeaways- Dolphin is used for several unrelated things, including a family of community fine-tuned language models.
- This API is an independent hosted text endpoint, not the official Dolphin model release.
- Call it with the OpenAI SDK: base URL https://api.apidolphin.com/v1, model uncensored, bearer key.
- Start with a clear system prompt, temperature around 0.7, and adjust one sampling setting at a time.

Start with trial balance
Enter email and password to see your key immediately.
Which Dolphin do you mean
The name appears in many places. There is a series of open-weight language models fine-tuned by the community to follow instructions with fewer refusals, usually released as downloadable weights on model hubs. There is a well-known game console emulator. There are browsers, wallets and apps that use the word in their brand. Documentation for each lives in a different place, and a search for the name mixes them together.
For the model family, the authoritative documentation is the model card published with each release, which lists the base model, prompt format, context length and license. Read the card for the specific version you plan to use, because those details differ between releases. This site is something else: a hosted API that exposes one open-weight model through an OpenAI-compatible interface. It is run by an independent provider and is not an official release channel for any Dolphin model, nor the official API of any model vendor. The model id you send is uncensored.
What this API gives you
The hosted option removes the need to download weights and run a GPU. You send HTTPS requests and pay per token from prepaid credit.
- Base URL:
https://api.apidolphin.com/v1 - Model:
uncensored, an open-weight model tuned to answer without content refusals for lawful adult use - Endpoints:
POST /v1/chat/completions,POST /v1/responses,GET /v1/models - Auth:
Authorization: Bearer YOUR_API_KEY - Context: 100,000 tokens for prompt plus completion
- Features: streaming, tool calling, JSON mode, and passthrough of temperature, top_p, stop, seed and the penalties
- Not included: images, audio, video, embeddings and fine-tuning
One hard limit applies: no sexual content involving minors. Prompts are not used for training. The full reference is in the documentation, and the Dolphin AI alternative guide explains how this option compares with the model family.
Your first call
Get a key from the API key page. New users can claim $0.50 of trial credit with one click after signing up, which needs no card and lasts 7 days. Then install the official OpenAI package and point it at the base URL.
from openai import OpenAI
client = OpenAI(
base_url="https://api.apidolphin.com/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "You are a helpful assistant who answers directly."},
{"role": "user", "content": "Explain recursion to a new programmer in four sentences."},
],
temperature=0.7,
)
print(resp.choices[0].message.content)
The same request with curl, useful for checking your key before you debug code:
curl https://api.apidolphin.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"uncensored","messages":[{"role":"user","content":"Hello"}],"temperature":0.7}'
System prompts that work
With a model tuned to answer instead of refuse, the system prompt becomes the main way to shape behaviour. It sets the persona, tone, format and boundaries, and the model follows it closely. A few habits help.
- Be specific about role and format. "You are a code reviewer. Reply with a bullet list of issues, then a corrected snippet" works better than "be helpful".
- State your own boundaries. The model will not impose much by default, so if your product has rules, such as no personal data or a given reading level, write them into the prompt. Your application is responsible for what it allows.
- Keep it stable. The system prompt is sent with every request and billed as input each time. A 600-token prompt on 10,000 requests is 6,000,000 input tokens, or $0.90 at $0.15 per 1M.
- Put examples in. One or two sample exchanges in the history fix the format more reliably than a paragraph of rules.
For structured output, set response_format to {"type":"json_object"} and name the keys you want in the prompt.
Sampling settings in plain terms
Sampling controls how adventurous the next-token choice is. The parameters below are passed through to the model.
| Parameter | Effect | Starting point |
|---|---|---|
temperature | Higher values give more varied text; lower values give steadier text | 0.7 for chat, 0 to 0.3 for extraction and code |
top_p | Restricts choices to the most likely tokens that add up to this share | 0.9 to 1.0; change this or temperature, not both at once |
seed | Asks for repeatable sampling | Set it while testing prompts |
stop | Sequences that end the output | Use for fixed formats |
| Frequency and presence penalties | Discourage repeated words and topics | Small values, around 0.2 to 0.6, if text loops |
Change one setting per test and keep a seed so you can compare. Long creative sessions can drift into repetition, so raise a penalty a little before you raise temperature. max_tokens is optional: without it, the completion can use whatever is left of the 100,000-token window, so set a cap if you want predictable cost.
Prompts for companion and roleplay apps
Many people reach for an uncensored model to build fiction tools, roleplay and companion apps for adults. The prompt pattern is the same as for any assistant: a persona block that names the character, tone and setting, a short rule list, and a few example turns. Keep the character card in the system message and the running scene in the user and assistant turns. Remember the rules of the platform you build on: this API allows lawful adult use only, and sexual content involving minors is never allowed.
For long scenes, keep an eye on the token count. A persona of 800 tokens plus a 6,000-token scene history is 6,800 input tokens per turn. At $0.15 per 1M input tokens that is about $0.001 per turn for input, before the reply. A summary of earlier scenes replaces thousands of history tokens with a few hundred.
Streaming, limits and billing basics
For chat interfaces, stream the answer. Pass stream=True and print deltas as they arrive; usage is reported at the end of the stream. A full key allows 8 concurrent requests and 300 per minute, and a trial key allows 2 and 60. A streamed request occupies its slot until the stream finishes, which is the usual reason a small app hits HTTP 429 with the code concurrency. On rate_limited, back off. On a 429 with Retry-After: 5, wait five seconds and retry.
from openai import OpenAI
client = OpenAI(
base_url="https://api.apidolphin.com/v1",
api_key="YOUR_API_KEY",
)
for chunk in client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a four-line poem about debugging."}],
stream=True,
):
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
print()
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Failed or refused requests are not charged, and credit never expires. Top-ups are any whole amount from $20 to $500, paid in crypto, with a bonus from $50. The pricing page has the tiers. Read X-Balance-USD in any response to track your remaining credit.
More guides
FAQ
Is this the official Dolphin API?
No. It is an independent hosted text API exposing one open-weight model through an OpenAI-compatible interface. For the Dolphin model family, read the model card of the release you want.
Which model name do I send?
Send uncensored as the model id in every request.
Can I use the OpenAI SDK?
Yes. Set the base URL to https://api.apidolphin.com/v1, pass your key as api_key and keep the rest of your code.
Does it support images or embeddings?
No. The API is text only: chat completions, responses and a model list, with streaming, tool calling and JSON mode.
Unlock your API key
Sign up, grab your key, and update the base URL. That is all.