Skip to main content
Qwenqwen2.5-coder-7b
Context window131,072 tokens
StreamingJSON modeLong contextMultilingual
Maximum output: 8,192 tokens.

Pricing

Typical request (5K input / 1K output tokens): ~$0.0001. Live pricing.

Use this model

Set up your SDK client, then run:

Supported parameters

messagestemperaturemax_completion_tokenstop_pstopfrequency_penaltypresence_penaltyseedstreamuserroutingresponse_format
Send only parameters from this list. routing.require_parameters (default true) skips any provider rail that cannot honor every requested parameter, so requests keep the behavior you asked for.

Routing & fallbacks

Pin qwen2.5-coder-7b with model when you want this model’s behavior, or list it in an ordered models array. With ninja/auto first, the router’s top pick runs first and qwen2.5-coder-7b is the explicit fallback; ninja/auto acts as the router only when it is the first entry.
You are billed at the resolved model’s token rates, and only for the successful execution.
TypeScript SDK
Guides: Text generation · Fallbacks · Smart routing · Pricing · All models