Models
Model IDs, token limits, parameters and prices for Cabeza, the model that FunkyRouter serves.
FunkyRouter serves one model, Cabeza.
Use cabeza-latest
Send cabeza-latest as the model ID. This alias always points to the current Cabeza version. To keep the same version, send the version ID, for example cabeza-beta-20261121.
Cabeza
| Property | Value |
|---|---|
| Model ID (recommended) | cabeza-latest |
| Current version ID | cabeza-beta-20261121 |
| Base model | Thinking Machines Lab Inkling 2 Mini, the unmodified 4-bit MLX build. It is not a fine-tune. |
| License | Apache-2.0 |
| Context window | 1,048,576 tokens |
| Maximum output | Up to the context window, less the prompt. No default. |
| Input | Text and images. See Images. |
| Output | Text |
| Endpoints | POST /v1/chat/completions, POST /v1/responses |
| Streaming | Yes |
| Tool calling | Chat completions only. See Tool calling. |
The response model field shows the ID that you sent.
Token limits
The context window includes the prompt and the output. The gateway counts prompt tokens with the Cabeza tokenizer and chat template. Tool definitions, tool history and images are part of the prompt.
- The context window is the only limit on the output. A request can ask for any output that fits in the window with its prompt.
- If you do not set a maximum output, the request can use all of the window that the prompt leaves. There is no default.
- The prompt plus the maximum output must not be more than 1,048,576 tokens.
- If a request is too long, the API returns HTTP 400 before it reserves credit.
- The gateway reserves credit for the maximum output that you ask for. A request without a maximum output reserves credit for the remainder of the window, up to approximately $0.47. Set a maximum output to reserve less.
Stream long prompts and long answers
Set "stream": true when the prompt is more than 131,072 tokens. If you do not, the API returns HTTP 400. Also stream long answers. A response that is not streamed sends nothing until it is complete. The connection can close after approximately 100 seconds.
Long prompts
A very long prompt takes time before the first token. A full 1,048,576-token prompt can take more than 10 minutes. A request stops after 2 hours. The gateway then ends the output and charges for the output that the node made.
Supported parameters
| Parameter | Range |
|---|---|
max_completion_tokens or max_tokens | 1 to the context window, less the prompt. No default. Send one, not both. |
temperature | 0 to 2 |
top_p | 0 to 1 |
tools | Up to 64 functions |
tool_choice | "auto" or "none" |
parallel_tool_calls | true or false, with tools only |
The API does not support stop, n, seed, logprobs, response_format, reasoning_effort or penalty fields. If you send one, the API returns HTTP 400.
Prices
| Item | Price (USD) |
|---|---|
| Input tokens | $0.12 per million |
| Output tokens | $0.45 per million |
| Charge per request | None |
FunkyRouter counts credit in micro-dollars ($0.000001). It rounds the input cost and the output cost up to the next micro-dollar. Then it adds the two values.
Image tokens are billed as input tokens. Before it sends a request to a node, the gateway reserves credit for the prompt and the maximum output. After the request, FunkyRouter charges the measured tokens and releases the remainder. For how cancelled and failed requests are billed, see Errors and limits.
Get the catalog from the API
GET /v1/models returns the model list, the limits and the prices. It needs an inference key. The list has one entry for cabeza-latest and one entry for the version ID.
curl https://api.funkyrouter.ai/v1/models \
--header "Authorization: Bearer $FUNKYROUTER_API_KEY"Each entry has context_window_tokens, max_output_tokens, supported_parameters and pricing. The API is the source of truth for these values. If the gateway is not ready, the list is empty.
GET /v1/pricing returns the current prices. It does not need a key.
curl https://api.funkyrouter.ai/v1/pricingLast updated on