EN ▾

Uncensored OpenAI-compatible API for developers

Get API key
llamaapi.cc

Pay per token

Llama API pricing is transparent and strictly usage-based: $0.15 per million input tokens and $0.50 per million output tokens. You preload credit via crypto, and your actual spend can never exceed the balance you loaded.

Top-ups from $20 to $500, any whole amount. Bonus credit: +5% from $50, +10% from $100, +15% from $200.

per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Cost calculator

$0.00

Worked examples

Code review assistant

Processing a 32,000-token commit history and generating a 2,000-token summary. Input cost: 0.032 * $0.15 = $0.0048. Output cost: 0.002 * $0.50 = $0.001. Total: $0.0058 per review.

Long-form creative writing

Providing 10,000 tokens of story context and generating a 16,000-token chapter. Input cost: 0.010 * $0.15 = $0.0015. Output cost: 0.016 * $0.50 = $0.008. Total: $0.0095 per chapter.

Data extraction pipeline

Sending 50,000 tokens of raw text to extract structured JSON and receiving 5,000 tokens of output. Input cost: 0.050 * $0.15 = $0.0075. Output cost: 0.005 * $0.50 = $0.0025. Total: $0.01 per batch.

Token Pricing

Our llama api pricing structure is straightforward and designed for predictability. You pay strictly for the tokens processed, with input tokens costing $0.15 per million and output tokens costing $0.50 per million. Errors and refusals do not consume your balance, so you only pay for successful completions. This model eliminates the risk of paying for unused capacity or inflated baseline fees. Because the uncensored model is hosted exclusively on our servers, these rates apply to every request without hidden surcharges for specific features like function calling or streaming.

Crypto Payments

We support a streamlined prepaid credit system. You can top up your account by crypto (USDT (TRC20) or USDC (Base)). We accept any whole dollar amount between $20 and $500. There are no monthly subscriptions and no annual commitments. When you load credit, it is applied immediately to your account balance. This prepaid model ensures that your usage can never exceed the funds you have explicitly loaded, providing strict budget control for your development projects.

Bonus Credits

To maximize your API budget, we offer bonus credits on larger top-ups. Loading between $50 and $99 grants a +5% bonus, while loading $100 or more grants a +10% bonus. These bonuses are added to your prepaid balance and can be used for standard token consumption. This structure rewards higher-volume developers by effectively lowering the cost per million tokens. There is no expiration on your prepaid credit, meaning you can accumulate bonus credits over time without worrying about them expiring before you use them.

Included with every key

No tiers: every key gets the full feature set and the same limits.

FeatureSupport
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Max context100,000 tokens, input and output combined
Tools / tool callsSupported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages
JSON modeJSON object mode via response_format json_object
Rate limit300 requests per minute per key
Concurrencyup to 8 in parallel per key
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
Top-upcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Credit expiryno monthly fee; paid credit does not expire
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Bonus credit+5% on $50+, +10% on $100+, +15% on $200+

All limits and error codes are listed in the docs.

Questions and answers

Does prepaid credit expire?

No, your prepaid credit never expires. Whether you use the base amount or the bonus credits, the balance remains available in your account indefinitely until you choose to consume it via API requests.

How do I get started with the trial?

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. You can access this by signing up with Google or an email and password; no credit card is required. The trial credit is deducted from your balance exactly like any other token usage.

What happens if I make a mistake or get double-charged?

Since credit is prepaid and does not expire, we do not offer refunds for consumed tokens. However, if you experience a billing error, such as a double charge for a single top-up, you can resolve it through our Support page. We will review the transaction and adjust your balance accordingly.

Do I pay for failed requests?

No, you only pay for successful completions. If a request results in an error or a refusal, those tokens are not deducted from your balance. This ensures you are only charged for the actual text output your application receives.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.