DeepInfra
DeepInfra examples: basic agent runs, JSON output, tool use, and retries.
| Example | Description |
|---|---|
| DeepInfra Basic | Run DeepSeek V3 on DeepInfra with synchronous, asynchronous, and streaming responses. |
| DeepInfra JSON Output | Request JSON from DeepInfra phi-4 and validate it locally as a MovieScript. |
| Retry | Review retry settings and why invalid model IDs cannot reliably exercise the retry path. |
| Tool Use | Add web search to a DeepSeek V3 agent on DeepInfra and stream synchronous and asynchronous responses. |