SandBase
SandBase serves models from several makers behind one OpenAI-compatible API. SandBase models in the LLMTR catalog are called with the sandbase/ prefix on the /v1/chat/completions endpoint. Today there is one row: DeepSeek V4.1 Flash, free until 30 November 2026, 23:59 (TRT).
| Model | Context | Input / Output ($/1M) | Cached input ($/1M) |
|---|---|---|---|
sandbase/deepseek-v4.1-flash-sandbase-free |
1,048,576 | 0.00 / 0.00 | 0.00 |
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "sandbase/deepseek-v4.1-flash-sandbase-free", "messages": [ { "role": "user", "content": "Find the race condition in this function." } ], "max_tokens": 8192 }'Thinking
Section titled “Thinking”By default the model thinks before it answers and returns its chain of thought separately in the reasoning_content field. content carries the final answer. Thinking tokens are output and are counted in completion_tokens; keep max_tokens generous enough to leave room for thinking. On simple questions the model may answer without thinking.
To turn thinking off, send "reasoning": false or add :fast to the end of the model id (sandbase/deepseek-v4.1-flash-sandbase-free:fast). Tool calling and streaming also work with thinking off.
The thinking level cannot be set: a request that sends reasoning_effort is refused with 400, and nothing is taken from your free allowance for it. For models with level control, see Reasoning Effort.
Tool calling
Section titled “Tool calling”The model calls OpenAI-style function tools: tool_choice can be auto, required, none or a named function. It can call several tools in one turn; parallel_tool_calls: false limits it to one call. When you send the tool result back with the tool role, it completes the answer:
curl "$LLMTR_BASE_URL/v1/chat/completions" \ -H "Authorization: Bearer llmtr-your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "sandbase/deepseek-v4.1-flash-sandbase-free", "messages": [ { "role": "user", "content": "What is the weather in Ankara?" } ], "tools": [ { "type": "function", "function": { "name": "get_weather", "description": "Returns the current weather for a city.", "parameters": { "type": "object", "properties": { "city": { "type": "string" } }, "required": ["city"] } } } ] }'Image input
Section titled “Image input”Send an image in an image_url part as a base64 data URL (data:image/png;base64,...). https links are not accepted: such a request is refused with 400, and nothing is taken from your free allowance for it. Audio input is not accepted.
JSON output
Section titled “JSON output”With response_format you can ask for json_object or schema-bound (json_schema, strict: true) output. The model returns valid JSON that follows the schema in the content field.
When requests with the same long prefix (for example the same system message) are sent one after another, the part of the prefix read from the cache shows in the usage.prompt_tokens_details.cached_tokens field.
Free use
Section titled “Free use”sandbase/deepseek-v4.1-flash-sandbase-free is free until 30 November 2026, 23:59 (TRT); it closes earlier if free use ends sooner.
- Daily request allowance: free use is limited by a daily request allowance. When it is used up the request is refused with
429; wait for theRetry-Aftertime. - Busy times: at busy times a request can be refused with
503; try again shortly. - Prompt limit: a prompt above 1,048,576 tokens is refused with
400. The window is shared between input and output. - Output limit: one response can be at most 65,536 tokens; a larger
max_tokensis refused with400. - Ignored fields:
n(every request returns one answer) and"include_reasoning": falseare removed from the request and listed in thellmtr_dropped_parametersfield of the response. - Web search:
web_search_optionsand server-side tools are not available on this row; use your own function tools. - Data: this row is served through a third-party provider and is not one of the models LLMTR hosts in Turkey. Prompts and completions may be logged by the provider.
| HTTP | error.type |
Meaning |
|---|---|---|
| 400 | invalid_request |
reasoning_effort, web search, or a prompt or max_tokens over the limit |
| 400 | unsupported_input |
An image sent as an https link, or audio input |
| 429 | rate_limit_error |
Your daily request allowance is used up; wait for the Retry-After time |
| 503 | model_unavailable |
The model is unavailable right now; try again shortly |
| 410 | model_retired |
The free period has ended; switch to an active model in the catalog |