Kura API
One API key for the leading AI models: DeepSeek today, with OpenAI, Anthropic, Google Gemini and Kimi coming soon. It speaks the OpenAI API (and the Anthropic Messages API). Every account gets a key and $1 of free usage; after that you pay only for what you use, from your Hillstribe balance.
1. Sign up and verify your email
There's nothing to enable and no approval to wait for: every Hillstribe account gets Kura automatically. When you verify your email address (Google sign-ins are verified already), you get $1 of free Kura usage. The free credit only works for Kura, and it's used before your balance.
2. Copy your API key
Open Products → Kura API. Your first key, named default, is waiting there. Copy it and press I've saved it. After that it's never shown again. Lost it? Revoke it and create a new one under API keys. Give each app its own key (for example laptop or n8n-prod) so you can revoke one without breaking the others. Keys start with sk-. Keep them in an environment variable rather than in code:
export KURA_API_KEY="sk-..."
3. Make your first request
Base URL: https://kura.hillstribe.tech/v1. Send the key as Authorization: Bearer <key>.
curl https://kura.hillstribe.tech/v1/chat/completions \
-H "Authorization: Bearer $KURA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-v4-flash",
"messages": [{"role": "user", "content": "Say hello in Nepali"}]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://kura.hillstribe.tech/v1", api_key=os.environ["KURA_API_KEY"])
r = client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "Say hello in Nepali"}],
)
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://kura.hillstribe.tech/v1", apiKey: process.env.KURA_API_KEY });
const r = await client.chat.completions.create({
model: "deepseek/deepseek-v4-flash",
messages: [{ role: "user", content: "Say hello in Nepali" }],
});
console.log(r.choices[0].message.content);4. Choose a model
Every model name has the form provider/model, such as deepseek/deepseek-v4-pro, anthropic/claude-sonnet-5-5 or openai/gpt-5.4-mini. Put it in the model field of the request body. This works with every SDK and tool.
If a tool can't set the model field, put the model in the URL instead. Slashes are fine:
POST https://kura.hillstribe.tech/v1/deepseek/deepseek-v4-flash/chat/completions
Your dashboard lists the models your account can use, and GET /v1/models returns the gateway catalog. The full list and tips are on Models.
Streaming
Add "stream": true to get tokens as server-sent events, exactly like the OpenAI API.
stream = client.chat.completions.create(
model="deepseek/deepseek-v4-flash",
messages=[{"role": "user", "content": "Write a haiku about the Himalayas"}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)Endpoints
| Endpoint | Use |
|---|---|
POST /v1/chat/completions | Chat (OpenAI format). Streaming, tools and JSON mode all work |
POST /v1/<provider>/<model>/chat/completions | Same, with the model in the URL |
POST /v1/messages | Anthropic Messages format, for any model (used by Claude Code). Also /v1/messages/count_tokens |
POST /v1/responses | OpenAI Responses API |
POST /v1/completions | Legacy text completions |
POST /v1/embeddings | Embeddings (when an embedding model is on your list) |
GET /v1/models | Model catalog |
POST /v1/videos | Seedance video (async): create, then GET /v1/videos/<id> and /content |
For the Anthropic format, use the host without /v1 as the base URL (https://kura.hillstribe.tech). Send the key as Authorization: Bearer or x-api-key.
Pricing & billing
There's no monthly fee. Each request costs the provider's list price plus a small margin (shown on the Kura dashboard page). It's taken from your $1 free credit first, then from your Hillstribe balance. To add funds, top up under Billing (bank transfer or QR in NPR, credited in USD once we confirm it). The dashboard shows your free credit, your balance and usage per model for the current month. It updates about every 5 minutes.
We notify you when you're running low. When the free credit and your balance are both used up, requests stop with budget_exceededuntil your next top-up is confirmed, and then they work again automatically. Parameters a provider doesn't support are dropped quietly instead of causing an error.
Rate limits
Each account has a requests-per-minute and a tokens-per-minute limit. Over the limit you get 429, so retry with backoff (the OpenAI SDKs do this automatically). If you need higher limits, contact support.
Errors
| Status | Meaning | What to do |
|---|---|---|
401 | Missing, invalid, revoked or paused key | Check the Authorization header; create a new key if needed |
403 | Model not enabled for your account | Use a model listed on your Kura dashboard page |
404 | Wrong path | Base URL must end in /v1 exactly once (…/v1/chat/completions) |
422 budget_exceeded | Free credit and balance used up (or email not verified yet) | Verify your email / add funds under Billing |
429 | Rate limit | Retry with backoff |
5xx | Upstream provider error or timeout | Retry; try another model if it persists |
Keep your keys safe
- Use one key per app or machine, so you can revoke one without breaking the others.
- Never put a key in browser or mobile code, or in a public repo. Call Kura from your server.
- If a key leaks, revoke it on the dashboard. It stops working immediately.
Next
Guides
- Models & naming: the full catalog
- DeepSeek guide: thinking mode, tool calls, JSON, caching
- Agent harnesses: Hermes, Claude Code, OpenCode, Aider, Cline, Continue, n8n