01Where the cost comes from
- The prompt: system instructions, skill guides and chat history, sent again with every request.
- Tool schemas: every tool on offer is sent as text too. Dozens of tools means thousands of tokens.
- The model's answers and working steps, usually priced higher per token than input.
- The model itself. Prices per token can differ by a factor of ten or more between models.
02How SquidWings cuts the cost
| How | What happens |
|---|---|
| Auto mode | Picks the model with the lowest cost per successful answer for how hard the request is. Easy goes to a light model, hard to a strong one |
| Hidden tools | More than 140 toolbox tools are not sent to the model until needed, not even to expensive models |
| Sleeping skills | Contextual guides stay out of the prompt entirely until a request matches them |
| Prompt cache | For Claude providers, the system prompt and the last turn are marked for caching, so long chats are read as cached tokens |
| Budget per turn | One turn is capped at 3 million tokens by default (AGENT_TURN_TOKEN_BUDGET), so a loop cannot drain your credit |
| Visible usage | The Router page shows token use per provider and model |
03Cheap, free or local models
| Option | Notes |
|---|---|
| Ollama or LM Studio | The model runs on your laptop, with no API fees. See local AI |
| OpenRouter | One API key for many models from many providers, including some free models with usage limits |
| Groq | A fast API with a limited free quota |
| 9Router and other routers | One address for many accounts and upstreams, a good fit for key rotation |
Prices and free quotas change often, so check the provider's pricing page before you choose. SquidWings keeps no model names in its code: the model list comes straight from the provider.
04Several API keys in one place
The Router page keeps many API keys per provider and rotates them. A quota that runs out in one model group only rests that group, not the whole account.
05Saving tips
- Use Auto day to day. Lock an expensive model only for tasks that really are hard.
- One job, one chat. A short history means a smaller prompt.
- Say clearly what result you want, so the agent does not go back and forth guessing.
- Use a local model to summarise long documents that do not need a strong model.
06Common questions
Is SquidWings free?
Yes, every feature, under AGPL-3.0. You only pay for API use at the model provider you pick.
Can I use AI without paying anything?
Yes, with local models in Ollama or LM Studio. Document OCR and speech transcription run on your laptop too. Web research and automatic updates still need the internet.
Which cheap model is good for coding?
That changes every month. Auto mode picks from the models your provider has, by difficulty and cost per successful answer, then moves up a tier when a turn fails.
Ready to try it? Follow the install guide. Read also: AI agents, agent harness, Claude Code alternative, local AI.