EN ▾
Chatgptapipricing

Developer-first uncensored API

ChatgptapipricingOpen account

Uncensored api quickstart guide

Drop our OpenAI-compatible API into your existing codebase to generate text without content filters. You pay strictly by token usage with no monthly subscriptions or hidden fees.

Prerequisites and base URL

Start by sending requests to our dedicated base URL. We provide a single uncensored model ID that works with standard OpenAI SDKs.

  • Base URL: https://api.chatgptapipricing.com/v1
  • Model ID: uncensored

You need an API key from the dashboard. The endpoint supports standard chat completions only.

Auth header configuration

Include your API key in the Authorization header for every request. Use the Bearer scheme to authenticate your account.

  • Header: Authorization: Bearer YOUR_API_KEY

Keep this key secure. You can generate a new key at any time from your account settings.

Sending your first chat completion

Make a POST request to /v1/chat/completions with your system and user messages. The API returns a text response based on your prompt.

Input tokens cost $0.15 per 1M tokens. Output tokens cost $0.50 per 1M tokens. Errors do not consume credit.

curl https://api.chatgptapipricing.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Calculate the total tokens for this input string"}]
  }'

Handling streaming responses

Enable streaming by setting stream: true in your request. The API sends server-sent events (SSE) for real-time token delivery.

Each chunk contains partial text. The final chunk includes total token usage for billing transparency.

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.chatgptapipricing.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)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.chatgptapipricing.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);

Get your key instantly

Sign up, copy your key, update the base URL. That’s it.

Open accountView documentation