r/kilocode•
dezinnho

Embeddings endpoint not available in Kilo Gateway?

## Embeddings endpoint not available in Kilo Gateway?

I'm trying to use the Kilo Gateway for embeddings generation (building a RAG system with ChromaDB), but I'm getting a 400 error:

```json

{"error":"Invalid path","message":"This endpoint only accepts the path '/chat/completions'."}

```

**What I'm doing:**

```bash

curl -X POST https://api.kilo.ai/api/gateway/embeddings \

-H "Authorization: Bearer $KILO_API_KEY" \

-H "Content-Type: application/json" \

-d '{"model":"openai/text-embedding-3-small","input":"test"}'

```

**Questions:**

  1. Does Kilo Gateway support the `/embeddings` endpoint, or only `/chat/completions`?

  2. If embeddings are supported, what's the correct endpoint/format?

  3. Should I use OpenRouter directly instead for embeddings?

I found some documentation mentioning embeddings support, but it seems to reference Vercel AI Gateway rather than Kilo Gateway specifically. Any clarification would be appreciated!

Thanks!

Posted Feb 16, 2026, 8:31 PM UTC

22
Loading comments…