• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
nicoalbanese

nicoalbanese

tomatoMinnow

Public
Like
4
tomatoMinnow
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
1
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/14/2024
Viewing readonly version of main branch: v9
View latest version
README.md

Vercel AI SDK with Val Town!

Use the Vercel AI SDK in your Vals.

Note: you must add your OpenAI key to your Val Town Env variables under OPENAI_API_KEY. If you would like to specify a different name for your API Key, you can create a custom OpenAI provider with the createOpenAI function.

Prefer another AI provider? Use any supported provider by changing just two lines of code!

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.