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
/
Code
/
Search
main.tsx
https://charmaine--3eab7002252311f0b0e0569c3dd06744.web.val.run
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",
});
HTTP
  • main.tsx
    charmaine--3e…44.web.val.run
Code
README.md
H
main.tsx
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.