K-AI API

Feel free to AI

The completely free AI proxy. No signup. No keys. Just code.

Chat Completion

Send a message and get a response from the best available AI.

POST /v1/chat/completions
Parameters
message Your prompt(required)

Example Request
curl https://kiwa001-kai-api-gateway.hf.space/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"model": "gemini-3-flash", "messages": [{"role": "user", "content": "Hello!"}]}'

Note: Get your API key from the dashboard above. Dashboard requests don't require authentication.

Try It Live

List Models

Get all currently available AI models.

GET /models

Returns a JSON list of all models supported by the API, ranked by quality.

Try It Live

Web Search & Research

Reverse-engineered web search and deep content gathering. Requires API key (free, no token deduction).

POST /search
Endpoints
  • /search: Standard web search (Links)
  • /deep_research: Deep content gathering (Scraper)
Parameters
query Search topic(required)

Example Request
curl -X POST https://kiwa001-kai-api-gateway.hf.space/search \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"query": "Machine Learning", "limit": 5}'

Note: Web searches are free but require an API key.

Try It Live

Check Your API Usage

Enter your API key to see your current token usage and remaining quota.