new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

AI SDK · Providers · all subjects

respan/options

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Respan gateway routing base URL and API key

To use Respan as a unified gateway, point any AI SDK provider at https://api.respan.ai/api with your RESPAN_API_KEY. Provider-specific keys are managed in Respan; only the Respan key is needed at runtime.

Respan gateway routing OpenAI code example

import { createOpenAI } from '@ai-sdk/openai'; import { generateText } from 'ai'; const provider = createOpenAI({ apiKey: process.env.RESPAN_API_KEY!, baseURL: 'https://api.respan.ai/api', }); const result = await generateText({ model: provider('gpt-4.1-nano'), prompt: 'Tell me a joke about AI', experimental_telemetry: { isEnabled: true }, });

Respan gateway routing base paths for multiple providers

When using Respan as a gateway, use base URL https://api.respan.ai/api for OpenAI models. For Anthropic models, append /api/anthropic to the base URL. For Google models, append /api/google/gemini to the base URL. Use the respective AI SDK providers (createAnthropic, createGoogleGenerativeAI) with the matching base path.

Give your agent this brain