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 a fraction of the cost. 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 — a fraction of frontier pricing, with $0.50 free credits to start.
Never-die routing
4-layer automatic failover across providers. If one is slow or down, Kyma reroutes — your Anthropic-SDK calls just keep working.
Recommended Models
Drop these model ids into your Anthropic-SDK model field.
Highest overall quality with strong reasoning. The default drop-in when you'd reach for a frontier Anthropic model.
qwen-3.6-plus131K context
262K context, multimodal, top agentic tool use — great for Claude-style agent loops via the Messages API.
kimi-k2.6262K context
Top SWE-bench score globally. Best for complex multi-file coding through Anthropic-compatible tools.
minimax-m2.580.2% SWE-bench
Strong chain-of-thought reasoning at a fraction of frontier cost.
deepseek-v4-proDeep reasoning
Google's open model with the lowest cost per token. Cheap fallback for simple prompts.
gemma-4-31bLowest cost
Switch in 30 Seconds
1. Get your free API key → 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="ky-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: "ky-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="ky-xxxxx" # It now hits Kyma's /v1/messages with open-source models.
curl https://kymaapi.com/v1/messages \
-H "x-api-key: ky-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 free credits on signup. No credit card required.
Get Free API KeyExplore more
Browse the models that power your Anthropic-SDK calls, compare them, and check live rankings.