by OpenAIReleased May 28, 2023
openai/gpt-4OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...
| Billed for | You pay |
|---|---|
| Input tokens | $36.00 / 1M |
| Output tokens | $72.00 / 1M |
$36.00 per million input tokens and $72.00 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.11.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id openai/gpt-4. The token's AI credit pays for each call.
Up to 8,191 tokens of context, and up to 4,096 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "openai/gpt-4", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});| Provider | Answered, 24 h |
|---|---|
| Azure | 100% |
| OpenAI | 99.7% |