> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepInfra

> DeepInfra examples: basic agent runs, JSON output, tool use, and retries.

| Example                                                         | Description                                                                                           |
| --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [DeepInfra Basic](/examples/models/deepinfra/basic)             | Run DeepSeek V3 on DeepInfra with synchronous, asynchronous, and streaming responses.                 |
| [DeepInfra JSON Output](/examples/models/deepinfra/json-output) | Generate a MovieScript Pydantic object from a DeepInfra phi-4 agent with output\_schema.              |
| [Retry](/examples/models/deepinfra/retry)                       | Review retry settings and why invalid model IDs cannot reliably exercise the retry path.              |
| [Tool Use](/examples/models/deepinfra/tool-use)                 | Add web search to a DeepSeek V3 agent on DeepInfra and stream synchronous and asynchronous responses. |
