EN ▾

Uncensored API. Prepaid tokens only.

https://api.kimicodeapi.com/v1uncensored

Open account

Kimicode vs OpenCode: Which Coding Setup Fits You

Two workbenches, one with a fixed toolbox and one with interchangeable plugs, comparing coding tool flexibility

Kimicode vs OpenCode is mostly a question of lock-in: one coding tool is tied to a single vendor's models, while the other is built to talk to many providers, including any OpenAI-compatible endpoint. This page compares them on the points that decide the choice and shows how to connect either kind of tool to our API.

Last updated

The short answer

If you want the coding assistant built around one vendor's models, with that vendor's account and billing, a vendor-branded tool is the simplest route. If you want to choose or switch providers, including a cheaper hosted model or one that does not refuse lawful adult-fiction tasks, you want a tool with a custom-endpoint setting.

OpenCode is an open-source terminal coding agent that, according to its public documentation, supports many providers and lets you add OpenAI-compatible ones through configuration. A Kimi-branded coding tool is, by design, centred on Moonshot's own models. Features on both sides change often, so treat the comparison below as a framework and confirm details in each project's docs.

One note on what we are: our service is not the official Kimi API and not affiliated with either tool. It is a hosted open-weight model with an OpenAI-compatible endpoint. It fits the second kind of tool.

Comparison on the points that matter

QuestionVendor-tied tool (Kimicode-style)Provider-agnostic tool (OpenCode-style)
Model choiceUsually the vendor's own modelsMany providers, switchable
Custom OpenAI-compatible endpointCheck current docs; often limitedSupported through provider config, per its docs
BillingVendor account, plan or per-tokenWhatever your chosen provider charges
Integration depthTuned to one family of modelsGeneric prompts across models
Switching costHigher: new tool, new habitsLower: change the provider block

We deliberately avoid claims such as "faster" or "smarter". Neither can be stated without benchmarks on your codebase. Run both tools on the same three tasks from your own repository, such as fixing a failing test, adding an endpoint and explaining a module, and compare the results by hand.

Cost control: per-token versus plan pricing

A coding agent sends a lot of text. Every step resends files and history as input, so the input side dominates. This is where the billing model matters more than the tool.

On our API the price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription. A realistic agent session of 40 model calls at an average of 25,000 input tokens and 1,000 output tokens each uses 1,000,000 input tokens ($0.15) and 40,000 output tokens ($0.02), so $0.17 in total. Ten such sessions come to $1.70.

A plan with a fixed monthly fee, on the other hand, gives predictable spend and may include features you cannot buy per token. Which is cheaper depends on how much you code. Our Kimicode pricing breakdown goes through more examples, and the pricing page has the top-up amounts.

Privacy and data handling

Coding tools send source code to a remote model, so check where the code goes. On our service, prompts are not used for training. That is one fact about one provider. For any tool you adopt, read what its vendor and its model provider say about retention and training, because the tool and the model may be run by different companies.

A few habits reduce exposure whichever tool you choose. Keep secrets such as keys and passwords out of files the tool can read, and use an ignore file to keep the agent away from them. Review the list of files a tool plans to send before approving large operations. Give each tool its own API key, so you can revoke one without disrupting the others. On this service, accounts that have topped up can hold up to 5 labelled keys, and a key can be reissued at any time from the key page, which stops the old one immediately.

A fair way to test both tools

Opinions on coding tools are cheap, and the right pick for your team shows up only on your own code. Set up a small, repeatable trial:

  1. Pick three tasks from your backlog. One bug fix with a failing test, one small feature touching two files, and one explanation of an unfamiliar module.
  2. Run each tool on each task from the same clean git branch. Reset between runs so neither tool sees the other's work.
  3. Record time, number of corrections you had to make, and whether the tests pass. Count your own interventions, since they measure how much supervision the tool needs.
  4. Record the token usage. On a per-token API you can read it from the usage field and compute the cost exactly.
  5. Repeat once with a different model behind the same tool if the tool allows it, to separate the effect of the tool from the effect of the model.

That last step is the real advantage of provider-agnostic tools. The agent loop, file editing and diff display stay constant while you swap the model, so you can see whether an issue comes from the interface or from the model's answers. A vendor-tied tool bundles the two, which is convenient but harder to untangle.

Connecting a provider-agnostic tool to our API

The exact config format varies by tool and version, so use this as a pattern and check the tool's documentation. OpenCode, for instance, documents a JSON config where you declare a provider that uses the OpenAI-compatible adapter, set its baseURL and list the models:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "kimicodeapi": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Kimicode API",
      "options": {
        "baseURL": "https://api.kimicodeapi.com/v1"
      },
      "models": {
        "uncensored": { "name": "Uncensored" }
      }
    }
  }
}

Store your key through the tool's own credential command or an environment variable rather than pasting it into a file you commit. Before you wire up any editor tool, confirm the endpoint works on its own:

curl https://api.kimicodeapi.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"uncensored","messages":[{"role":"user","content":"Write a one-line Python hello world."}]}'

For the general base URL rules, see our guide to the API docs.

What to expect from the model

Be realistic about what plugs in. Our service runs a single open-weight text model with a 100,000-token context window. It supports streaming, tool calling and JSON mode, which coding agents rely on. It does not generate images or embeddings. Agentic tools that depend on a specific vendor's tool-call behaviour may need testing, since open-weight models differ in how reliably they follow tool schemas.

A practical approach is to keep the agent's hard tasks on a model you trust and send cheaper, high-volume work, such as test generation, docstrings, boilerplate and code explanation, to a lower-cost endpoint. Provider-agnostic tools make that split a config change.

How to decide

  1. Need one vendor's models and support? Use that vendor's tool.
  2. Want to try several providers or keep costs per token? Use a tool with a custom-endpoint option and test our API on your tasks.
  3. Hit a refusal that blocks legitimate work? A model tuned to answer without content refusals for lawful adult use may help, with the usual rule that sexual content involving minors is never allowed.
  4. Unsure? Claim the $0.50 trial credit on the API key page (7 days, one per person, no card) and run your three benchmark tasks.

Frequently Asked Questions on Pricing

What is the kimicode API pricing? It is $0.15 per million input tokens and $0.50 per million output tokens. Errors are free. Refusals are free. No. You can sign up with Google or email. Top-ups are crypto only. You can use USDT or USDC. The process is simple and secure.

Does credit expire? No. Your prepaid credit never expires. You can use it whenever you need. This is useful for long-term projects. You can pause usage without losing funds. The bonus credit also never expires. This is a key advantage over subscriptions.

How do I get trial credit? Sign up for a new account. You get $0.50 valid for 7 days. This lets you test the API fully. You can run requests and see the cost. It is a great way to evaluate the service before buying.

Comparison with Character.ai and OpenRouter

Character.ai is a chat app, not an API. It has limits and does not allow commercial use easily. OpenRouter routes to many models but charges more. Kimicode offers a dedicated uncensored model at lower costs. You pay per token, not per route.

OpenRouter may charge extra for model switching. Kimicode runs one optimized model. This reduces complexity. You get consistent performance. The cost is lower than most OpenRouter models. Character.ai is for casual users. Kimicode is for developers. You get full control over parameters. You can stream responses. You can use tools. This is a professional API for serious projects.

Common queries

Can OpenCode use a custom OpenAI-compatible API?

According to its public documentation it can, through a provider entry with an OpenAI-compatible adapter and a baseURL. Check the current docs for the exact fields.

Is this service the official Kimi API?

No. It is an independently run, hosted open-weight model with an OpenAI-compatible endpoint and the model ID uncensored.

Do coding agents work with your tool calling?

Tool calling is supported, including streamed tool_calls and role tool results. Test your agent on real tasks, because open-weight models vary in how closely they follow tool schemas.

How much does a coding session cost?

At $0.15 per 1M input and $0.50 per 1M output, a 40-call session with 25,000 input and 1,000 output tokens per call costs about $0.17.

Get your API key in minutes

Register, retrieve your key, and update your base URL. That is the complete configuration.

https://api.kimicodeapi.com/v1

Begin with trial credit

Email and password suffice; key appears instantly.