Documentation Index
Fetch the complete documentation index at: https://docs.logic.inc/llms.txt
Use this file to discover all available pages before exploring further.
Model Override
By default, Logic automatically routes your agent execution to the optimal model based on your agent’s requirements. However, you can bypass this routing and explicitly specify which model and reasoning level to use by adding themodel query parameter.
Available Models
Themodel parameter accepts a model identifier in the format {model}:{reasoning_level}.
| Provider | Model Overrides |
|---|---|
| OpenAI GPT-5.1 | gpt-5.1:none, gpt-5.1:minimal, gpt-5.1:low, gpt-5.1:medium, gpt-5.1:high |
| OpenAI GPT-5.2 | gpt-5.2:none, gpt-5.2:minimal, gpt-5.2:low, gpt-5.2:medium, gpt-5.2:high |
| Gemini 3 Flash | gemini-3-flash:default, gemini-3-flash:low, gemini-3-flash:medium, gemini-3-flash:high |
| Gemini 3.1 Pro | gemini-3.1-pro:default, gemini-3.1-pro:low, gemini-3.1-pro:high |
| Groq | groq-llama-4:default, groq-gpt-oss:default |
| Cerebras | cerebras-gpt-oss:default |
Reasoning Levels
The reasoning level controls how much “thinking” the model does before responding:- none/default — Standard response without extended reasoning
- minimal — Light reasoning for simple tasks
- low — Basic reasoning for straightforward problems
- medium — Moderate reasoning for complex tasks
- high — Maximum reasoning for the most challenging problems
Higher reasoning levels may increase latency and cost but can improve accuracy for complex tasks.
Capability Validation
When using a model override, Logic validates that your chosen model supports your agent’s requirements. If your agent requires capabilities the model doesn’t support, you’ll receive a400 InvalidModelOverride error.
| Capability | OpenAI | Gemini | Groq | Cerebras |
|---|---|---|---|---|
| PDF Processing | Supported | Supported | Llama only | Not supported |
| Office Documents | Supported | Supported | Llama only | Not supported |
| Image Processing | Supported | Supported | Llama only | Not supported |
| Audio Processing | Not supported | Supported | Not supported | Not supported |
| HIPAA Compliance | Not supported | Supported | Not supported | Not supported |
| Tool Usage | Supported | Not supported | Supported | Supported |
?model=gpt-5.1:low, the request will fail because OpenAI models don’t support audio processing.
Example Usage
Below are examples showing how to specify a model override when executing an agent.Error Handling
If you specify an invalid model or a model that doesn’t support your agent’s requirements, you’ll receive a400 InvalidModelOverride error:

