LongCat-2.5 API

Call LongCat-2.5 through Wokey and review published catalog pricing, upstream-native API forms, context, and model capabilities.

Model ID
longcat-2.5
Vendors
opencode
Supply status
Currently callable

Catalog pricing snapshot

Prices are per 1M tokens; request-time pricing controls settlement.

MeterWokeyOfficial referenceSavings
Input$0.06$0.380%
Output$0.24$1.280%
Cache read$0.0012$0.00680%
Cache write———

Official price source: https://longcat.chat/platform/docs/api-pay-as-you-go

Model capabilities

Context
1,048,576 tokens
Max output
262,144 tokens
Streaming
Supported
Tools
Supported
Vision
Supported
Supported API forms
/v1/chat/completions

Send a request

/v1/chat/completions

curl https://api.wokey.ai/v1/chat/completions \
  -H "Authorization: Bearer $WOKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"longcat-2.5","messages":[{"role":"user","content":"Hello"}]}'

Use LongCat-2.5 in your tools

The gateway is https://api.wokey.ai (OpenAI-compatible clients usually take https://api.wokey.ai/v1), and the model ID is longcat-2.5. Open the guide for the client you use.

Frequently asked questions

How much does the LongCat-2.5 API cost, and how much does it save versus the official API?

Wokey lists input at $0.06 per 1M tokens and output at $0.24 per 1M tokens; the official references are $0.3 and $1.2. That is 80% lower for input and 80% lower for output. Request-time pricing controls settlement, and the vendor pricing source is linked on this page.

What is the LongCat-2.5 API model ID?

The model ID for LongCat-2.5 on Wokey is longcat-2.5. Use it exactly as written in the request body's model field or in your client's model setting (for example ANTHROPIC_MODEL in Claude Code, or model in the Codex CLI config.toml); GET https://api.wokey.ai/v1/models also lists it.

Which API forms does LongCat-2.5 support, and how do I call it through Wokey?

LongCat-2.5 supports /v1/chat/completions (Chat Completions requests). Set the API base URL to https://api.wokey.ai, authenticate with a Wokey API key, and use the canonical model ID longcat-2.5; you can start with /v1/chat/completions. The Send a request section includes a curl example for every supported API form.

How do I use LongCat-2.5 in opencode, Hermes Agent, and similar clients?

These clients call LongCat-2.5 over OpenAI Chat Completions: point the API address at https://api.wokey.ai (clients that expect an OpenAI SDK-style address take https://api.wokey.ai/v1), add your Wokey API key, and use the model ID longcat-2.5. Each client's guide shows its config format.

What are the context window and maximum output for LongCat-2.5?

The catalog context window is 1,048,576 tokens and the maximum output is 262,144 tokens. These are separate limits, and a request must also satisfy the upstream constraints in effect when it is processed.

How are cache reads and cache writes priced for LongCat-2.5?

Cache read: Wokey lists $0.0012 per 1M tokens and the official reference is $0.006 per 1M tokens. Cache write: the vendor does not publish a separate meter, so Wokey also shows — as the public price.

How does calling LongCat-2.5 through Wokey differ from OpenRouter?

Wokey lists LongCat-2.5 at $0.06 input / $0.24 output per 1M tokens, against an official reference of $0.3 / $1.2. OpenRouter states it adds no markup on inference and charges its fee when you buy credits (5.5% by card). Wokey carries a curated set of models and has no per-provider routing parameters, so OpenRouter fits better if you need a wider catalog. The OpenRouter alternative page has the full comparison.

Does LongCat-2.5 support streaming, tool calling, and image input?

Streaming is supported; tool calling is supported; image input is supported. These values come directly from the current runtime model catalog and are not inferred from the model name.

Related models and documentation

Get API key · longcat-2.5