LiteLLMModels

Kimi K2p7 Code Fast API Pricing

As of October 10, 2026, Kimi K2p7 Code Fast costs $1.90 per 1M input tokens and $8.00 per 1M output tokens on Fireworks AI, with cache reads at $0.38 per 1M tokens. It has a 262,144-token context window and returns up to 32,768 tokens per response.

By Moonshot AIModel ID fireworks_ai/kimi-k2p7-code-fastPrices updated Checked
Deprecated: Fireworks AI lists August 27, 2026 as the deprecation date for fireworks_ai/kimi-k2p7-code-fast.
Input
$1.90 / 1M tokens
Output
$8.00 / 1M tokens
Cache read
$0.38 / 1M tokens
Context window
262,144 tokens
Max output
32,768 tokens
Providers
1
Added to LiteLLM
June 2026

Kimi K2p7 Code Fast pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readContext
Fireworks AIfireworks_ai/kimi-k2p7-code-fast$1.90$8.00$0.38256K
Fireworks AIfireworks_ai/accounts/fireworks/routers/kimi-k2p7-code-fast$1.90$8.00$0.38256K

What Kimi K2p7 Code Fast costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Fireworks AI$7.80

100 long-document requests with 100,000 input and 2,000 output tokens each

Fireworks AI$20.60

Kimi K2p7 Code Fast features

Use Kimi K2p7 Code Fast with LiteLLM

Call Kimi K2p7 Code Fast through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="fireworks_ai/kimi-k2p7-code-fast",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: kimi-k2p7-code-fast
    litellm_params:
      model: fireworks_ai/kimi-k2p7-code-fast
      api_key: os.environ/FIREWORKS_AI_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "kimi-k2p7-code-fast",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Kimi K2p7 Code Fast FAQ

How much does Kimi K2p7 Code Fast cost?

Kimi K2p7 Code Fast costs $1.90 per 1M input tokens and $8.00 per 1M output tokens on Fireworks AI, with cache reads at $0.38 per 1M tokens.

What is the context window of Kimi K2p7 Code Fast?

Kimi K2p7 Code Fast has a 262,144-token context window and returns up to 32,768 tokens per response.

Which providers offer Kimi K2p7 Code Fast?

Kimi K2p7 Code Fast is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/kimi-k2p7-code-fast.

How do I call Kimi K2p7 Code Fast with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="fireworks_ai/kimi-k2p7-code-fast", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Kimi K2p7 Code Fast support?

Kimi K2p7 Code Fast supports function calling, structured output, image input and reasoning.

When did LiteLLM add Kimi K2p7 Code Fast?

Kimi K2p7 Code Fast was added to LiteLLM's model price file in June 2026.

Is Kimi K2p7 Code Fast being deprecated?

Fireworks AI deprecated fireworks_ai/kimi-k2p7-code-fast on August 27, 2026.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Fireworks AI.

Provider pages: Fireworks AI.