HYPERPICK
// DEVELOPER FIELD GUIDE

A connection you can inspect.

Use the HyperPick gateway with your personal provider credentials. Start small, keep control of your limits.

JAVASCRIPT / STREAM A RESPONSE
fetch('/api/chat', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: 'Bearer YOUR_OPENROUTER_KEY'
  },
  body: JSON.stringify({
    model: 'SELECT_FROM_API_MODELS',
    messages: [{ role: 'user', content: 'Hello' }],
    maxTokens: 1024
  })
})

Start with your own connection.

Open Account and connect OpenRouter. Authorize HyperPick on the provider's page, return to the workspace, and choose a model. Requests use your personal provider balance.

Authorization, not a shared password.

The connection flow uses OAuth PKCE with a verifier held by the initiating browser. The provider returns an authorization code to /auth/callback, where the flow completes. Your OpenRouter password stays on OpenRouter.

  • Begin the connection from Account, not by opening the callback URL directly.
  • A provider authorization is separate from a Solana wallet connection.
  • Use the provider's key settings to revoke access.

A streamed answer is a provider response.

The chat route accepts your selected model and messages, then relays the provider stream. An error can arrive before or during streaming. A partial answer is not evidence of a completed request.

  • Model capabilities and prices come from the live catalogue.
  • Provider policies and limits still apply.
  • AI output may be incorrect; verify material claims.

Choose what this browser keeps.

Saving conversations is opt-in. Enabled history stays in this browser and can be cleared locally. Burner excludes its conversation from persistent history. These controls do not delete records held by an upstream provider.

Keep on-chain reads explicit.

The market desk and account views use public data and allowlisted Solana reads. The optional Jupiter interface handles swaps separately and requires wallet approval. A token name or icon is not proof of its network, issuer, or address.

Review before the wallet prompt.

A launch draft is only preparation. Review the supported token creation route, quote asset, amount, fees, and wallet transaction. Only a confirmed on-chain result should be described as launched.

Credit and cash are separate.

Model usage is charged through OpenRouter. The HyperPick merchant recipient is configured for Solana mainnet USDC, but the prepaid gateway and payment-to-credit ledger are not active. Do not send funds to it. Credit pages provide a cost calculator and a link to the connected provider.

API routes

GET /api/models

Reads the available model catalogue and provider-listed metadata used by the model picker.

Public
POST /api/chat

Forwards the selected model and conversation to OpenRouter and streams its response using server-sent events.

Authorization: Bearer <your OpenRouter key>
GET /api/account

Reads the account or key information available for the current OpenRouter authorization.

Authorization: Bearer <your OpenRouter key>
GET /api/markets

Reads public market data for the workspace's supported assets and pairs.

Public
POST /api/rpc

Forwards only the supported read-only Solana JSON-RPC methods. It is not an arbitrary RPC or transaction submission proxy.

Public, restricted methods
GET /api/health

Confirms that the application route responds. It reports upstreamsChecked: false and does not probe providers or execute transactions.

Public
GET /api/status

Returns configured features, request limits, public network settings, payment readiness, and the current catalogue/market cache state.

Public