For Every Kind of AI Application

KHaiXAPI Text and Image Model API Relay

Connect to GPT, Claude, Grok, and image models through one Base URL and an OpenAI-compatible API. Manage API Keys, usage, and costs in one console.

  • Pay as You Go Pay only for actual usage
  • Multiple Providers GPT, Claude, Grok, and image generation
  • Usage Records Review tokens, costs, and status
  • Prompts Not Stored Content is used only for the current relay

Model Providers

Choose Models by Brand

Check the console for current model variants, aliases, and prices.

OpenAI

GPT Series

  • gpt-5.6-sol
  • gpt-5.6-terra
  • gpt-5.6-luna
  • gpt-5.5
  • gpt-5.4
OpenAI

Image2 Series

  • gpt-image-2
Anthropic

Claude Series

  • claude-opus-4-6
  • claude-opus-4-7
  • claude-opus-4-8
  • claude-sonnet-5
  • claude-fable-5
xAI

Grok Series

  • grok-4.5
Continuously Expanding

More Models Coming

Check the console for live model names, aliases, and prices View token, image, and multiplier billing details

Model naming references GPT model documentation Claude model documentation Image API documentation

Platform Capabilities

Manage Integration and Usage in One Place

Create a key and start making requests, with records and costs available at any time.

01

Works with Existing Apps

Connect by replacing the Base URL, API Key, and model name.

02

Multiple Model Access

Call multiple models through one endpoint and switch by task.

03

Separate Key Management

Create a separate API Key for each application to distinguish usage.

04

Reviewable Usage Records

Review the model, tokens, cost, and status for every request.

Quick Start

Send Your First Request in Three Steps

Includes cURL, Python, Node.js, LangChain, and Image2 examples.

  1. 01

    Check Available Models

    Open the console and confirm the model name and price.

  2. 02

    Create an API Key

    Create a separate key for the current application.

  3. 03

    Configure and Call

    Enter the Base URL, API Key, and model name, then send a request.

curl https://api.khaix.net/v1/responses \
  -H "Authorization: Bearer $KHAIX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-sol",
    "input": "Summarize these release notes in three bullet points: batch export, team permissions, and audit logs."
  }'

Use Cases

Connect Your AI Applications

Use one endpoint and choose the right model for each task.

CODE

AI Coding and Development Tools

For code generation, review, refactoring, and AI coding tools.

TXT

Content and Long-Text Processing

For summarization, rewriting, extraction, and document analysis.

BOT

Conversations and Customer Support

Connect websites, knowledge bases, and business systems.

OPS

Automated Workflows

Handle repetitive tasks with scripts and internal tools.

FAQ

What to Know Before Connecting

Integration, keys, billing, and data-handling boundaries.

What is KHaiXAPI?

KHaiXAPI is a relay service for AI applications and clients that support custom APIs. It lets you manage keys, request logs, and usage in one console.

Can I connect an existing OpenAI SDK directly?

Yes. Set the client's base_url to https://api.khaix.net/v1, then use an API Key created in the console and an available model name.

Does the platform view or store my prompt data?

No. Prompts and model responses are used only to relay the current request and are not written to KHaiXAPI's business storage. The platform retains only the request time, model, token usage, cost, and request status required for billing.

Which GPT, Claude, Grok, and image models are currently supported?

GPT, Claude, and Grok text models and the OpenAI gpt-image-2 image model are supported. Check the console for current model variants, aliases, permissions, and prices.

Can different applications use different API Keys?

Yes. Creating a separate key for each application is recommended so you can distinguish usage and troubleshoot issues.

Where can I find configuration guides?

The documentation includes setup instructions for Codex CLI, Claude Code, OpenCode, Hermes, Cherry Studio, Open WebUI, and common SDKs. Open the documentation.