kimi-k3 API pricing

kimi-k3 on InferSpeed: $1.80 input, $9.00 output, $0.18 cache read per 1M tokens, 40% below the official list price. OpenAI- and Anthropic-compatible API, pay per token.

Price (USD per 1M tokens)

InputOutputCache read
Price$1.80$9.00$0.18
Official list price$3.00$15.00—

40% below the official list price.

Endpoints

APIBase URL
OpenAI Chat Completions (/chat/completions)https://api.inferspeed.ai/v1
OpenAI Responses (/responses)https://api.inferspeed.ai/v1
Anthropic Messages (/v1/messages)https://api.inferspeed.ai

Authentication: Authorization: Bearer $INFERSPEED_API_KEY (x-api-key also works).

FAQ

How much does the kimi-k3 API cost?

InferSpeed charges $1.80 per 1M input tokens, $9.00 per 1M output tokens and $0.18 per 1M cache-read tokens (USD), billed per token from a prepaid balance. The official list price is $3.00 input / $15.00 output, so this is 40% below the official list price.

Which APIs can I call kimi-k3 with?

The price list names these APIs for kimi-k3: OpenAI Chat Completions (POST https://api.inferspeed.ai/v1/chat/completions), OpenAI Responses (POST https://api.inferspeed.ai/v1/responses) and Anthropic Messages (POST https://api.inferspeed.ai/v1/messages). Authentication: Authorization: Bearer $INFERSPEED_API_KEY (x-api-key also works).

Which API key do I need for kimi-k3?

One API key calls every live model, kimi-k3 included. New here? Sign up at https://inferspeed.ai/register first, then create a key at https://inferspeed.ai/keys and name the model in the request. Each request is billed at the price of the model that served it.

Which environment variables do I set for kimi-k3?

Copy and paste:

export INFERSPEED_API_KEY="YOUR_API_KEY"
# Claude Code, Anthropic SDKs
export ANTHROPIC_BASE_URL="https://api.inferspeed.ai"
export ANTHROPIC_AUTH_TOKEN="$INFERSPEED_API_KEY"
# OpenAI SDKs, OpenAI-compatible tools
export OPENAI_BASE_URL="https://api.inferspeed.ai/v1"
export OPENAI_API_KEY="$INFERSPEED_API_KEY"

Do not add /anthropic or /v1/messages after ANTHROPIC_BASE_URL: the client appends /v1/messages itself. The key variable is spelled exactly INFERSPEED_API_KEY.

Can I try kimi-k3 for free?

New InferSpeed accounts get $1 of free credit when they sign up with GitHub or Google (no card; valid 3 days): sign up at https://inferspeed.ai/register, then create a key at https://inferspeed.ai/keys. At $9.00 per 1M output tokens, $1 is about 111K output tokens of kimi-k3.

How do I call kimi-k3?

Set the model explicitly in the request:

curl https://api.inferspeed.ai/v1/chat/completions \
  -H "Authorization: Bearer $INFERSPEED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k3",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
curl https://api.inferspeed.ai/v1/messages \
  -H "x-api-key: $INFERSPEED_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k3",
    "max_tokens": 512,
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'

What happens if I request a model my key cannot call?

A live model is always served as written. Any other name, such as an agent default (claude-*, gpt-*, codex-*, o*, gemini-*, grok-*), a model not on sale yet or a typo, is routed to a live model (glm-5.3, then kimi-k3) instead of failing. The model field and the X-Served-Model header name the model that served the request (the name you sent is in X-Model-Routed-From), and you are billed at that model's price. You get an error instead only with X-Model-Strict: 1, for a name of the key's own vendor that it does not serve, for a name longer than 64 characters, or when the key has no live routing target.

More

Setup for Claude Code, Codex CLI, OpenCode and SDKs: /developers.md. All models and prices: /model-plaza. Prices as JSON: /api/v1/public/pricing.

Related models