GitHubBook a demoStart routing
FA

Kimi K2p7 Code

Fireworks AIChat262K context· released 2026-06-12Floating alias

fireworks_ai/accounts/fireworks/models/kimi-k2p7-code

Prices as of 2026-07-14 · rev 179affb· unknown is shown as unknown, never $0.00

Cost / request$0.002951K in · 500 out
Input / M$0.95
Output / M$4.00
Cache read / M$0.19
Context262K262,144 tokens
Max output262K262,144 tokens

Pricing

Input · fresh prompt tokens$0.95 / M
Output · generated tokens$4.00 / M
Cache read · cached-input hit$0.19 / M
Cache write · cache creationunknown
Reasoning · thinking tokensunknown

Reasoning tokens: no separate rate is published. Providers typically bill thinking tokens at the output rate ($4.00 / M) — which is what the estimator assumes, so an extended-thinking workload isn't silently undercounted.

Model info

Provider
Fireworks AI
Catalog key
fireworks_ai/fireworks_ai/accounts/fireworks/models/kimi-k2p7-code
Identifier
Floating alias (may re-point over time)
Type
Chat
Max input
262,144 tokens
Max output
262,144 tokens
Released
2026-06-12
Knowledge cutoff
unknown
Weights
Open weights
Price snapshot
2026-07-14 · rev 179affb

Pricing from TokenTriage's resolved price artifact (TokenTriage resolved price artifact (internal/pricing/data/prices.json)); capability + model metadata is third-party (LiteLLM model_prices_and_context_window.json, models.dev). Unknown means unstated, not absent.

Capabilities

4 documented as supported

Input & output

Vision
?PDF input
?Audio input
?Audio output

API behaviour

?Streaming
Structured output
?Prompt caching
Reasoning

Agents & tools

Function calling
?Parallel tool calls
?Web search
?Computer use

supported · not supported ·? not documented · sources disagree. A models.dev tag means the LiteLLM catalog was silent and an independent source supplied the value (lower confidence); ? is never silently turned into a confident ✕.

Estimate a request

disjoint token buckets · input = fresh (uncached) tokens
Preset
Cost / request
Projected / month

How output length drives the bill

at a 1K-token prompt · cost scales linearly with output
$0.14$0.1$0.07$0.03$0066K131K197K262KOutput tokensCost / requestmax outputoutput spend = input spend at ~238 tokensoutput spend overtakes input at ~238

Output tokens overtake input spend at ~238 tokens for this model — past that, generation is your bill, whatever the headline input price says. Computed by the same cost engine as the estimate above.

Route to Kimi K2p7 Code

OpenAI-compatible · one base URL
curl https://YOUR-TOKENTRIAGE-HOST/v1/chat/completions \
  -H "Authorization: Bearer $TOKENTRIAGE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fireworks_ai/fireworks_ai/accounts/fireworks/models/kimi-k2p7-code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Point your existing OpenAI client at your TokenTriage host and pass the catalog key as the model. TokenTriage attributes the real cost per request and can route to a cheaper model once it's proven just as good on your traffic.

Data & API

machine-readable · rev 179affb

Pull this model's pricing, capabilities, benchmarks and cross-source provenance programmatically — every field carries the snapshot rev, and unknown is null, never 0. Free to reuse with attribution: benchmarks & Capabilities Index © Epoch AI (CC-BY (Epoch AI)); human-preference Elo © LMArena (CC-BY-4.0); capability & price cross-check via models.dev v2 (MIT) · Portkey (MIT) · TrueFoundry (MIT); open-weights facts via Hugging Face (per-repo license).

A price is a guess until it meets your traffic.

This page tells you what Kimi K2p7 Code charges per token. TokenTriage tells you what it costs on your real requests — and cuts the bill only after proving a cheaper model is just as good.