{"name":"@ai-sdk/openai","version":"2.0.20","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"},"./internal":{"types":"./dist/internal/index.d.ts","import":"./dist/internal/index.mjs","module":"./dist/internal/index.mjs","require":"./dist/internal/index.js"}},"dependencies":{"@ai-sdk/provider":"2.0.0","@ai-sdk/provider-utils":"3.0.5"},"devDependencies":{"@types/node":"20.17.24","tsup":"^8","typescript":"5.8.3","zod":"3.25.76","@vercel/ai-tsconfig":"0.0.0"},"peerDependencies":{"zod":"^3.25.76 || ^4"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"homepage":"https://ai-sdk.dev/docs","repository":{"type":"git","url":"git+https://github.com/vercel/ai.git"},"bugs":{"url":"https://github.com/vercel/ai/issues"},"keywords":["ai"],"scripts":{"build":"pnpm clean && tsup --tsconfig tsconfig.build.json","build:watch":"pnpm clean && tsup --watch","clean":"rm -rf dist *.tsbuildinfo","lint":"eslint \"./**/*.ts*\"","type-check":"tsc --build","prettier-check":"prettier --check \"./**/*.ts*\"","test":"pnpm test:node && pnpm test:edge","test:update":"pnpm test:node -u","test:watch":"vitest --config vitest.node.config.js","test:edge":"vitest --config vitest.edge.config.js --run","test:node":"vitest --config vitest.node.config.js --run"},"_id":"@ai-sdk/openai@2.0.20","description":"The **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.","_integrity":"sha512-6cBQpb6Sh5pCthSb/rGhIAsVq3EfHYKtFmeYapsBpILMkWI2DiIOajpEVe9DWCQaqTjXglZdbQsxSFJoaWlNQQ==","_resolved":"/tmp/386d0bc3a019dbb5a8c10b99338a3cc1/ai-sdk-openai-2.0.20.tgz","_from":"file:ai-sdk-openai-2.0.20.tgz","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"shasum":"accc1b54c9fd57f51801e79baef4c597ea1a8b78","size":265665,"noattachment":false,"key":"/@ai-sdk/openai/-/@ai-sdk/openai-2.0.20.tgz","tarball":"http://registry.cnpm.dingdandao.com/@ai-sdk/openai/download/@ai-sdk/openai-2.0.20.tgz"},"_npmUser":{"name":"vercel-release-bot","email":"infra+release@vercel.com"},"directories":{},"maintainers":[{"name":"matheuss","email":"me@matheus.top"},{"name":"matt.straka","email":""},{"name":"vercel-release-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openai_2.0.20_1756108613370_0.4291394200029468"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-25T07:56:53.579Z","publish_time":1756108613579,"_source_registry_name":"default","_cnpm_publish_time":1756108613579,"dist-tags":{"ai-v5":"2.0.100","ai-v6":"3.0.46","alpha":"2.0.0-alpha.15","beta":"4.0.0-beta.13","canary":"2.0.0-canary.20","latest":"3.0.47","snapshot":"0.0.0-01d6317c-20260129172110"}}