Uncensored LLM API
Ollama API for Uncensored Text Generation
Access a single uncensored model via the standard OpenAI-compatible API with a 100,000 token context window for high-context text generation.
- 100,000 token context window
- OpenAI SDK compatible endpoints
- Crypto prepaid credit only
Test with one call
curl https://api.apiollama.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "list installed models"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.apiollama.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.apiollama.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);- per 1M input tokens
- $0.15
- Output tokens / 1M
- $0.50
- token context
- 100,000
- trial credit
- $0.50
- requests per minute
- 300
Core capabilities
OpenAI Compatibility
Use the official SDK with your existing codebase by simply changing the base URL and key.
Uncensored Output
The model answers without refusals for lawful adult, fictional, or controversial topics.
Streaming Support
Receive real-time tokens via SSE with usage data included in the final chunk.
JSON Mode
Force structured output using the response_format parameter for reliable machine parsing.
Function Calling
Enable tools and tool_choice for dynamic agent interactions and data extraction.
Transparent Pricing
Pay only for actual tokens used with no hidden subscriptions or monthly fees.
Setup process
Get Your Key
Sign up with Google or email to receive your API key instantly.
Configure Your SDK
Point your client to the base URL and inject the new key.
Send Requests
Make POST requests to the chat completions endpoint with your messages.
Community projects
Content Creation
Generate unrestricted fiction and creative writing without standard content filters blocking your narrative.
Data Extraction
Parse complex documents using JSON mode for reliable structured data output.
Agent Systems
Power autonomous agents with function calling and streaming capabilities for real-time decisions.
Research Analysis
Process large documents within the 100,000 token window for comprehensive context retention.
From Signup to First Token: Your 3-Step Integration
- Sign up instantly. Use Google or email to create your account. No phone number is required, and your API key appears immediately on the screen.
- Configure your client. Point your OpenAI SDK to our base URL. Set the model ID to "uncensored" and inject your key.
- Send your first request. Call the
/v1/chat/completionsendpoint. Receive streaming tokens in real time with zero local setup.
Ollama API: The Uncensored Alternative for Developers
The ollama api provides a direct, uncensored path to powerful open-weight models via standard OpenAI-compatible endpoints, eliminating the need for local setup or proxies.
Content-Filtered Free Coding
Generate code without artificial refusals on standard topics. Use streaming via SSE to handle large outputs in real-time.
Uncensored Roleplay Engines
Run narrative bots that answer without blocking lawful adult themes. The model handles context windows up to 100,000 tokens smoothly.
Research Data Extraction
Parse complex documents with JSON mode enabled. Ensure strict output structures for your parsing pipelines without external validation steps.
Frequent Integration Errors in Uncensored LLM APIs
Developers often misconfigure base URLs or ignore token limits when switching to an uncensored LLM. This breaks compatibility with standard OpenAI SDKs.
- Set the correct endpoint URL.
- Respect the 100k context window.
- Handle streaming events properly.
Hosted vs. Local Ollama API: Key Differences
Our service removes infrastructure overhead by providing a ready-to-use endpoint, unlike self-hosted setups requiring manual model management. We handle scaling, so you skip local GPU configuration. While local instances demand dedicated hardware, our hosted version delivers immediate access via standard SDKs. You pay strictly for tokens consumed, eliminating idle server costs. This approach ensures consistent availability without the maintenance burden of running your own container.
Concrete Billing Scenarios for Token Usage
Real-World Cost Examples for Ollama API Usage
Our billing calculates exact charges using $0.15 per million input tokens and $0.50 per million output tokens.
- A 10K input / 1K output request costs ~$0.002.
- A 50K input / 5K output request costs ~$0.01.
Credit never expires, ensuring you only pay for actual usage. Errors remain free.
Frequently Asked Questions: Proxy & Setup
Yes, you can proxy the service using standard tools like nginx or Traefik to route requests to the base URL. The API supports OpenAI-compatible clients, so you only need to update your base URL and API key. Streaming via SSE is fully supported, including token usage in the last chunk. You can also implement function calling with tools and tool_choice. JSON mode is available via response_format. The uncensored model handles controversial topics without refusal.
Common questions
What is the base URL for the ollama API?
It is HTTPS://api.apiollama.com/v1. This endpoint works with any OpenAI-compatible client by updating the base_url variable and providing your API key in the authorization header.
Does this service support image or audio generation?
No. We only provide POST /v1/chat/completions and GET /v1/models. There is no embedding, image, audio, or video generation capability available in this hosted uncensored LLM environment.
How much does the uncensored model cost per token?
It costs $0.15 per 1M input tokens and $0.50 per 1M output tokens. You pay only for actual usage with prepaid credit; errors and refusals do not incur charges.
Can I use the API for streaming responses?
Yes. The API supports streaming via Server-Sent Events. You receive token usage details in the final chunk, allowing real-time text generation while monitoring your credit consumption accurately.
What is the maximum context window size?
The context window supports 100,000 tokens for both prompt and completion combined. The maximum output per request is 16,000 tokens, or 2,048 tokens if you do not set max_tokens.
How do I top up my API credits?
You must use crypto, specifically USDT on TRC20 or USDC on Base. Minimum deposits are $20, and you receive bonus credit starting at +5% for contributions of $50 or more.
Get your key instantly
Register, copy the credential, update the endpoint. That is it.
Claim trial key