Skip to main content
Kyma supports the Anthropic Messages API format. If your app uses the Anthropic SDK, just change the base URL and API key.

Python

JavaScript / TypeScript

With system prompt

Streaming

Switching from Claude to Kyma

If you’re already using Claude, the only changes needed are:
Then change the model name:
Kyma models are open-source/open-weight alternatives. They’re different from Claude and use Kyma credits after signup bonus.

Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, reducing costs by up to 90% on subsequent requests. No code changes needed. See Prompt Caching for details.