
Claude Messages integration
Send standard chat messages through ModKie; the gateway maps the Claude response to the OpenAI chat completion format.

ANTHROPIC
Send multi-turn messages with the same model and gateway as production API calls.
OpenAI-compatible chat/completions request body fields.
| Field | Type | Required |
|---|---|---|
| model | string | Yes |
| messages | { role, content }[] | Yes |
Typical generation previews (actual output varies by prompt).

Core capabilities for this model on the ModKie gateway.

Send standard chat messages through ModKie; the gateway maps the Claude response to the OpenAI chat completion format.
Credits apply per successful chat completion.
Shared API
5 credits / request
≈ $0.03 USD ($0.01 USD/credit at pack rate)
Token-based upstream billing. Kie's API response includes credits consumed; actual cost depends on request usage.
Three steps from API key to your first chat completion.
Create an API key
Create a ModKie API key in Settings.
Send a chat request
Call POST /api/gateway/chat/completions with model claude-sonnet-5-5 and a messages array.
Read the response
Read choices[0].message.content from the OpenAI-compatible response.
Example chat completions request
curl -X POST https://modkie.com/api/gateway/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "kie",
"model": "claude-sonnet-5-5",
"messages": [
{
"role": "user",
"content": "Hello, introduce yourself in one sentence."
}
]
}'Read assistant text from choices[0].message.content in the JSON response. Credits apply per successful completion.
ModKie is more than API relay — deploy, fine-tune, and register custom endpoints on the same gateway.
One API key and jobs contract across marketplace and self-hosted models.
Validate payloads in-browser before shipping to production.
Deploy HuggingFace or custom workers and route traffic through ModKie.
Fine-tune vision models and register weights back into the gateway.
Work with our team on model landing, integration, and production rollout.