Configure DeepInfra model routing with provider auth, model selection, fallback chains, and cost-aware defaults for stable open-source and frontier model workflows.
On first use, read setup.md to align activation boundaries, reliability goals, and routing preferences before making configuration changes.
Use this skill when the user wants to connect an OpenAI-compatible workflow to DeepInfra, choose open-source and frontier models by task type, set safe fallbacks, and control cost drift over time.
Memory lives in ~/deep-infra/. See memory-template.md for structure.
~/deep-infra/
├── memory.md # Active routing profile and constraints
├── providers.md # Confirmed provider and auth choices
├── routing-rules.md # Task -> model and fallback policy
├── incidents.md # Outages, rate limits, and recovery notes
└── budgets.md # Spend guardrails and optimization actions
Use the smallest relevant file for the current task.
| Topic | File |
|---|---|
| Setup and activation preferences | setup.md |
| Memory template | memory-template.md |
| Authentication and provider wiring | auth-and-provider.md |
| Routing patterns by workload | routing-playbooks.md |
| Reliability and fallback handling | fallback-reliability.md |
| Cost controls and spend reviews | cost-guardrails.md |
DEEPINFRA_API_KEY from the local environment, never pasted into logs or chat memory.These endpoints are used only to discover model metadata and execute routed inference requests under explicit user task intent.
| Endpoint | Data Sent | Purpose |
|---|---|---|
| https://api.deepinfra.com/v1/openai/models | none or auth header | Discover current model catalog and metadata |
| https://api.deepinfra.com/v1/openai/chat/completions | user prompt content and selected model id | Execute routed inference requests |
No other data is sent externally.
Data that leaves your machine:
Data that stays local:
~/deep-infra/.This skill does NOT:
~/deep-infra/ for its own state.By using this skill, prompt content is sent to DeepInfra for model execution. Only install if you trust this service with your data.
Install with clawhub install <slug> if user confirms:
api — API request design, payload shaping, and response validation patternsauth — credential handling and auth troubleshooting workflowsmodels — model comparison and selection guidancemonitoring — runtime health checks and incident tracking practicesclawhub star deep-infraclawhub sync