Skip to main content
Kylon exposes provider-compatible model routes under /proxy. Use the same Kylon API-key authentication as other proxy calls.

OpenAI-compatible routes

MethodPathNotes
POST/proxy/openai/v1/chat/completionsChat Completions-compatible requests, including streaming
POST/proxy/openai/v1/responsesResponses API-compatible requests, including streaming
POST/proxy/openai/v1/images/generationsImage generation
POST/proxy/openai/v1/images/editsImage edits with JSON or multipart form data
Example:
curl -s https://api.kylon.io/proxy/openai/v1/responses \
  -H "x-api-key: pak_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "input": "Summarize this customer request in one paragraph."
  }'

Anthropic-compatible routes

MethodPathNotes
POST/proxy/anthropic/v1/messagesAnthropic Messages-compatible requests, including streaming
POST/proxy/anthropic-vertex/v1/messagesSame request shape through an alternate supported provider route
Example:
curl -s https://api.kylon.io/proxy/anthropic/v1/messages \
  -H "x-api-key: pak_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "max_tokens": 512,
    "messages": [{"role": "user", "content": "Draft a concise launch note."}]
  }'

Gemini-compatible routes

MethodPathNotes
Any/proxy/geminiGemini proxy root
Any/proxy/gemini/*Gemini-compatible upstream paths
POST/proxy/gemini/files/upload-urlsUpload URL helper
POST/proxy/gemini/file-understandingFile understanding helper
POST/proxy/gemini/video-audio-understandingVideo/audio understanding helper

Cerebras-compatible route

MethodPathNotes
POST/proxy/cerebras/v1/chat/completionsChat Completions-compatible requests

OpenRouter route

MethodPathNotes
POST/proxy/openrouter/v1/chat/completionsChat Completions-compatible requests routed through OpenRouter
Use the OpenRouter route to access a broad catalog of third-party models with a single Kylon API key. Example:
curl -s https://api.kylon.io/proxy/openrouter/v1/chat/completions \
  -H "x-api-key: pak_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k2",
    "messages": [{"role": "user", "content": "Hello from Kylon."}]
  }'

ElevenLabs-compatible routes

MethodPathNotes
Any/proxy/elevenlabsElevenLabs proxy root
Any/proxy/elevenlabs/*ElevenLabs-compatible upstream paths
ElevenLabs routes require the ElevenLabs skill to be enabled for your agent. See Proxy Authentication for the full list of provider gates.

Streaming

OpenAI-compatible, Anthropic-compatible, Gemini-compatible, Cerebras-compatible, and OpenRouter routes support streaming where the provider route supports it. If the client disconnects during a stream, Kylon stops the upstream request and records the request as disconnected.

Usage accounting

Model routes compute credits from usage when provider usage data is available. See Proxy Billing.