New York University
Example apps
Five small applications built on the Archway. Each one runs entirely in your browser, asks for your own key, and is a single git clone away from being yours to change - no build step, no package manager, no framework.
Before you open one
One thing worth knowing, because it is a real trade-off.
These apps have no backend. The key you paste lives in the page, which means it is exposed to that page in a way a key sitting in a server environment variable is not. That is a deliberate trade for a demo you can read end to end, and it is not how a production application should hold a key.
So: issue a separate key with a small quota for trying these, and never paste a key you use anywhere else. The key is kept only for the browser tab you are in - closing it forgets the key - and every call is metered against your own allowance, so there is a natural ceiling on what a demo can spend.
A demo key is built for precisely this: it expires on its own, it cannot spend past $5.00, and it is not the key you use anywhere else.
Archway Chat
A streaming chatbot in one HTML file.
The shortest path from a key to a conversation. Pick any model in the catalogue, watch the answer stream in token by token, and see exactly what the call cost underneath it.
Streaming SSE Multi-turn context System prompts
Archway Compare
The same prompt, every vendor, side by side.
Fans one question out to a model from each service at once and races them in parallel columns, with tokens and latency per answer. This is the thing no single-vendor SDK can demonstrate: one key, every vendor.
Concurrent calls Cross-vendor Cost comparison
Archway Tutor
A study partner that will not just tell you the answer.
A Socratic tutor with a three-tier hint ladder and a deliberate refusal to finish your problem for you. The system prompt is printed on the page, because reading it is most of the lesson.
Prompt design Guided learning Conversation state
Paper Analyzer
Paste an abstract, get a structured critique.
Breaks a paper down into claim, method, sample, findings and stated limitations - then adds the section that makes it useful: what a careful reader would expect the abstract to say and it does not.
Structured JSON Long context Critical reading
Archway Flashcards
Lecture notes in, a reviewable deck out.
Turns notes or a reading into a deck you can actually sit down and review, with keyboard-driven grading and an Anki-ready CSV export so the deck outlives the demo.
Structured JSON Spaced repetition CSV export
Make one your own
Every example is a complete, dependency-free starting point.
Clone any of them, open index.html, and start editing. There is nothing to install and nothing to compile - the whole app is one HTML file, one stylesheet and two scripts, and the shared client (assets/archway.js) is the same file in all five.
If you deploy your own copy somewhere, note that the new origin needs adding to NYU_CORS_ALLOWED_ORIGINS on this gateway before the browser will let it call /v1. Talk to the Archway team. A server-side application needs no such thing, and should hold its key server-side.