{"_id":"@ai-toolkit/deepinfra","name":"@ai-toolkit/deepinfra","dist-tags":{"latest":"0.1.14"},"versions":{"0.1.14":{"name":"@ai-toolkit/deepinfra","version":"0.1.14","license":"Apache-2.0","sideEffects":false,"main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"dependencies":{"@ai-toolkit/openai-compatible":"0.1.13","@ai-toolkit/provider":"1.0.10","@ai-toolkit/provider-utils":"2.1.11"},"devDependencies":{"@types/node":"^18","tsup":"^8","typescript":"5.6.3","zod":"3.23.8","@khulnasoft/ai-tsconfig":"0.0.0"},"peerDependencies":{"zod":"^3.0.0"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://sdk.khulnasoft.com/docs","repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"keywords":["ai-toolkit"],"scripts":{"build":"tsup","build:watch":"tsup --watch","clean":"rm -rf dist","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --noEmit","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run"},"_id":"@ai-toolkit/deepinfra@0.1.14","description":"The **[DeepInfra provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/deepinfra)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the DeepInfra API, giving you access to models like Llama 3, Mixtra","_integrity":"sha512-Yra+xXe3pNYxwfwlo56VpD6ZdwLyYgFrM7EHPrTllZh7QhyzCgBRVwS+61Xgnev4FZM9D3ql6yzP38Gv2DbO3Q==","_resolved":"/tmp/2524f7bd6a2d5d9df3c9e5fa1b6fe4b7/ai-toolkit-deepinfra-0.1.14.tgz","_from":"file:ai-toolkit-deepinfra-0.1.14.tgz","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Yra+xXe3pNYxwfwlo56VpD6ZdwLyYgFrM7EHPrTllZh7QhyzCgBRVwS+61Xgnev4FZM9D3ql6yzP38Gv2DbO3Q==","shasum":"b080f0bd6daf132dff140222e0fffdcb3c289b65","tarball":"https://registry.npmjs.org/@ai-toolkit/deepinfra/-/deepinfra-0.1.14.tgz","fileCount":9,"unpackedSize":47266,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCQ2S4GrAMww9/p4xv3RLun+4znPMtFHrsqgEeZr6nKdwIgFGIMegHJvGcS2md6j36mU8IAzaJEwP+1OfYqsgP49IA="}]},"_npmUser":{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"},"directories":{},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/deepinfra_0.1.14_1741546702123_0.1692624526126547"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:58:21.976Z","0.1.14":"2025-03-09T18:58:22.323Z","modified":"2025-03-09T18:58:22.656Z"},"maintainers":[{"name":"khulnasoft-lab","email":"iconmamundentist@gmail.com"}],"description":"The **[DeepInfra provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/deepinfra)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the DeepInfra API, giving you access to models like Llama 3, Mixtra","homepage":"https://sdk.khulnasoft.com/docs","keywords":["ai-toolkit"],"repository":{"type":"git","url":"git+https://github.com/khulnasoft/ai-toolkit.git"},"bugs":{"url":"https://github.com/khulnasoft/ai-toolkit/issues"},"license":"Apache-2.0","readme":"# AI TOOLKIT - DeepInfra Provider\n\nThe **[DeepInfra provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/deepinfra)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs)\ncontains language model support for the DeepInfra API, giving you access to models like Llama 3, Mixtral, and other state-of-the-art LLMs.\n\n## Setup\n\nThe DeepInfra provider is available in the `@ai-toolkit/deepinfra` module. You can install it with\n\n```bash\nnpm i @ai-toolkit/deepinfra\n```\n\n## Provider Instance\n\nYou can import the default provider instance `deepinfra` from `@ai-toolkit/deepinfra`:\n\n```ts\nimport { deepinfra } from '@ai-toolkit/deepinfra';\n```\n\n## Example\n\n```ts\nimport { deepinfra } from '@ai-toolkit/deepinfra';\nimport { generateText } from 'ai-toolkit';\n\nconst { text } = await generateText({\n  model: deepinfra('meta-llama/Llama-3.3-70B-Instruct'),\n  prompt: 'Write a vegetarian lasagna recipe for 4 people.',\n});\n```\n\n## Documentation\n\nPlease check out the **[DeepInfra provider documentation](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/deepinfra)** for more information.\n","readmeFilename":"README.md","_rev":"1-a88b1d447517ea5f95d15828ca1bb4bc"}