Standard Integration
Use the official OpenAI SDKs by simply changing the base_url to our endpoint. No custom wrappers or complex setup required.
Uncensored OpenAI-Compatible API
A direct, uncensored LLM API compatible with standard OpenAI SDKs. Replace your base URL and start generating text without content refusals.
Try it in one request
curl https://api.moonshotapi.cc/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.moonshotapi.cc/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.moonshotapi.cc/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);curl https://api.moonshotapi.cc/v1/chat/completions -H "Authorization: Bearer $API_KEY" -d '{"model":"uncensored","messages":[{"role":"user","content":"Hi"}]}'Data: the request log of the API service behind this site, all of its sites together, for 27 Nov 2026 (UTC), successful answers only. The log keeps counts, token sizes and timings, never prompt text or who sent it. The live panels replay that day at real speed: one node or log line is one request made that day at this time of day.
Use the official OpenAI SDKs by simply changing the base_url to our endpoint. No custom wrappers or complex setup required.
The model answers without blocking controversial, adult, or security-research topics. Only sexual content involving minors is strictly refused.
Pay only for tokens used. Errors and refusals are free. Credit never expires and is topped up by crypto (USDT, USDC).
Supports streaming via SSE, function calling (tools), and JSON mode. Access parameters like temperature, top_p, and seed.
Sign up with Google or email to get an API key immediately. No phone number required, and new accounts get $0.50 in trial credit. Claim this credit with one click on your API key page.
Handle long prompts with a 100,000-token context window. Output can run to the end of the window for detailed outputs.
Sign up with Google or email and retrieve your API key instantly.
Point your OpenAI SDK client to https://api.moonshotapi.cc/v1 and set your key.
Make standard chat.completions calls and receive uncensored text responses.
Generate creative stories or articles without hitting artificial safety filters. Ideal for fiction writers needing unrestricted narrative flow.
Run prompts against jailbreak patterns or controversial topics to test model behavior without immediate refusals blocking your analysis.
Use JSON mode and function calling to structure large text outputs for downstream applications. Reliable tool execution with standard parameters.
Test your integration logic with a standard OpenAI-compatible endpoint. Switch your base URL to verify uncensored behavior quickly.
Many developers search for a moonshot api solution that offers true openness without the constraints of major providers. We provide a hosted, OpenAI-compatible chat-completions API serving one uncensored large language model. Text in, text out. Unlike aggregators or infrastructure providers, we offer a straightforward, code-first API for immediate deployment.
Our model is an open-weight model run on our own servers, tuned to answer without content refusals for lawful adult use. It is NOT GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Llama or any other vendor's model. You get a consistent, uncensored experience for your applications.
Integration is trivial. We support the standard OpenAI SDKs used by millions of developers. By changing the base_url to https://api.moonshotapi.cc/v1 and setting your API key, you can use the same client code you already know.
from openai import OpenAI
client = OpenAI(base_url="https://api.moonshotapi.cc/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)We support essential features like streaming via Server-Sent Events (SSE), function calling with tools, and JSON mode for structured outputs. You can control generation parameters like temperature, top_p, stop sequences, and seed. This makes our API a drop-in replacement for many OpenAI-based projects.
Our model does not refuse lawful adult, fictional, security-research, or controversial topics. It is designed to provide direct answers without the typical safety filters that block nuanced or mature content. The only hard content limit that always applies is sexual content involving minors, which is strictly refused.
The model supports a 100,000-token context window, allowing for prompt and completion together to be very long. There is no separate output cap (if max_tokens is not set, the response can run to the end of the window). This is an open-weight model run on our own servers, ensuring consistent performance without vendor lock-in.
This is not for you if you need embeddings, image generation, audio, or video capabilities. We do not offer fine-tuning, OCR, search, or moderation endpoints. We are not an infrastructure provider offering SLA percentages, SOC2/HIPAA/ISO certifications, or on-prem deployment options.
If you need model routing between multiple vendors or a named customer support team, this simple API may not fit your needs. We offer a single uncensored model via standard endpoints. If you need complex enterprise features, look elsewhere. This is a developer-first API for immediate deployment.
Short summaries of public Reddit threads, in our own words. They are not reviews or comments from our users.
r/ClaudeCode · Apr 2026
The author set up a CLAUDE.md file with specific sub-agents and workflows for a personal website project. However, the model ignored these instructions and implemented all phases at once instead of following the defined protocol.
Our noteSubagents, skills and hooks are Claude Code features; our API serves one uncensored text model and does not run your agent workflow.
r/ClaudeAI · Jan 2026
The author notes that Claude often ignores CLAUDE.md files if it deems them irrelevant to the current task. They suggest that including too much non-universal information increases the likelihood of this happening.
Our noteHow Claude Code treats CLAUDE.md is its own behaviour; our service is a model API with a 100,000 token context window.
No. This is an independent guide and service. We are not an official partner, reseller, or product of Moonshot. We provide an OpenAI-compatible API as an alternative that runs the same client code.
We accept top-ups by crypto (USDT on TRC20, USDC on Base). You can top up any whole amount from $20 to $500. Credit never expires. No card is needed to sign up or for the trial.
We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. Errors and refusals are free. You pay for real token usage with prepaid credit.
Yes. You can use the official OpenAI SDKs by changing the base_url to https://api.moonshotapi.cc/v1 and providing your API key. All standard endpoints like /v1/chat/completions are supported.
Yes, new users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No card is needed to sign up with Google or email.
Create an account, copy the key, change the base URL. That is the whole setup.
Practical articles on setup, pricing and integration.
Moonshot API Rate Limit vs Ours: Limits and RetriesWhat a moonshot api rate limit search should compare: our 300 requests per minute, 8 concurrent, 100k context, plus 429 handling code you can copy.
Moonshot API Base URL: Point Your SDK at Our EndpointWhere the moonshot api base url goes in an OpenAI client, plus copy-paste Python, Node and curl setups for api.moonshotapi.cc/v1 and fixes for…
Moonshot AI API Pricing: How to Compare Token CostsHow to read moonshot ai api pricing next to a flat $0.15 input and $0.50 output per 1M token rate, with worked cost examples and a checklist.
Groq API: Common Mistakes and Troubleshooting GuideResolve Groq API issues like rate limits and streaming errors. A practical guide for developers integrating the API. Start debugging now.