Switch fromOpenRouter.
Change the base URL, the API key and the model id. The rest of the code stays. The balance is in Rupiah, topped up with QRIS from Rp1,000.
import osfrom openai import OpenAI client = OpenAI( base_url="https://openrouter.ai/api/v1", base_url="https://kenari.id/v1", api_key=os.environ["OPENROUTER_API_KEY"], api_key=os.environ["KENARI_API_KEY"],) reply = client.chat.completions.create( model="deepseek/deepseek-v4.1-flash", model="deepseek-v4-1-flash", messages=[{"role": "user", "content": "Hello"}],)What changes
Rupiah, QRIS from Rp1,000
openrouter.ai/api/v1kenari.id/v1
The Anthropic SDK and Claude Code use https://kenari.id without /v1
OPENROUTER_API_KEYKENARI_API_KEY
One key for every model
deepseek/deepseek-v4.1-flashdeepseek-v4-1-flash
Lowercase with hyphens, no vendor prefix. The list is at /v1/models
models and providerNamed routes
Set them up in Provider & Rute, then send the route name as model
:free:free
No balance needed, with a daily request limit
Provider
Your key or subscription (ChatGPT, Claude, SuperGrok) is billed Rp0
HTTP-Referer and X-TitleNot needed
Prices in Rupiah
| Most used per vendor, 7 days | Input /1M | Output /1M | Cache read /1M | Coding agent requests |
|---|---|---|---|---|
| Free models | Usable without a balance, with a daily request limit | |||
One coding agent request: 136,000 prompt tokens (97% from cache) and 900 output tokens, at the price billed for a prompt that size.
Every model and pricePaste to your agent
For Claude Code, Cursor, OpenCode and other agents.
Read https://kenari.id/llms.txt first. This project calls OpenRouter through an OpenAI-compatible SDK. Move it to kenari: set the base URL to https://kenari.id/v1, read the API key from the KENARI_API_KEY environment variable, and replace each OpenRouter model id with the matching kenari id from https://kenari.id/v1/models. Keep the key out of the code and leave the rest of the request code as it is.
Where is the list of kenari model ids?
Do streaming and tool calling still work?
Are prices in Rupiah?
Do the provider, models and route fields still work?
What if a provider has trouble?
Start free.
Free models to start · no credit card