Best Soup API Settings for Roleplay and Long Chats
There is no single set of best soup api settings, but there are sensible starting values, and most of them come down to context size, reply length and sampling. This page gives numbers to start from for roleplay and long-form chat on an OpenAI-compatible endpoint, with the cost of each choice.

Key points
- Connect with three values: the base URL, your key and the model <code>uncensored</code>. Use the chat completion mode of your client.
- Context size is the setting that moves your bill most: every turn resends the history, so 16,000 tokens costs about $0.0026 a turn and 100,000 about $0.0152.
- Start with temperature around 0.8, top_p 0.9 to 0.95, light penalties and a reply cap of 300 to 500 tokens, then adjust by feel.
- Turn streaming on, keep group chats within 8 concurrent requests, and keep roleplay to lawful adult fiction with no minors.
What this query usually means
The phrase "best soup api settings" does not point to one well-known product that we can identify, so it is safest to read it as a question about a chat or roleplay front end that connects to an API. Many such clients let you add a custom OpenAI-compatible connection, and the same short list of fields appears in all of them: endpoint, key, model, context size, response length, a few sampling sliders, and a streaming toggle.
If your client is one of those, the advice below applies directly. If it only supports a fixed list of built-in providers, it cannot reach this service until it adds a custom endpoint option. Where the setting names differ, match them by meaning rather than by label.
Two caveats up front. First, the numbers here are starting points drawn from how these parameters work, not benchmark results. Sampling preferences are subjective, and the only reliable test is a few dozen turns with your own characters and prompts. Second, the service is text only and hosts one open-weight model, tuned to answer without content refusals for lawful adult use. Fiction and roleplay for adults is a normal use. Sexual content involving minors is not allowed, full stop.
Connection settings
Pick the chat completion mode in your client, not the older plain text completion mode. This API exposes POST /v1/chat/completions and GET /v1/models, and nothing else.
| Field | Value |
|---|---|
| API type / source | Custom, OpenAI-compatible, chat completion |
| Base URL | https://api.stableaudio.cc/v1 |
| API key | Your key, sent as a Bearer token |
| Model | uncensored |
Some clients have a "connect" or "test" button that calls the models endpoint. If it returns a list, your key and URL are right. Keys come from the API key page, where new accounts can claim $0.50 of trial credit with one click and no card. The trial key has lower limits (2 concurrent requests, 60 per minute) than a funded key (8 and 300), which is fine for one person chatting.
Context size: the setting that sets your bill
The model accepts 100,000 tokens in total, prompt plus completion. That is a ceiling, not a target. Chat clients resend the character card, the system prompt and as much history as fits your context setting on every turn, and you pay input price for all of it every time. Prices are $0.15 per 1M input tokens and $0.50 per 1M output tokens.
Here is what one turn costs at three context settings, assuming the history fills the window and the reply is 400 tokens ($0.0002 for the output side, since 400 / 1,000,000 x $0.50 = $0.0002):
| Context in use | Input cost | Output cost | Per turn | Per 1,000 turns |
|---|---|---|---|---|
| 16,000 tokens | $0.0024 | $0.0002 | $0.0026 | $2.60 |
| Up to the end of the 100,000-token window | $0.0048 | $0.0002 | $0.0050 | $5.00 |
| 100,000 tokens | $0.0150 | $0.0002 | $0.0152 | $15.20 |
A $20 top-up at the 16,000 setting covers about 7,690 turns ($20 / $0.0026). At the full 100,000 it covers about 1,315 ($20 / $0.0152). Those figures assume the window is full on every turn, so early turns in a new chat cost less.
A practical rule: start at 16,000 to 32,000 tokens. Raise it only when the story visibly forgets something that matters. Before raising it, try a summary of old events kept in the system prompt or a pinned note. Summaries are cheaper than carrying every line of history, and they often work better because the key facts sit near the top.
Response length and the stop setting
The API does not require max_tokens. Without it, a completion can use whatever the prompt leaves of the 100,000-token window. For chat that is rarely what you want, because a model that rambles on costs output tokens at the higher rate and breaks the pace of a scene.
- Reply cap: 300 to 500 tokens suits a paragraph or three. Raise to 800 or more for long narration.
- Stop sequences: the API passes
stopthrough. Add the line prefix that would start the user's turn (for example your character name followed by a colon) so the model cannot write your lines for you. - Length in the prompt: a sentence in the system prompt such as "Reply in two short paragraphs" works better than a tight cap alone, because a hard cap cuts a reply mid-sentence.
If replies end abruptly, the cap is too low for the style you asked for. Raise the cap or shorten the style request, not both at once.
Sampling: temperature, top_p and penalties
The API passes temperature, top_p, stop, seed and the frequency and presence penalties through to the model. Other samplers that some clients show, such as top_k or min_p, may not be accepted by an OpenAI-style endpoint, so if a slider appears to do nothing, that is the likely reason.
Starting values
- temperature 0.8: lively but coherent. Go to 0.9 or 1.0 for wilder prose, down to 0.6 for tight, consistent characters.
- top_p 0.9 to 0.95: trims the tail of unlikely words. Change temperature or top_p, not both, when you are experimenting.
- frequency_penalty 0.1 to 0.3: reduces repeated phrases over a long chat. High values make prose strange.
- presence_penalty 0 to 0.2: nudges toward new topics. Often best left near zero for roleplay that should stay on one scene.
Seed for testing
When you compare two prompt versions, set a fixed seed so that differences come from your edit and not from sampling luck. Reproducibility with a seed is best effort, so treat it as a tool for comparison rather than a guarantee. Remove it for normal play.
Streaming and group chats
Turn streaming on. The API sends server-sent events when stream is true, so text appears as it is generated and usage is reported at the end. Long replies feel much faster even though total time is the same.
Streaming has one cost in capacity terms: a streamed request holds its concurrency slot until the stream finishes. A single chat uses one slot. Group chats, where several characters answer in sequence or in parallel, and "regenerate" clicks fired in a row can use several. A full key allows 8 at once and 300 requests per minute, a trial key 2 and 60. Past that the API returns HTTP 429 with the code concurrency or rate_limited, and a 429 with Retry-After: 5 means brief overload. Wait the five seconds and send again. Most clients can be set to retry once on their own.
If you see 429 only in group chats, switch the client to answer characters one after another instead of all at once.
JSON mode and tool calls for the clever parts
Some setups use a second, cheap call to keep a story tracker: inventory, location, relationship notes. That is where JSON mode earns its place. Send response_format: {"type": "json_object"}, describe the keys in the prompt, and parse the reply in your script. Tool calling (tools, tool_choice, results as role: "tool") supports the same idea when you want the model to call a dice roller or a memory lookup you wrote. Neither is needed for ordinary chat, so leave them off if your client does not use them.
Keep tracker calls small. A tracker prompt of 2,000 input tokens and a 150-token JSON reply costs 2,000 / 1,000,000 x $0.15 = $0.0003 plus 150 / 1,000,000 x $0.50 = $0.000075, so $0.000375 in total. That is cheap enough to run every turn.
Tuning checklist and where to read more
- Connect, then send one message and confirm a reply arrives.
- Set context to 16,000 to 32,000 and the reply cap to about 400 tokens.
- Set temperature to 0.8, top_p to 0.95, penalties near 0.1.
- Turn streaming on and add a stop sequence for your own name.
- Play twenty turns. Change one setting at a time and note what improved.
- Check your balance. Responses carry an
X-Balance-USDheader, and some clients show it in a debug panel.
For parameter details see the API docs. For top-up tiers and bonuses (+5% from $50, +10% from $100, +15% from $200), see the pricing page. Credit never expires and failed or refused requests are not charged, so experimenting with settings costs only the tokens that produce a reply. Prompts are not used for training.
More guides
Questions and answers
What context size should I set for roleplay?
Start at 16,000 to 32,000 tokens. The model supports up to 100,000, but every turn resends the history, so a larger setting raises the cost of each message.
Why do some sampler sliders have no effect?
The API passes temperature, top_p, stop, seed and the two penalties through. Samplers outside that list may be ignored by an OpenAI-style endpoint.
Does max_tokens have to be set?
No, it is optional. For chat a cap of 300 to 500 tokens keeps replies on pace and limits output cost.
Is a trial key enough to test these settings?
Yes for one person chatting. The $0.50 trial lasts 7 days and has limits of 2 concurrent requests and 60 per minute.
What content is not allowed?
Lawful adult fiction and roleplay is fine. Sexual content involving minors is not allowed.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.