klingapis.comKling AI API Pricing: What the Text Side Costs
Kling AI API Pricing: What the Text Side Costs
If you searched for kling ai api pricing, one thing first: this site is not Kling, and it does not sell video generation. It sells a text LLM API for the writing steps around such tools, billed per token.

Two different bills in one pipeline
A short AI video or image workflow usually has two kinds of cost. The first is the render: the service that turns a prompt into pixels. For that you need the pricing from the company that runs it, and for anything about kling ai api pricing in the video sense, check their current pricing page. We are not affiliated with them and we do not quote their rates.
The second cost is language work: drafting the prompts, rewriting scripts, writing captions, sorting results, producing variations. That part is plain text and it is cheap per call. This site covers only that part. The model ID is uncensored, the endpoint is OpenAI-compatible, and the meter counts tokens, not clips.
Keeping the two bills apart helps when you budget. Render costs scale with the number of clips and their length. Text costs scale with how much you write and read. A pipeline can spend most of its money on one and almost nothing on the other, and you want to know which.
The price list
| Item | Price |
|---|---|
| Input tokens | $0.15 per 1M |
| Output tokens | $0.50 per 1M |
| Subscription | None, prepaid credit only |
| Failed or refused requests | Not charged |
| Credit expiry | Never |
| Trial | $0.50, valid 7 days, no card |
A token is a piece of a word. As a rough rule for English, one token is about three quarters of a word, so a 500-word page is somewhere near 650 tokens. Other languages and code usually take more. Exact counts depend on the text, so use the usage numbers returned with each response instead of guessing. Output tokens are the ones the model writes; they cost $0.50 per 1M, which is a little over three times the input rate. Long prompts with short answers are the cheapest shape, and long generated stories are the most expensive per call.
The same table is on the pricing page, which is the place to check if anything changes.
Worked examples
The formula is the same each time: input tokens divided by 1,000,000 times $0.15, plus output tokens divided by 1,000,000 times $0.50.
One standard request
Say a request sends 2,000 tokens and gets 500 back. Input: 2,000 / 1,000,000 x $0.15 = $0.0003. Output: 500 / 1,000,000 x $0.50 = $0.00025. Total: $0.00055. A thousand such requests cost $0.55.
Prompt rewriting for a video tool
You turn 20,000 short ideas a month into polished prompts. Each call is 800 tokens in and 300 out. Input: 20,000 x 800 = 16M tokens, which is 16 x $0.15 = $2.40. Output: 20,000 x 300 = 6M tokens, which is 6 x $0.50 = $3.00. Monthly total: $5.40.
Serialised fiction
A story app writes 5,000 chapters a month. Each call carries 6,000 tokens of story so far and returns 2,000 tokens. Input: 5,000 x 6,000 = 30M tokens, so 30 x $0.15 = $4.50. Output: 5,000 x 2,000 = 10M tokens, so 10 x $0.50 = $5.00. Total: $9.50.
A growing chat
A chat resends the whole history every turn. Suppose each exchange adds about 500 tokens, so turn 1 sends 500 tokens, turn 2 sends 1,000, and turn 20 sends 10,000. The inputs sum to 500 x (1 + 2 + ... + 20) = 500 x 210 = 105,000 tokens. With 300 tokens of reply per turn, that is 6,000 output tokens. Input: 0.105 x $0.15 = $0.01575. Output: 0.006 x $0.50 = $0.003. A full 20-turn conversation costs $0.01875, under two cents.
The lesson from the last case: input grows quadratically with chat length because history is resent. Trim or summarise old turns if conversations run long.
Trial credit and top-ups
New users can claim $0.50 of trial credit with one click on the API key page after signing up with Google or with email and password. It is one per person, valid for 7 days, and needs no card. At the standard request size above, $0.50 / $0.00055 is roughly 909 requests, which is plenty to test a prompt chain end to end. A trial key is limited to 2 concurrent requests and 60 requests per minute.
When you want more, top up any whole amount from $20 to $500. Bonuses apply on larger amounts:
| Top-up | Bonus | Credit you receive |
|---|---|---|
| $20 | none | $20.00 |
| $50 | +5% | $52.50 |
| $100 | +10% | $110.00 |
| $200 | +15% | $230.00 |
| $500 | +15% | $575.00 |
At $20, the standard request works out to $20 / $0.00055, about 36,000 requests. You can pay with crypto (USDT on TRC20, USDC on Base). Credit does not expire, so a larger top-up with a bonus does not have to be used up by any date.
Comparing token pricing with per-clip pricing
Token billing and per-clip billing do not compare directly, so convert both to cost per finished asset. Write down the full chain for one deliverable, say a 10-second clip with a caption. Count how many text calls it needs (prompt draft, two rewrites, caption, a quality check), price each with the method above, and add the render fee from your video provider's current pricing. The text share is often a fraction of a cent. That is useful to know, because it tells you that cutting text cost further is rarely worth the effort, while cutting wasted renders is.
The reverse also holds. A good text stage can reduce render spend. A model that writes a tighter, more specific prompt may need fewer retries on the expensive side. If a second rewrite pass costs $0.00055 and it saves one failed render in fifty, whether that wins depends entirely on your render price, which is why it is worth tracking both sides in the same sheet.
For per-user products the same logic applies. If you charge users per generation, compute your text cost per generation from real usage numbers and keep it as a line in your margin calculation. Because you pay only for tokens used and unused credit stays on the account, there is no monthly minimum pulling that line upward in slow weeks.
Keeping the bill small
Token cost is mostly decided by prompt design, not by the rate card. A few habits matter more than any discount.
- Set a sensible output ceiling.
max_tokensis optional, but a ceiling stops a rambling reply from costing ten times what you expected. - Do not resend what you do not need. A 100,000-token window is large. Filling it on every call costs $0.015 in input alone, which adds up across thousands of calls.
- Ask for compact formats. JSON mode with short keys uses fewer output tokens than prose explanations.
- Watch the balance header. Every response includes
X-Balance-USD, so your code can log or alert on remaining credit without a separate request. - Cache your own results. If the same idea is rewritten twice, store the first answer.
Failed or refused requests are not billed, so a retry after a 429 or a refusal does not double your cost. If you want to see how language-model cost compares with the media side of a pipeline, the article on image API trade-offs covers that angle.
Checking your own numbers
Before you commit money, measure instead of estimating. Run a representative batch against the trial credit, then read the usage fields in the responses. A small script is enough:
from openai import OpenAI
client = OpenAI(base_url="https://api.klingapis.com/v1", api_key="YOUR_API_KEY")
IN_PRICE, OUT_PRICE = 0.15, 0.50 # USD per 1M tokens
total = 0.0
for idea in ["a lighthouse in a storm", "a market at dawn", "a train at night"]:
r = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Write a vivid 60-word scene prompt: " + idea}],
)
u = r.usage
cost = u.prompt_tokens / 1e6 * IN_PRICE + u.completion_tokens / 1e6 * OUT_PRICE
total += cost
print(u.prompt_tokens, u.completion_tokens, round(cost, 6))
print("batch cost USD:", round(total, 6))
Multiply the average per-request cost by your expected monthly volume, add a margin, and pick the top-up that covers a month or two. If the number is lower than you expected, that is typical: for text work, tokens are rarely where the money goes. The docs list every parameter, limit and header if you want to tune further.
More guides
Questions and answers
Is this the official Kling API?
No. This is an independent hosted text LLM API. It does not generate video or images and is not affiliated with Kling. For video generation prices, check the provider's current pricing.
How much does one request cost?
It depends on tokens. A request with 2,000 input tokens and 500 output tokens costs $0.00055 at $0.15 and $0.50 per 1M tokens.
Is there a monthly fee?
No. You prepay credit, pay only for tokens used, and the credit never expires.
What is the minimum I can spend?
New users can claim a $0.50 trial. After that, top-ups start at $20 and go up to $500 in whole amounts.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.