FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine
charmaineopenaiproxy
Remix of std/openaiproxy
Public
Like
openaiproxy
Home
Code
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
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
1/16/2025
README.md

OpenAI Proxy

This OpenAI API proxy injects Val Town's API keys. For usage documentation, check out https://www.val.town/v/std/openai

Usage Note

We have a 10 req/min per user ratelimiting.

If you're looking to use this proxy at a production capacity, please use your own API key by forking this val and removing this snippet of code (unless you want to ratelimit yourself):

const rlimit = new RateLimit({
  namespace: Deno.env.get("rlimit_namespace"),
  maximum: 10,
  interval: "1m",
});
Get started with a template:
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.