OpenAI api pricing: Myths vs Facts
Stop paying monthly fees for AI access when you can pay only for what you actually use. Our uncensored LLM API charges $0.15 per million input tokens and $0.50 per million output tokens, with prepaid credit that never expires.
Last updated
The Myth of Monthly Subscriptions
Monthly subscriptions charge you for availability, not usage. Many providers bill a flat fee regardless of whether you send one request or one million. This model favors heavy users but punishes occasional developers who just need a quick answer.
Our API removes this guesswork. You buy credit once. That credit sits in your account until you use it. There is no monthly clock ticking down. If you stop using the API for six months, your balance remains exactly the same. This transparency means you only pay for compute when you actually need it.
Fact: You Pay Only for Real Tokens
We charge strictly by real token usage. Input tokens cost $0.15 per million. Output tokens cost $0.50 per million. You do not pay for the connection time. You do not pay for the server waiting for your request.
from openai import OpenAI
client = OpenAI(base_url="https://api.openaicodexapi.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)This pricing structure rewards efficiency. If your prompts are concise, your costs drop immediately. The uncensored model handles complex reasoning without hidden per-step fees. You can track every token in your response. This clarity helps you budget accurately for any project size.
The Hidden Cost of Refusals and Errors
Standard APIs often charge you even when the model refuses your request or returns an error. You pay for the token count regardless of the result. This adds up quickly during debugging sessions.
Our system makes errors free. If the model refuses a prompt, you are not charged. If a server error occurs, you are not charged. You only pay when the model successfully generates a response. This saves money during development when you are testing edge cases and boundary conditions. It also means your prepaid credit goes further than on subscription plans.
Fact: Credit That Never Expires
Subscription models force you to renew or lose access. Prepaid credits usually have an expiration date, often 12 months. We remove this pressure. Your credit never expires.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.openaicodexapi.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);You can top up today and use the balance next year. This is ideal for long-term projects or developers who work intermittently. You do not need to monitor a calendar to avoid losing money. The prepaid model combines the predictability of fixed costs with the flexibility of pay-as-you-go. You control your budget completely.
Crypto Top-Ups and Bonus Credits
We accept crypto only for top-ups. You can use USDT on TRC20 or USDC on Base. The minimum amount is $20. The maximum is $500 per transaction. A $50 top-up gives you +5% extra. A $100 top-up gives you +10%. A $200 top-up gives you +15%. This bonus applies to your prepaid balance. It increases your effective purchasing power. You get more tokens for the same crypto amount. The process is fast and direct.
Streaming Costs and Token Counts
Streaming allows you to receive responses token by token. This improves user experience but requires careful token counting. Our API includes token usage in the last chunk of the stream. You can calculate costs in real time.
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)The uncensored model supports a context window of 100,000 tokens. This includes both prompt and completion. The maximum output per request is 16,000 tokens. If you do not set max_tokens, the limit is 2,048 tokens. Streaming helps you manage these limits. You can stop generation early if costs exceed your budget. This control prevents surprise bills.
Rate Limits Don't Mean Higher Prices
Rate limits protect server stability. They do not indicate poor performance. Our API allows 300 requests per minute per key. You can have 8 requests at the same time. The request body limit is 8 MB.
These limits are generous for most use cases. You do not need to pay extra for higher throughput. If you need more concurrency, you can generate a new key. Each account gets one active key. A new key replaces the old one. This flexibility ensures you can scale without changing your pricing tier. The price per token remains constant regardless of volume.
Prepaid vs Postpaid: Which is Cheaper?
Postpaid plans often include minimum monthly fees. You pay even if you use nothing. Prepaid plans charge only for usage. For most developers, prepaid is cheaper.
from openai import OpenAI
client = OpenAI(base_url="https://api.openaicodexapi.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)Consider a developer who sends 10 requests a day. A monthly subscription might cost $20. Over a year, that is $240. With our prepaid model, you might spend only $50. The remaining $190 is yours. You keep it in your account. This difference adds up significantly over time. Prepaid also avoids currency conversion fees if you use crypto. You get exactly what you pay for.
FAQ
What is the openai codex API pricing model?
We charge $0.15 per million input tokens and $0.50 per million output tokens. You pay only for real token usage. Errors and refusals are free. Credit never expires.
Which payment methods do you accept?
Crypto only: USDT on TRC20 or USDC on Base, any whole amount from $20 to $500. Bonus credit applies from $50.
What happens if the API returns an error?
Errors are free. You are not charged for tokens if the request fails. You only pay when the model successfully generates a response. This saves money during debugging.
Can I use this API with the standard OpenAI SDK?
Yes. It is an openai compatible API. You can use the official OpenAI SDKs by changing the base_url to HTTPS://api.openaicodexapi.com/v1. The model id is "uncensored".
Get your API key
Register, copy the key, and update the base URL. That is all.