DeepSeek V4 Pro
DeepSeek's strongest model. It thinks before it answers, which makes it good at code, multi-step tool use and long agent runs, at a fraction of the price of other frontier models.
At a glance
| Detail | Value |
|---|---|
| Model name (use exactly this) | deepseek/deepseek-v4-pro |
| Context window | 1M (1,048,576) |
| Max output | 384K (393,216) |
| Price per 1M input tokens | $1.72 (less for cached input) |
| Price per 1M output tokens | $5.15 |
| Base URL (OpenAI format) | https://kura.hillstribe.tech/v1 |
| Base URL (Anthropic format) | https://kura.hillstribe.tech |
| API key | Your Kura key (sk-…) from Products → Kura API |
Prices include the Kura margin and are taken from your $1 free credit first, then your Hillstribe balance.
Good for
- Coding agents (Claude Code, OpenCode, Aider, Cline)
- Hermes and OpenClaw agents
- Long, multi-step tasks with tools
- Hard reasoning, analysis and planning
Good to know
- Always reasons before answering. The reasoning comes back as reasoning_content, next to the normal content.
- With tool calls, send each assistant message back unchanged (including reasoning_content and tool_calls), or DeepSeek returns 400.
- Repeated prompt text (system prompt, long history) is cached by DeepSeek and billed at a much lower price, which keeps agents cheap.
- temperature and top_p are ignored while it reasons.
Set it up in your app
Pick your tool. Every example below already uses deepseek/deepseek-v4-pro. Put your key in an environment variable instead of in the file where you can:
export KURA_API_KEY="sk-..."
curl
curl https://kura.hillstribe.tech/v1/chat/completions \
-H "Authorization: Bearer $KURA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "deepseek/deepseek-v4-pro", "messages": [{"role": "user", "content": "Hello!"}]}'curl https://kura.hillstribe.tech/v1/messages \
-H "Authorization: Bearer $KURA_API_KEY" \
-H "anthropic-version: 2023-06-01" -H "content-type: application/json" \
-d '{"model": "deepseek/deepseek-v4-pro", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello!"}]}'Python (OpenAI SDK)
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-pro",
messages=[{"role": "user", "content": "Explain Kubernetes in one paragraph"}],
)
print(r.choices[0].message.content)Streaming: add stream=True and loop over the chunks. Tools, JSON mode and async (AsyncOpenAI) work as usual.
Node.js (OpenAI SDK)
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-pro",
messages: [{ role: "user", content: "Explain Kubernetes in one paragraph" }],
});
console.log(r.choices[0].message.content);Vercel AI SDK
import { createOpenAICompatible } from "@ai-sdk/openai-compatible";
import { generateText, streamText } from "ai";
const kura = createOpenAICompatible({
name: "kura",
baseURL: "https://kura.hillstribe.tech/v1",
apiKey: process.env.KURA_API_KEY,
});
const { text } = await generateText({ model: kura("deepseek/deepseek-v4-pro"), prompt: "Write a haiku about the Himalayas" });
// Streaming (e.g. in a Next.js route handler)
const result = streamText({ model: kura("deepseek/deepseek-v4-pro"), prompt: "Tell me a story" });
return result.toTextStreamResponse();LangChain
import os
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(model="deepseek/deepseek-v4-pro", base_url="https://kura.hillstribe.tech/v1", api_key=os.environ["KURA_API_KEY"])
print(llm.invoke("What is RAG?").content)import { ChatOpenAI } from "@langchain/openai";
const llm = new ChatOpenAI({
model: "deepseek/deepseek-v4-pro",
apiKey: process.env.KURA_API_KEY,
configuration: { baseURL: "https://kura.hillstribe.tech/v1" },
});
console.log((await llm.invoke("What is RAG?")).content);LlamaIndex
import os
from llama_index.llms.openai_like import OpenAILike
llm = OpenAILike(
model="deepseek/deepseek-v4-pro",
api_base="https://kura.hillstribe.tech/v1",
api_key=os.environ["KURA_API_KEY"],
is_chat_model=True,
is_function_calling_model=True,
context_window=1048576,
)
print(llm.complete("What is a vector index?"))CrewAI
CrewAI routes through LiteLLM, which needs an openai/ prefix for OpenAI-compatible endpoints:
import os from crewai import Agent, LLM llm = LLM(model="openai/deepseek/deepseek-v4-pro", base_url="https://kura.hillstribe.tech/v1", api_key=os.environ["KURA_API_KEY"]) researcher = Agent(role="Researcher", goal="Find facts", backstory="Careful and concise", llm=llm)
OpenAI Agents SDK
import os
from agents import Agent, Runner, OpenAIChatCompletionsModel, set_tracing_disabled
from openai import AsyncOpenAI
set_tracing_disabled(True) # tracing would upload to OpenAI with your Kura key
kura = AsyncOpenAI(base_url="https://kura.hillstribe.tech/v1", api_key=os.environ["KURA_API_KEY"])
agent = Agent(
name="helper",
instructions="You are concise.",
model=OpenAIChatCompletionsModel(model="deepseek/deepseek-v4-pro", openai_client=kura),
)
print(Runner.run_sync(agent, "Plan a 3-day trek near Kathmandu").final_output)Claude Code
Kura also speaks the Anthropic Messages API, so Claude Code can run on deepseek/deepseek-v4-pro. Put this in your user settings (not a project's .claude/settings.json, which gets committed):
{
"env": {
"ANTHROPIC_BASE_URL": "https://kura.hillstribe.tech",
"ANTHROPIC_AUTH_TOKEN": "sk-...your Kura key...",
"ANTHROPIC_MODEL": "deepseek/deepseek-v4-pro",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek/deepseek-v4-pro",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek/deepseek-v4-pro",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek/deepseek-v4-flash",
"CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS": "1"
}
}The base URL has no /v1. The Haiku model handles background tasks such as titles. Run /statusinside Claude Code to check. Anthropic doesn't support Claude Code on non-Claude models, so some features (images, server-side web search) may not work. More in the harness guide.
OpenCode
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"kura": {
"npm": "@ai-sdk/openai-compatible",
"name": "Kura",
"options": { "baseURL": "https://kura.hillstribe.tech/v1", "apiKey": "{env:KURA_API_KEY}" },
"models": {
"deepseek/deepseek-v4-pro": { "name": "DeepSeek V4 Pro (Kura)" },
"deepseek/deepseek-v4-flash": { "name": "DeepSeek V4 Flash (Kura)" }
}
}
},
"model": "kura/deepseek/deepseek-v4-pro",
"small_model": "kura/deepseek/deepseek-v4-flash"
}Start opencode and switch models any time with /models.
Aider
Aider needs an openai/ prefix in front of the Kura model name:
export OPENAI_API_BASE=https://kura.hillstribe.tech/v1 export OPENAI_API_KEY=$KURA_API_KEY aider --model openai/deepseek/deepseek-v4-pro --weak-model openai/deepseek/deepseek-v4-flash
A warning about unknown context size or price is harmless: Kura bills real usage.
Cline / Roo Code / Kilo Code (VS Code)
- Open the extension's settings and set API Provider to OpenAI Compatible.
- Base URL:
https://kura.hillstribe.tech/v1 - API Key: your Kura key
- Model ID:
deepseek/deepseek-v4-pro - Optional: set Context Window Size to 1,048,576.
Continue (VS Code / JetBrains)
name: Kura
version: 1.0.0
schema: v1
models:
- name: DeepSeek V4 Pro (Kura)
provider: openai
model: deepseek/deepseek-v4-pro
apiBase: https://kura.hillstribe.tech/v1
apiKey: ${{ secrets.KURA_API_KEY }}
roles: [chat, edit, apply]Cursor
- Open Cursor Settings → Models.
- Under API Keys, paste your Kura key as the OpenAI API Key.
- Turn on Override OpenAI Base URL and enter
https://kura.hillstribe.tech/v1. - Click Add model, enter
deepseek/deepseek-v4-proand switch it on. Pick it in the chat model menu.
Your own key works in Cursor's chat and agent. Tab completion always uses Cursor's own models. While the override is on, OpenAI models in Cursor also go to Kura, so switch it off to use them through Cursor again.
Zed
{
"language_models": {
"openai_compatible": {
"Kura": {
"api_url": "https://kura.hillstribe.tech/v1",
"available_models": [
{
"name": "deepseek/deepseek-v4-pro",
"display_name": "DeepSeek V4 Pro (Kura)",
"max_tokens": 1048576,
"capabilities": { "tools": true, "images": false, "parallel_tool_calls": false, "prompt_cache_key": false }
}
]
}
}
}
}Then open the Agent Panel settings, enter your Kura key under Kura, and pick the model in the Agent Panel.
Hermes Agent
Hermes hosted by Hillstribe
On your Hermes instance card, set AI to Kura. We create a key for the instance and configure Hermes for you, so there is nothing to paste. To use deepseek/deepseek-v4-pro, run /model deepseek/deepseek-v4-pro in Hermes, or set it as default below.
Self-hosted Hermes
model:
provider: custom
base_url: https://kura.hillstribe.tech/v1
api_key: ${KURA_API_KEY}
default: deepseek/deepseek-v4-proPut KURA_API_KEY=sk-... in ~/.hermes/.env and check with hermes status.
OpenClaw
OpenClaw hosted by Hillstribe
Set AI to Kura on the instance card. The kura provider and its key are configured for you. Pick kura/deepseek/deepseek-v4-pro as the model.
Self-hosted OpenClaw
{
"models": {
"providers": {
"kura": {
"baseUrl": "https://kura.hillstribe.tech/v1",
"apiKey": "${KURA_API_KEY}",
"api": "openai-completions",
"models": [{ "id": "deepseek/deepseek-v4-pro", "name": "DeepSeek V4 Pro (Kura)" }]
}
}
},
"agents": { "defaults": { "model": { "primary": "kura/deepseek/deepseek-v4-pro" } } }
}Set KURA_API_KEY in the gateway's environment and restart it.
Open WebUI
- Go to Admin Panel → Settings → Connections.
- Next to OpenAI API, click +. URL
https://kura.hillstribe.tech/v1, key: your Kura key. Save. - Open WebUI loads the models your key can use. Pick
deepseek/deepseek-v4-proin a new chat.
LibreChat
endpoints:
custom:
- name: "Kura"
apiKey: "${KURA_API_KEY}"
baseURL: "https://kura.hillstribe.tech/v1"
models:
default: ["deepseek/deepseek-v4-pro"]
fetch: true
titleConvo: true
titleModel: "deepseek/deepseek-v4-flash"Add KURA_API_KEY to LibreChat's .env and restart it.
Cherry Studio
- Settings → Model Provider → Add, name it Kura, type OpenAI.
- API Key: your Kura key. API Host:
https://kura.hillstribe.tech(Cherry adds/v1/chat/completionsitself). - Click Add under Models and enter
deepseek/deepseek-v4-pro.
Chatbox
- Settings → Model Provider → Add a custom provider with API mode OpenAI API Compatible.
- API Host:
https://kura.hillstribe.tech/v1, API Key: your Kura key. - Add the model
deepseek/deepseek-v4-proand select it.
n8n
n8n hosted by Hillstribe
Set AI to Kura on the instance card. An OpenAI credential pointing at Kura is created for you.
Any n8n
- Credentials → New → OpenAI. API Key: your Kura key. Base URL:
https://kura.hillstribe.tech/v1. - In an AI Agent or Basic LLM Chain node, add an OpenAI Chat Model with this credential.
- Set Model to By ID:
deepseek/deepseek-v4-pro.
Dify
- Settings → Model Provider, install OpenAI-API-compatible, then Add Model.
- Model type LLM, model name
deepseek/deepseek-v4-pro, API key: your Kura key, API endpoint URLhttps://kura.hillstribe.tech/v1. - Context size 1,048,576, Function calling: Tool Call, Stream function calling: Support.
Flowise
- Add a ChatOpenAI Custom node and create an OpenAI credential with your Kura key.
- Model Name:
deepseek/deepseek-v4-pro - Under Additional Parameters, set BasePath to
https://kura.hillstribe.tech/v1.
Any other app
If an app lets you use “OpenAI-compatible”, “custom OpenAI” or “OpenAI with a custom base URL”, it works with Kura:
| Field | Value |
|---|---|
| Base URL / API host / endpoint | https://kura.hillstribe.tech/v1 |
| API key | Your Kura key |
| Model | deepseek/deepseek-v4-pro |
Apps that add /v1 themselves want https://kura.hillstribe.tech instead. A 404 almost always means /v1 is missing or doubled. Other errors are explained on the quickstart.