Quickstart for Ollama users
Get your first uncensored response in under five minutes by pointing your existing OpenAI-compatible client to our API endpoint and sending a single chat request.
API specifications
Before you integrate, here is exactly what you get with a key.
| Spec | Value |
|---|---|
| Protocol | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Authentication | Authorization: Bearer YOUR_KEY |
| Model ID | uncensored |
| Base URL | https://api.ollamauncensored.com/v1 |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Sampling parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Completion length | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Structured output | response_format: {"type": "json_object"} |
| Tools / tool calls | Yes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool |
| Max context | 100,000 tokens, input and output combined |
| Streaming | Supported (stream: true), usage included at the end |
| Max body | 8 MB request body |
| Concurrency | up to 8 in parallel per key |
| Headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Requests per minute | 300 requests per minute per key |
| Billing | prepaid credit, charged by real token usage; errors and refusals are free |
| Volume bonus | +5% on $50+, +10% on $100+, +15% on $200+ |
| Free trial | $0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Credit expiry | paid credit never expires, no subscription |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Key management | one active key per account; a new key replaces the old one |
| Content policy | uncensored for adults; the only hard rule: no sexual content involving minors |
| Account | sign in with Google or with e-mail + password |
Errors and what to do
The type field is stable, the message is for humans. Errors cost nothing.
| Status | Type | Reason |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | request body larger than 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary overload, retry shortly |
Questions and answers
What happens if my API key is compromised?
Generate a new key on the dashboard. The old key becomes invalid immediately. You can replace the old key with a new one at any time. Each account is limited to one active key.
Does the API support function calling?
Yes, the uncensored model supports tool usage and tool choice. You can define functions in your request and receive structured tool calls in the response. This feature works with standard OpenAI-compatible client formats.
How long does my prepaid credit last?
Prepaid credit never expires. You can top up by crypto at any time. The trial credit is valid for 7 days. Errors and refusals do not consume your credit.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.