A drop-in
Anthropic-compatible API
Keep the official Anthropic SDK or Claude Code. Just point base_url at Kyma and run the best open-source models through the same /v1/messages API: at published per-model rates. No code rewrite.
Same Messages API
Kyma implements the Anthropic /v1/messages shape. The official Python & TypeScript SDKs work unchanged: only base_url changes.
Open models, lower cost
Run Qwen, Kimi, DeepSeek, MiniMax and more through Anthropic-shaped requests: pay per use, with $0.50 of signup credit for eligible free-tier models after email verification.
Automatic fallback
For eligible failures, Kyma API tries another compatible route when available. Requests can still fail.
Recommended Models
Drop these model ids into your Anthropic-SDK model field.
Supports reasoning, tool use, vision input. Compare current prices and measured uptime on the model page.
qwen-3.6-plusReasoning
Supports reasoning, tool use, vision input. Compare current prices and measured uptime on the model page.
kimi-k2.6Reasoning
Supports reasoning, tool use. Compare current prices and measured uptime on the model page.
minimax-m2.5Reasoning
Supports reasoning, tool use, vision input. Compare current prices and measured uptime on the model page.
gemma-4-31bReasoning
Switch guide
1. Create account → 2. Change base_url to https://kymaapi.com → 3. Keep your existing Anthropic code.
from anthropic import Anthropic
# Point the official SDK at Kyma: only base_url + key change.
client = Anthropic(
api_key="kyma-xxxxx", # your Kyma key
base_url="https://kymaapi.com", # Kyma is Anthropic-compatible
)
msg = client.messages.create(
model="qwen-3.6-plus", # any Kyma model id
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(msg.content[0].text)import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: "kyma-xxxxx",
baseURL: "https://kymaapi.com", // drop-in Anthropic-compatible
});
const msg = await client.messages.create({
model: "qwen-3.6-plus",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello" }],
});
console.log(msg.content[0].text);# Any tool that reads the standard Anthropic env vars # (Claude Code, Cline's Anthropic mode, custom scripts): export ANTHROPIC_BASE_URL="https://kymaapi.com" export ANTHROPIC_API_KEY="kyma-xxxxx" # It now hits Kyma's /v1/messages with open-source models.
curl https://kymaapi.com/v1/messages \
-H "x-api-key: kyma-xxxxx" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "qwen-3.6-plus",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hello"}]
}'Keep your Anthropic code: swap the backend
$0.50 signup credit for eligible free-tier models after email verification. No card required.
Create accountExplore more
Browse the models that power your Anthropic-SDK calls, compare them, and check live rankings.